@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: estedad;
    --chevron-color: orange;
    --item-color: navy;
    --item-border-color-hover: orange;
    --btn-back-color: orange;
    --btn-color: navy;
}

body {
    margin-top: 3rem !important;
}

.main-wrapper {
    box-shadow: 0 .25rem .25rem rgba(0,0,0,.1);
    z-index: 1050;
    line-height: 1.4;
}

    .main-wrapper img {
        width: 100%;
        display: block;
    }

    .main-wrapper a {
        color: #000;
        text-decoration: none;
    }

    .main-wrapper ul li {
        list-style-type: none;
    }

    .main-wrapper ul {
        margin: 0;
    }

.megamenu-navbar {
    background: #fafafa;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    box-shadow: 0 .25rem .25rem rgba(0,0,0,.1);
    border-bottom: 1px #dbdbdb solid;
}

.brand-and-icon {
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: .25rem 0;
    border-bottom: 1px solid #ececec;
}

.megamenu-navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 1rem;
}

    .megamenu-navbar-brand img {
        height: 2.5rem;
        width: unset;
    }

.megamenu-navbar-toggler {
    display: flex;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border: 0;
    color: gray;
}

    .megamenu-navbar-toggler:hover {
        opacity: 0.7;
    }

.megamenu-navbar-collapse {
    overflow-y: scroll;
    display: none;
    height:100vh;
}

.megamenu-navbar-nav > li > a {
    font-size: .9rem;
    font-weight: 600;
    display: block;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ececec;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
    color: var(--item-color);

}

.megamenu-navbar-nav > li:last-child > a {
    border-bottom: 0;
}

.drop-icon {
    position: absolute;
    left: 10px;
    color: var(--chevron-color);
}

.megamenu-navbar-nav > li > a:hover {
    opacity: 0.7;
}

.sub-menu h4 {
    font-size: .9rem;
    padding: 0;
    color: var(--item-color);
    margin: 0 0 .5rem;
    font-weight: 600;
}

.sub-menu ul li {
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

    .sub-menu ul li a {
        opacity: 0.8;
        transition: all 0.5s ease;
    }

        .sub-menu ul li a:hover {
            padding-left: 14px;
            opacity: 0.9;
        }

.sub-menu {
    display: none;
}

.sub-menu-item {
    padding: 1.2rem;
}

    .sub-menu-item:nth-child(3) {
        background: #eaeaea;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        color: var(--item-color);
        width: 100%;
        border-radius: .5rem;
        margin-bottom: 1.5rem;
    }

        .sub-menu-item:nth-child(3) h2 {
            text-transform: capitalize;
            margin: 1.5rem 0;
            color: navy;
            line-height: 1.75rem;
        }

        .sub-menu-item:nth-child(3) .btn {
            border: 1px solid var(--btn-back-color);
            font-size: 0.9rem;
            padding: 0.6rem 1rem;
            cursor: pointer;
            background: var(--btn-back-color);
            color: var(--btn-color);
            transition: all 0.5s ease;
            border-radius: 2rem;
        }

            .sub-menu-item:nth-child(3) .btn:hover {
                background: transparent;
                color: var(--item-color);
                border-color: var(--item-color);
            }

    .sub-menu-item:nth-child(4) {
        width: 50%;
        margin: 0 auto;
        padding: 2rem 0;
    }

    .sub-menu-item._contentable {
        width: calc(100% - 2rem);
        margin: 0 1rem;
        padding: 0 .5rem;
    }

.submenu-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-bottom: 1rem;
}

.submenu-content-items {
    display: flex;
    justify-content: start;
    align-items: start;
    color: red
}

.submenu-content-items-img-holer {
    margin-left: .5rem;
}

.submenu-content-items-img {
    width: 5rem !important;
    height: 5rem;
    object-fit: cover;
    object-position: center;
    border-radius: .5rem;
}

