.filter-blog {
    margin-top: 15vh;
}

.filter-blog form {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
}

.filter-blog form input {
    border: 0;
    border-radius: 0 !important;
}

.filter-blog form input:focus {
    outline: none !important;
}

.filter-blog form a, .filter-blog form input::placeholder {
    color: rgba(0, 0, 0, 0.35) !important;
    text-decoration: none;
    font-weight: 500;
}

.img-blog {
    width: 55vh;
}

header .contain, section .contain {
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
    height: 30rem;
    width: 45%;
    position: relative;
    margin-top: 2.4rem;
    background-color: #212529;
    border-radius: 15px;
}

section .contain {
    width: 100%;
    height: 25rem;
}

.article-title{
    margin-top: 1rem;
    font-family: "Gilroy";
    color: #1b1b1b !important;
}

header .contain .img-wrapper {
    background-image: url("images/annie-spratt-608001-unsplash.jpg");
}

section .contain {
    transition: all 300ms ease;
    overflow: hidden;
}

section a {
    text-decoration: none !important;
}

.dropdown-menu {
    z-index: 3 !important;
}

section .contain:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px hsla(0, 0%, 0%, 0.3);
}

.article1 {
    background-image: url("images/annie-spratt-608001-unsplash.jpg") !important;
}

.article2 {
    background-image: url("images/rawpixel-777267-unsplash.jpg") !important;
}


.article3 {
    background-image: url("images/rawpixel-665368-unsplash.jpg ") !important;
}


.article4 {
    background-image: url("images/helloquence-61189-unsplash.jpg") !important;
}

.contain .img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 300ms ease;
}

section .contain:hover .img-wrapper {
    transform: scale(1.05);
    filter: brightness(70%);
}

section .contain:hover .img-text {
    opacity: 1;
}


header .text-wrapper {
    padding: 0 4rem;
    margin-top: 4rem;
    width: 60%;
}

header .text-wrapper span {
    font-size: 1.5rem;
    color: #FFC700;
    letter-spacing: 1px;
}

header .text-wrapper h3 {
    font-family: "Gilroy";
    font-size: 4rem;
    line-height: 1;
    margin-top: 1rem;
    color: #1b1b1b;
}

header .text-wrapper p {
    margin: 1rem 0;
    color: #1b1b1b;
}

.wrapper hr {
    margin: 6rem 0 4rem 0;
    border: 2px solid rgba(0,0,0,.07);
    border-top: 0;
}

.img-text {
    position: absolute;
    color: white;
    right: 5%;
    top: 3%;
    opacity: 0;
    transition: opacity 300ms ease;
}

.img-text span {
    font-family: Roboto;
    font-weight: 600;
    text-transform: uppercase;
}

@media screen and (max-width: 770px) {

    header {
        flex-direction: column;
    }

    header .contain, section .contain {
        width: 100%;
        margin-top: 0 !important;
        height: 17rem;
    }

    header .contain {
        border-radius: 15px 15px 0 0;
        box-shadow: none;
    }

    header .contain .img-wrapper {
        filter: brightness(0.8);
    }

    .wrapper {
        width: 76%;
    }

    header {
        margin-top: 2.4rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
    }

    header .text-wrapper {
        padding: 1.5rem !important;
        width: 100%;
        margin-top: 0;
    }

    header .text-wrapper h3 {
        font-size: 3rem;
        margin-top: 0;
    }

    br {
        display: none;
    }

    .text-wrapper span {
        display: none;
    }

    .text-wrapper a {
        width: 100%;
    }

    .wrapper hr {
        margin: 4rem 0;
    }

    section {
        display: flex;
        flex-direction: column;
    }

    section>a {
        width: 100% !important;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 470px) {

    .wrapper {
        margin-top: 8rem;
        width: 88%;
    }

    .filter-blog {
        display: none !important;
    }

    input[type="search"] {
        width: 72%;
    }

    .filter-blog {
        margin-top: 50%;
    }

    header .contain, section .contain {
        height: 10rem;
    }

    .text-wrapper h3 {
        font-size: 2rem !important;
    }

    header .text-wrapper p {
        font-size: 0.8rem ;
        line-height: 1.6;
    }
}
