* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

@media (max-width: 1200px) {
    main div.recent {
        flex-wrap: wrap;
        padding: 1%;
        flex-direction: column;
        align-items: center;
    }
    

    div.recent #article {
        margin: 30px 20px;
        margin-top: 110px;
        min-width: 350px;
        width: 80%;
    }

    div.recent div.last {
        margin: 30px 20px;
        min-width: 350px;
        width: 80%;
    }
    #rightside,
    #leftside {
        display: none;
    }

    div#recent #main {
        justify-content: center;
    }

    #recent div.last ul {
        flex-direction: column;
    }

    #maintext p {
        font-size: 20px;
    }

    body div#mobile {
        display: flex;
    }

}

@media (max-width: 1000px) {
    header p,
    body header ul {
        display: none;
    }
}

header {
    display: flex;
    height: 100px;
    align-items: center;
    border-bottom: 1px solid rgb(206, 206, 206);
    background-color: aliceblue;
    position: fixed;
    width: 100%;
    top: 0;
    z-index:99;
}

header h2 {
    margin-left: 25px;
    font-size: 45px;
    font-family: "Bevan";
}

i {
    font-size: 25px;
}

header p {
    margin-left: auto;
    margin-right: 30px;
    color: gray;
    cursor: pointer;
}

body ul,
header ul {
    display: flex;
    list-style: none;
    height: 100%;
}

header ul {
    margin-left: auto;
    margin-right: auto;
}

ul li {
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 200ms ease-in;
}

ul li:hover,
.active-toc-link {
    background-color: rgb(169, 250, 250);
}

ul li a {
    text-decoration: none;
    color: black;
    font-size: 30px;
    font-family: "Tilt Warp";
    margin-left: auto;
    margin-right: auto;
}

body {
    background-color: rgb(190, 190, 190);
}

div.recent {
    padding-top: 130px;
    /*padding: 130px;*/
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-left: 3%;
    padding-right: 3%;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: black;
}

#article h3 {
    font-size: 60px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

#article h3.subtitle {
    text-align: left;
    font-size: 50px;
    margin-bottom: 10px;
}

#article p.date {
    color: gray;
    font-size: 20px;
}

#article p {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#article #description {
    font-size: 20px;
    color: rgb(71, 71, 71);
}

#article img {
    width: 100%;
    border-radius: 20px;
    padding-top: 5px;
}

#article #maintext {
    padding-top: 20px;
    font-size: 30px;
}

#article h2 {
    font-family: "Tilt Warp";
    text-decoration: underline;
    font-size: 30px;
    color: rgb(29, 24, 24);
    margin-top: 10px;
}

#maintext p {
    padding-bottom: 10px;
    display: inline-block;
}

div#article {
    width: 65%;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    margin: 20px 30px;
    min-width: 550px;
}

div.last {
    text-align: center;
    background-color: white;
    min-width: 450px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 30px;
}

a.recposts img{
    height: 200px;
}

div.last ul {
    display: flex;
    flex-direction: row;
}

div.last ul li {
    width: 100%;
    border-radius: 20px;

}

.last h3,
.allposts h3 {
    font-size: 100%;
    font-family: "Tilt Warp";
    text-align: center;
}

.last p,
.allposts p {
    text-align: center;
    font-size: smaller;
}

div#Feedback {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 184, 184, 0.6);
    justify-content: center;
    align-items: center;
}

div#Feedback form{
    background-color: gray;
    padding: 20px;
    border-radius: 20px;
    width: 33%;
    height: 27%;
    position: relative;
}

div#Feedback form textarea{
    font-size: 20px;
    height: 100%;
    width: 100%;
    background-color: rgb(198, 228, 255);
    padding: 5px;
    border-radius: 20px;
}

div#Feedback form button.close-button {
    background: 0;
    border: 0;
    position: absolute;
    cursor: pointer;
    font-size: 18px;
    right: 6px;
    top: 5px;
}

div#Feedback form button {
    font-size: 20px;
    position: absolute;
    right: 4%;
    padding: 5px;
    border-radius: 20px;
}

