/* POSTS CONTENT — DISPLAY WITH TWO COLORS */


.posts-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 80vh;
}

.posts-content .post:first-of-type {
    border-top: none;
}

.posts-content .post {
    width: 100%;
    box-sizing: border-box;
    margin: 0 25% 0 25%;
    /*box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);*/
    border-top: 3px solid var(--main-color);
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 30px;

}

.posts-content .post-brief {
    font-family: sans-serif;
    line-height: 1.5;
}

.posts-content .post img {
    width: 100%;
    height: auto;
}

.posts-content .post:nth-child(2n) {
    background-color: var(--color2); /* turkusowy */
}
.posts-content .post:nth-child(2n+1) {
    background-color: var(--color1); /* turkusowy */
}

.posts-content .post .post-title {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    color: var(--main-color);
    display: block;
    margin-bottom: 50px;
    padding-bottom: 5px;
}


.read-more-button {
    color: white;
    background-color: var(--main-color);
    margin: 10px auto 0px auto;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    height: 20px;
    min-width: 120px;
    max-width: 200px;

    text-align: center;
    padding: 10px;
}

.read-more-button:hover {
    /* animation */

    opacity: 0.9;
    transition: background-color 0.5s ease;
}

@media screen and (max-width: 900px) {
      .posts-content .post {
        overflow: scroll;
        box-sizing: border-box !important;
        max-width: none;
        padding: 5% 10% 5% 10%;
          margin: 0;
    }

    .post-brief {
        overflow: auto;
        box-sizing: border-box !important;
        max-width: none;
        margin: 10px;
    }

    .posts-content .post .post-brief {
        font-size: 16px;
    }

    .read-more-button {
        margin: 20px auto;
        height: 25px;
        width: 140px;
        font-size: 21px;
    }

    .go_back {
        display: block !important;
        position: initial !important;
        background-color: #eae9e9;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px;
    }
}


.read-more-button-text {
    margin: auto;
    display: block;
}


.go_back {
    position: fixed;
    /* sticky*/

    width: 10%;
    display: block;
    margin: 20px;
    cursor: pointer;
}

.go_back a:hover {
    text-decoration: none;
}