nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 3px #c9c6c6;
    border-bottom: 5px solid var(--accent1);
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    overflow: auto;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 70%;
}

.nav-links li{
    list-style: none;
}

nav ul {
    margin: 0;
}

ul a:hover{
    color: black;
}

.nav-links li > .sub-dropdown {
    display: none;
}

.nav-links a{
    color: rgb(148 142 145);
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
}

.dropdown a{
    float: none;
    display: block;
    padding: 15px 0px 5px 0px;
    text-align: left;
    background-color: inherit;
}

li:hover .dropdown {
    display: block;
}



.burger{
    display: none;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color:  rgb(15, 15, 15);
    margin: 5px;
    transition: all 0.3s ease;
}

.logo {
    position: relative;
    /* right: 10%; */
    padding: 5px;
}
.sub-dropdown  {
    z-index: 1;
    margin: 0;
    padding: 0;
    padding: 1em;
}

.sub-dropdown li a{
    padding: 0;    
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 20px;
    font-weight: 300;
    color: #3b3b3b;
    height: 60px;
    line-height: 60px;
    background: #ffffff;
    cursor: pointer;
    border-width: 0px 0 2px 0;
}
  
.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 0;
    background: #fff;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}
  .designDropdown{
    position: absolute;
    z-index: 1;
  }
.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
  
.custom-option {
    position: relative;
    display: block;
    padding: 3px 18px 3px 19px;
    font-size: 22px;
    font-weight: 300;
    color: #3b3b3b;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.5s;
}
  
.custom-option:hover {
    cursor: pointer;
    background-color: #b2b2b2;
}
  
.custom-option.selected {
    color: #ffffff;
}

.arrow {
    position: relative;
    height: 15px;
    width: 15px;
}
  
.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.5s;
}
  
.arrow::before {
    left: -5px;
    transform: rotate(45deg);
    background-color: #394a6d;
}
  
.arrow::after {
    left: 5px;
    transform: rotate(-45deg);
    background-color: #394a6d;
}
  
.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}
  
.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}

@media screen and (max-width:1366px){
    .nav-links{
        width: 60%;
    }

    .logo{
        right:0;
    }
}

@media screen and (max-width:1366px){
   body{
       overflow: scroll;
   }
   li:hover .sub-dropdown {
        animation: navLinkFadeSub 1.5s ease forwards 0.5s;
    }
    .dropdown {
        background-color:transparent;
    }

    .dropdown {
        margin: 0;
        padding: 0;

    }
    .sub-dropdown li a{

        padding-left: 1em;
        
    }


    .nav-links li > .sub-dropdown {
        display: block;
    }

   .dropdown a {
       padding: 0px;
   }

 .designDropdown{
    position: relative;
    z-index: 0;
 }

    .nav-links{
        overflow:hidden;
        position: absolute;
        margin-top: 23px;
        left: -70px;
        top: 8vh;
        background-color: rgba(255, 255, 255, 0.9);
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        width: 100%;
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li{
        opacity: 0;
        height: 100%;
    }
    .nav-links li > .sub-dropdown li{
        opacity: 1;
    }
    .burger{
        position: relative;
        display: block;
        left: 0px;
    }
    .nav-links .dropdown {
        position: relative;
    }    

    .nav-links .dropdown .a {
        position: absolute;
        display: block;
        /* right: 100px; */
    }

    .logo {
        right: 0;
    }
}

.nav-active{
    transform: translate(0%);
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(0px);
    }
    to{
        opacity: 1;
        transform: translateX(50px);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
    opacity: 0;
    transform: translateX(-60px);
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}