div.allposts {
    margin-top: 100px;
    margin-left: 3%;
    margin-right: 3%;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 50px;
    padding-bottom: 30px;
}

div.allposts ul {
    margin: 0 30px;    
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

div.allposts h2 {
    margin-bottom: 20px;
    padding-top: 30px;
    text-align: center;
    width: 100%;
    font-size: 50px;
}

div.allposts ul li a {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

div.allposts li img {
    height:200px; /* oder eine andere feste Höhe */
    width: 100%; /* passt sich der Breite des Containers an */
    object-fit: contain; /* behält die Proportionen bei, ohne das Bild zu beschneiden */
}

div.allposts li {
    width: 30%;
    margin: 10px;
    background-color: rgb(192, 192, 192);
    border-radius: 20px;
}

#justsend {
    height: 85%
}

#dankeundso {
    display: none;
    color: rgb(247, 36, 36)
}

#maintext #pic1 {
    width: 20%;
    display: inline-block;
}

#main {
    display: flex;
    justify-content: space-between; /* Verteilt die Flex-Items mit maximalem Abstand */
    align-items: flex-start;
}
  
#aricle {
    flex-grow: 1; /* Erlaubt dem Element, verfügbaren Platz zu nutzen */
    text-align: center; /* Zentriert den Text innerhalb des Elements */
}

.sidemap {
    z-index: 10;
    position: sticky;
    top: 120px;
    margin-top: 600px;
    width: 25%;
}

#rightside,
#leftside {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

#rightside h2,
#leftside h2 {
    text-align: center;
}

#rightside ul,
#leftside ul {
    display: flex;
    flex-direction: column;
}

#rightside ul li,
#leftside ul li {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid gray;
}

#commall {
    width: 45%;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    margin: 20px 30px;
    min-width: 550px;
}

#commall #comments p {
    background-color: rgb(149, 192, 230);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 20px;

}

#commall #comments p small {
    font-size: 15px;
    color: rgb(41, 41, 41);
}

#ps {
    color: rgb(60, 108, 138);
    font-size: 25px;
}

form#comment-form {
    display: flex;
    width: 100%;
    justify-content: center;
}

#comment-form input,
#comment-form textarea,
#comment-form button {
    margin-right: 10px;
    border-radius: 20px;
    padding: 5px;
    height: 60px;
}

#comment-form textarea {
    width: 50%;
}

#commall form#comment-form button {
    margin: 0;
    background-color: rgb(132, 209, 109);
}

div#mobile {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(126, 126, 126, 0.6);
    justify-content: center;
    align-items: center;
}

div#overlaydetails {
    background-color: rgb(104, 80, 80);
    padding: 20px;
    border-radius: 20px;
    width: 60%;
    height: 40%;
    position: relative;
    text-align: center;
    font-size: 150%;
}

div#overlaydetails button {
    color: red;
    background-color: rgb(58, 143, 182);
    border-radius: 20px;
    margin-top: 10px;
    font-size: 20px;
}


.comment {
    margin-bottom: 20px;
}
  
.reply-form {
    margin-top: 10px;
    margin-left: 30px;
}

.reply-form input,
.reply-form textarea,
.reply-form button {
    margin-right: 10px;
    border-radius: 20px;
    padding: 5px;
    height: 40px;
    margin-bottom: 10px;
}

#reply-form textarea {
    width: 50%;
}

#commall form.reply-form button {
    margin: 0;
    background-color: rgb(132, 209, 109);
}


div.reply {
    padding-left: 30px;
}

div.comment p button {
    position: relative;
    float: right;
    border: 0;
    size: 5px;
    cursor: pointer;
    background-color: rgb(149, 192, 230);
}

#commall #comments .reply p {
    margin-bottom: 5px;
    font-size: 16px;
}

#pics img{
    max-width: 800px;
    width: 50%;
    padding: 5px;
    object-fit: contain;
}

#pics {
    display: flex;
    margin: 20px;
    background-color: white;
    border-radius: 20px;
    padding: 20px;
}

#picQ {
    display: flex;
    flex-wrap: wrap;
}

#picH img{
    width: 100%;
}