@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: "Noto Serif", serif;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    transition: all ease 0.3s;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
    margin-bottom: 0;
    text-transform: capitalize;
}

.overview2 {
    display: flex;
    flex-wrap: wrap;
}

.overview2-slide {
    position: relative;
    overflow: hidden;
    transition: 0.6s;
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
    height: 100vh;

    &::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.418);

    }
}

.overview2-slide:hover {
    flex: 1.5 0 10%;
}


.overview2-slide .img-box {
    height: 100%;
}

.overview2-slide img {
    height: 100%;
    object-fit: cover;
    width: 100% !important;
    transition: filter 0.6s;
}

/* Default state: No blur */
.overview2-slide img,
.overview2-slide .slide-content {
    filter: none;
}

/* On hover, keep the hovered slide clear and blur all others */
/* .overview2:hover .overview2-slide:not(:hover) img,
.overview2:hover .overview2-slide:not(:hover) .slide-content {
    filter: blur(10px);
} */

.overview2-slide .content {
    height: 100%;
    width: 100%;
}

.overview2-slide .slide-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: filter 0.6s;
    width: 320px;
}

.overview2-slide .img-box {
    height: 100%;
}

.overview2-slide img {
    height: 100%;
    object-fit: cover;
    width: 100% !important;
    position: relative;
}

.overview2-slide:hover img {
    filter: none;
    object-fit: cover;
    object-position: center;

}



/* .overview2-slide:hover~.overview2-slide img {
    filter: blur(10px);
} */

.overview2-slide .slide-content img.logo {
    width: 160px !important;
    filter: drop-shadow(0px 0px 3px black);
    display: block;
    margin: 0px auto 30px auto;
}

.overview2-slide .slide-content h2 {
    font-size: 35px;
    margin-bottom: 25px;
    color: white;
    font-weight: 400;
}

.overview2-slide .slide-content a {
    background-color: #f37c1f;
    color: white;
    padding: 8px 20px;
    transition: all ease 0.3s;
    border: 1px solid #f37c1f;

    &:hover {
        color: white;
        background-color: transparent;
        border: 1px solid white;
        cursor: pointer;
    }
}


@media(max-width:991px) {

    .overview2-slide:hover {
        flex: none;
    }

    .overview2 {
        flex-direction: column;
    }

    .overview2-slide {
        flex: none;
        width: 100%;
        height: 34vh;
    }

    .overview2-slide .slide-content {
        width: 100%;
    }

    .overview2-slide .slide-content img.logo {
        width: 140px !important;
        margin: 0px auto 20px auto;
    }

    .overview2-slide .slide-content a {
        padding: 7px 10px;
        font-size: 14px;
    }
}