* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    font-size: 10px;
}

body {
    width: 100%;
    height: 100vh;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    background-color:  #170346;
    padding: 0 1.5rem;
    
}
header{
    font-size: 18px;
    margin-top: 10px;
    padding: 20px;
}
.Blogsection {
    max-width: 900vh;
}

.Blogsection h2 {
    letter-spacing: 1px;
    font-size: 30px;
    color: #d15a0b;
    border: 2px dashed #010ca0;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 10px;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-left: 120px;
    
}

.blog-post {
    width: 100%;
    max-width: 98rem;
    padding: 5rem;
    background-color: #190df321;
    box-shadow: 0 1.4rem 8rem rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    border-radius: .8rem;
    margin: 10px;
    margin-left: 10%;
}

.blog-post_img {
    min-width: 35rem;
    max-width: 35rem;
    height: 30rem;
    transform: translateX(-8rem);
    position: relative;
}

.blog-post_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .8rem;
    display: block;
}

.blog-post_img img::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: .5rem .5rem 3rem 1px rgba(0, 0, 0, 0.5);
    border-radius: .8rem;
}

.blog-post_date span {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: .5rem 0;
}

.blog-post_title {
    font-size: 2.5rem;
    margin: 1.5rem 0 2rem;
    text-transform: uppercase;
    color: #4facfe;
}

.blog-post_text {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #fff;
}

.blog-post_cta {
    display: inline-block;
    padding: 1.5rem 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    border-radius: .8rem;
    background: linear-gradient(to right, #dd8237 0%, #043fbd 100%);
}

.blog-post_cta:hover {
    background: linear-gradient(to right, #043fbd 0%, #dd8237 100%);
}

@media screen and (max-width: 1068px) {
    .blog-post {
        max-width: 70rem;
    }
    .blog-post_img {
        min-width: 30rem;
        max-width: 30rem;
    }
    .Blogsection h2 {
        margin-top: 120px;
        margin-left: 275px;
    }
}

@media screen and (max-width: 868px) {
    .blog-post {
        max-width: 80rem;
    }
    .Blogsection h2 {
        margin-top: 20px;
        margin-left: 142px;
    }
}

@media screen and (max-width: 768px) {
    .blog-post {
        padding: 2.5rem;
        flex-direction: column;
    }
    .blog-post_img {
        min-width: 100%;
        max-width: 100%;
        transform: translate(0, -1rem);
    }
    .Blogsection {
        margin-top: auto;
    }
}

@media screen and (max-width: 823px) {
    .Blogsection h2 {
        margin-top: 35px;
        margin-left: 142px;
    }
}
@media screen and (max-width: 540px){
    .blog-post{
        margin-left: 0%;
        width: 100%;
        max-height: 500px;
    }
    
    .blog-post_img img{
        width: 100%;
        max-height: 170px;
    }
    .Blogsection h2{
        margin-left: 0%;
    }
    .nav__burger,
    .nav__close{
        font-size: 2.5rem;
        margin-right: -70%;
        margin-top: -40%;
        z-index: 1;
    }
    
}     