.posts-wrapper{
    padding-top: 150px;
}
.posts{
    overflow-wrap: break-word;
    overflow: hidden;
    
    max-width: 990px;

    margin-left: auto;
    margin-right: auto;
    transition: max-width 1s;
}
.beitrag{
    width: 300px;
    
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
    
    padding: 10px;
    
    border-radius: 15px;
    float: left;

    box-shadow: 0px 5px var(--BRIGHT-COLOR);

    background: linear-gradient(180deg, var(--DARK-COLOR) var(--COLOR-AMOUNT), var(--BRIGHT-COLOR));
    transition: width 1s, border-radius 1s, margin 1s, box-shadow 1s, --COLOR-AMOUNT 0.25s;
}
.preview{
    height: 150px;

    border: none;
    border-radius: 15px;

    background-color: var(--DARK-COLOR);
    background-size: cover;

    box-shadow: 0px 1px 3px black inset;

    transition: border-radius 1s;
}
.titel{
    text-align: left;
    
    margin: 15px;
    margin-bottom: 0px;
    
    transition: margin 1s, height 1s, max-width 1s;
    
    height: 3.5rem;
    max-width: 280px;
}
.info{
    font-size: 1rem;
    max-width: 250px;
    color: var(--BRIGHT-COLOR);
    margin-top: 5px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 5px;
    
    display: flex;
    float: left;
    justify-content: center;
    align-items: center;
    align-content: center;

    transition: margin 1s, max-width 1s;
}
.autor {
    height: 1.2rem;
    width: 160px;
    overflow: clip;
}
.datum {
    float: right;
}
.beitrag:hover{
    cursor: pointer;
    --COLOR-AMOUNT: 80%;
}

/* || Responsive Posts */
@media (max-width: 1010px){ /*kleine Bildschirme seitlich*/
    .posts{
        max-width: 660px;
    }
}
@media (max-width: 1010px) and (min-height: 1200px){ /*Smartphone hochkant*/
    .posts-wrapper {
        padding-top: 290px;
    }
    .posts{
        max-width: 960px;
    }
    .beitrag{
        border-radius: 30px;
        float: left;
        padding: 10px;
        margin-bottom: 40px;
        width: 920px;
        box-shadow: 0px 10px var(--BRIGHT-COLOR);
    }
    .preview{
        height: 500px;
        border: none;
        border-radius: 30px;
        box-shadow: 0px 5px 10px black inset;
    }
    .titel{
        text-align: left;
        margin: 20px;
        margin-bottom: 0px;
        font-size: 3rem;
        max-width: 870px;
        height: 11rem;
    }
    .info{
        font-size: 2rem;
        max-width: 870px;
        margin-top: 10px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    .autor {
        height: 2.4rem;
        width: 688px;
        overflow: clip;
    }
    .datum {
        float: right;
        overflow: hidden;
    }
    .beitrag:hover{
        cursor: pointer;
        --COLOR-AMOUNT: 90%;
    }
}
@media (max-width: 680px){ /*wirklich kleine Bildschirme seitlich*/
    .posts{
        max-width: 330px;
    }
}