
.main-wrapper a{
    color: #000;
    text-decoration: none;
}
.main-wrapper ul li{
    list-style-type: none;
}
.sub-menu-item h4{
    color:#000;
}
.nav-outer .navigation > li > a {
    position: relative;
    display: block;
    font-weight: 500;
    padding: 17px 0px;
    text-align: center;
    line-height: 20px;
    color: var(--color-three);
    font-size: var(--font-16);
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    text-transform: capitalize;
}
.navbar-nav button{
    margin-top: 5px;
}
.brand-and-icon{
    display: flex;
    justify-content: space-between;
    padding: 0.1rem 0;
}
.navbar-brand{
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}
.navbar-toggler{
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border: 2px solid #000;
    border-radius: 4px;
}
.navbar-toggler:hover{
    opacity: 0.7;
}
.navbar-collapse{
    display: none;
}
.navbar-nav > li > a{
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ddd;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
}
.drop-icon{
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-nav > li > a:hover{
    opacity: 0.7;
}
.sub-menu h4{
    text-transform: capitalize;
    font-size: 1rem;
    padding: 0.5rem 0;
    line-height: 10px;
}
.sub-menu ul li{
    text-transform: capitalize;
    font-size: 0.9rem;
    padding-bottom: 6px;
    margin-top: 4px;
    margin-bottom: 6px;
}
.sub-menu ul li a{
    opacity: 0.8;
    transition: all 0.5s ease;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
}
.sub-menu ul li:last-child a {
    border-bottom: none;
}
.sub-menu ul li a:hover{
    padding-left: 14px;
    opacity: 0.9;
}
.sub-menu{
    display: none;
}

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

/* 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;
}
.navbar {
    position: absolute;
    display: contents;

background: #fafafa;
padding: 0 1rem;
top: 0;
left: 0;
width: 100%;
max-height: 100vh;
flex-direction: column;
z-index: 10;
}
@media screen and (max-width: 992px){
    .navbar {
        position: absolute;
        display: contents;
    
    background: #fafafa;
    padding: 0 1rem;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    flex-direction: column;
    z-index: 10;
}
.navbar-toggler {
    font-size: 0.8rem;
    padding: 0.1rem 0.3rem;
}
}
/* Media Queries */
@media screen and (min-width: 992px){
 
    .navbar-toggler{
        display: none;
    }
    .brand-and-icon{
        flex: 0 0 100px;
        border-bottom: none;
        padding: 0;
    }
    .navbar-collapse{
        display: block!important;
        flex: 1 0 auto;
        overflow-y: hidden;
    }
    .navbar-nav{
        display: flex;
        align-items: center;
        justify-content: center;
        display: -webkit-inline-box;
    }
    .navbar-nav > li > a{
        border-bottom: none;
        margin: 0 0.4rem;
        padding: 0.8rem 0.1rem 0.8rem;
        font-size: 0.8rem;
    }
    .sub-menu{
        position: absolute;
        left: 0;
        width: 100%;
        top: 100%;
        background: #f8f8f8;
        padding-left: 10px !important;
        padding-right: 10px !important;
        z-index: 999999999999;
    }
    .navbar-nav > li:hover .sub-menu{
        display: grid!important;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 5rem;
    }
    .navbar-nav > li{
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
        margin-right: 25px;
        margin-left: 25px;
    }
    .navbar-nav > li:hover{
        border-bottom-color: #000;
    }
    .sub-menu-item{
        padding-left: 0;
    }

    /* header */
    .header{
        height: calc(100vh - 75px);
    }
    .header h2{
        font-size: 6rem;
    }
    .header p{
        width: 40%;
    }
}