.submenu-content-items-title ._title {
    font-size: .9rem;
    font-weight: 500;
    transition: .3s ease all;
    margin-bottom: .3rem;
}

.submenu-content-items-title ._desc {
    font-size: .8rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis
}


submenu-content-items:hover .submenu-content-items-title {
    color: navy;
}




/* header */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://source.unsplash.com/g-kNBpqMIs4/1920x1400) center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .header h2 {
        margin: 1rem;
        font-size: 3rem;
        font-weight: 900;
        color: #fff;
        letter-spacing: 2px;
    }

    .header p {
        margin: 1rem auto;
        color: #fff;
        width: 60%;
        opacity: 0.8;
        font-weight: 300;
        font-size: 1.2rem;
        text-align: center;
    }

    .header button {
        margin: 1rem;
        font-size: 1rem;
        text-transform: uppercase;
        background: #000;
        color: #fff;
        border: none;
        padding: 0.8rem 1.5rem;
        transition: all 0.5s ease;
        cursor: pointer;
    }

        .header button:hover {
            background: #fff;
            color: #000;
        }

/* Media Queries */
@media screen and (min-width: 992px) {
    body {
        margin-top: 0 !important;
    }

    .main-wrapper {
        position: sticky;
        top: 0;
        border-bottom: 1px #dbdbdb solid;
    }

    .megamenu-navbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 0 5rem;
        position: relative;
    }

    .megamenu-navbar-toggler {
        display: none;
    }

    .brand-and-icon {
        flex: 0 0 100px;
        border-bottom: none;
        padding: 0;
    }

    .megamenu-navbar-collapse {
        display: block !important;
        overflow-y: hidden;
        flex: 1 0 auto;
        height:unset;
    }

    .megamenu-navbar-nav {
        display: flex;
        align-items: center;
        justify-content: start;
    }

        .megamenu-navbar-nav > li > a {
            border-bottom: none;
            margin: 0 0.4rem;
            padding: 1rem .8rem 1rem 1.8rem;
            font-size: 0.9rem;
            color: var(--item-color);
        }

        .megamenu-navbar-nav > li.no-chevron > a {
            padding: 1rem .5rem;
        }

        .megamenu-navbar-nav ._icon-home {
            font-size: 1.2rem;
            display: flex;
        }

    .sub-menu {
        position: absolute;
        left: 0;
        width: 100%;
        top: 100%;
        background: #f8f8f8;
        box-shadow: 0 .25rem .25rem rgba(0,0,0,.1);
        border-bottom: 1px #dbdbdb solid;
    }

    .megamenu-navbar-nav > li:hover .sub-menu {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        padding: 2rem 1.5rem;
        height: 60vh;
        min-height: 20rem;
        max-height: 30rem;
    }

    .sub-menu-item {
        max-height: calc(30rem - 2.4rem);
        overflow-y: auto;
    }

    .megamenu-navbar-nav > li {
        border-bottom: 3px solid transparent;
        transition: border-bottom 0.4s ease;
    }

        .megamenu-navbar-nav > li:hover {
            border-bottom-color: var(--item-border-color-hover);
        }

    .sub-menu-item {
        padding-left: 0;
    }

        .sub-menu-item:nth-child(3) {
            padding-left: 2rem;
            padding-right: 2rem;
            border-radius: .5rem;
        }

    /* header */
    .header {
        height: calc(100vh - 75px);
    }

        .header h2 {
            font-size: 6rem;
        }

        .header p {
            width: 40%;
        }

    .drop-icon {
        top: 1.25rem;
    }

    .sub-menu-item:nth-child(3) {
        margin-bottom: 0;
    }
}

@media screen and (min-width:1200px) {
    .megamenu-navbar {
        padding: 0 calc((100vw - 1170px)/2);
    }
}

@media screen and (min-width:1600px) {
    .megamenu-navbar {
        padding: 0 calc((100vw - 1570px)/2);
    }
}
