/* Styles for post 1 */
body {
    background-color: black;
    color: white;
}

.post-container {
    display: flex;
    justify-content: space-evenly;
    width: 75%;
    margin: 60px auto;
}

.post-left-image {
    width: 42.5%;
}

.post-right-content {
    width: 58%;
}
.post-title {
    font-weight: 700;
    font-size: 7vw;
    line-height: 1;
    padding: 2vw 1vw;
}
.post-body {
    padding: 2vw 1vw;
}
.post-body p {
    font-size: 0.9vw;
    text-align: justify;
    margin-bottom: 2vw;
}

/* Author section */
.author-section {
    width: 75%;
    margin: 5vw auto 0 auto;
}
.more-posts {
    font-size: 2vw;
    width: 50%;
    margin: 0 auto;
}
.more-posts h2 {
    font-weight: 700;
    margin-bottom: 2vw;
}
.post-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5vw;
}
.post-image {
    text-align: center;
    width: 15vw; height: 15vw;
    background-color: #111;
    border-radius: 1vw;
}

.author-wrapper {
    display: flex;
    position: relative;
    height: 28vw;
}
#author-image {
    position: absolute;
    height: 100%;
}
.author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 40%;
    padding: 2vw 4vw;
    z-index: 2;
}
.author-info h2 {
    font-size: 2vw;
    font-weight: 700;
    margin-bottom: 2vw;
}
.author-info p {
    font-size: 0.9vw;
    text-align: justify;
}

@media (max-width: 1024px) {

    .post-container {
        width: 100%;
    }
    .post-title {
        font-size: 10vw;
    }
    .post-body p {
        font-size: 1.3vw;
    }

    .author-section {
        width: 100%;
    }
    .author-wrapper {
        height: 37.2vw;
    }

    .author-info {
        width: 45%;
        padding: 2vw 3vw;
    }
    .author-info h2 {
        font-size: 3vw;
    }
    .author-info p {
        font-size: 1.3vw;
    }
}

@media (max-width: 768px) {
    
}