* {
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: 1000px) {
    main div.recent {
        flex-wrap: wrap;
        padding: 1%;
        flex-direction: column;
        align-items: center;
    }
    header p,
    body header ul {
        display: none;
    }
    div.recent a.mostr {
        margin: 30px 20px;
        margin-top: 110px;
        min-width: 350px;
        width: 80%;
    }

    div.recent div.last {
        margin: 30px 20px;
        min-width: 350px;
        width: 80%;
    }

    body div#mobile {
        display: flex;
    }
}

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;
}

i {
    font-size: 25px;
}

header h2 {
    margin-left: 25px;
    font-size: 45px;
    font-family: "Bevan";
}

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 {
    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;
    justify-content: space-evenly;
    width: 100%;
    flex-direction: row;
    padding-left: 3%;
    padding-right: 3%;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: black;
}

a.mostr h3 {
    font-size: 60px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

a.mostr h3.subtitle {
    text-align: left;
    font-size: 50px;
    margin-bottom: 10px;
}

a.mostr p.date {
    color: gray;
    font-size: 20px;
}

a.mostr p {
    padding-top: 10px;
    font-size: 30px;
    color: rgb(71, 71, 71);
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

a.mostr img {
    width: 100%;
    border-radius: 20px;
}

a.mostr {
    width: 65%;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    margin: 0 30px;
    min-width: 450px;
}

div.last {
    text-align: center;
    background-color: white;
    width: 30%;
    min-width: 450px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
}

a.recposts img{
    height: 200px;
}

div.last ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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)
}

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;
}