html{
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    background-color: #24252a;
    align-items: center;
    justify-content: center;
    display: flex;
}

.blog-post{
    width: 100%;
    max-width: 98rem;
    padding: 5rem;
    background-color: #24252a;
    box-shadow: 0 1.4rem 8rem rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    border-radius: .8rem;
}

.blog-post__title{
    font-size: 2.5rem;
    margin: 1.5rem 0 2rem;
    text-transform: uppercase;
    color: #ffd346;
}

.blog-post__text{
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #edf0f1;
}

@media screen and (max-width:1068px){
    .blog-post{
        max-width: 80rem;
    }

    .blog-post__img{
        min-width: 30rem;
        max-width: 30rem;
    }
}

@media  and (max-width:868px) {
    .blog-post{
        max-width:70rem;
    }
}

@media  and (max-width:768px) {
    .blog-post{
        padding: 2.5rem;
        flex-direction: column;
    }

    .blog-post__img{
        min-width: 100%;
        max-width: 100%;
        transform: translate(0, -8rem);
    }
}