*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

/* NAV STYLES */
.nav .current::before{
  content: ' ';
  position: absolute;
  left: 0;
  bottom: 0px;
  background-color: #e9967a;
  height: 2px;
  box-sizing: border-box;
  width: 100%;
  transition: width 2s;
}
.nav .current{
  color: #e9967a;
  transform: scale(1.15);
}
nav{
  list-style: none;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 11vh;
  z-index: 9998;
  transition: all 0.7s ease;
}
.nav{
  display: flex;
  justify-content: space-between;
  width: 45%;
}
.nav li{
  margin-top: 5px;
  list-style: none;
  display: inline-block;
  padding: 0px 0px 0px 0px;
  transition: all 0.25s;
}

.nav li a{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
  color: #fff;
}
.nav li:hover {
  transform: scale(1.15);
  transition: all 0.4s;
}
.nav li:hover::before{
  content: ' ';
  position: absolute;
  left: 0;
  bottom: 0px;
  background-color: #e9967a;
  height: 2px;
  box-sizing: border-box;
  width: 100%;
  transition: width 2s;
}
.logo{
  width: 40%;
  display: flex;
  flex-direction: column;
}
.logo .logoSub{
 width: 100%;
 margin-left: 1px;
 margin-top: -6px;
 font-size: 13px;
 letter-spacing: 2.5px;
}
.logo .logoSub a{
  text-decoration: none;
  color: #fff;
}
.logo h1{
  float: left;
  color: DarkSalmon;
}
.logo h1 span{
  color: #fff;
}
.burger{
display: none;
cursor: pointer;
}
.burger div{
width: 23px;
height: 3px;
background-color: #fff;
margin: 4px;
transition: all 0.3s ease;
}

/* DROPDOWN */
.mobileSub{
  cursor: pointer;
}
.subMenu{
  display: none;
}
.nav .mobileSub:hover .subMenu{
  display: block;
  position: absolute;
  background-color: #222629;
  margin-top: 0px;
  font-size: 14px;
  border-bottom: 6px solid DarkSalmon;
  z-index: 9999;
}
.nav .mobileSub:hover .subMenu ul{
  display: block;
  margin: 10px;
}
.nav .mobileSub:hover .subMenu ul li a{
  font-size: 12px;
}
.nav .mobileSub:hover .subMenu ul li a:hover{
  color: DarkSalmon;
  transition: all 0.6s;
}
.nav .mobileSub:hover .subMenu ul li{
  width: 150px;
  padding: 10px;
  background: transparent;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav .mobileSub:hover .subMenu ul li:hover{
  transform: scale(1.02);
  text-decoration: none;
  transition: all 0.6s;
}
.nav .mobileSub:hover .subMenu ul li:last-child{
  border-bottom: none;
}
.nav .mobileSub:hover .subMenu ul li:hover::before{
  background-color: transparent;
}

/* TRANSLUCENTON SCROLL */
.scroll-active{
    background-color: #fff;
    min-height: 9vh;
    transition: all 0.8s ease;
}
.scroll-active .nav li a{
  color: #222629;
}
.scroll-active .nav li:hover{
}
.scroll-active .nav li a:hover {
  color: DarkSalmon;
}
.scroll-active .logo h1 span,
.scroll-active .logo .logoSub a{
  color: #222629;
}
.scroll-active .burger div{
  background-color: #222629;
}
.scroll-active .dropshadow{
  display: none;
}
.scroll-active .nav .mobileSub:hover .subMenu{
  background-color: #fff;
  box-shadow: ;
}

/* MOBILE RESPONSIVENESS */
@media screen and (max-width:1024px){
  .nav{
    width: 70%;
    margin-left: -150px;
  }
  nav{
    min-height: 9vh;
  }
}

@media screen and (max-width:768px){
  body{
    overflow-x: hidden;
  }
  nav{
    min-height: 9vh;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
    justify-content: space-between;
  }
  .nav{
    position: absolute;
    right: 0;
    height: 85vh;
    top: 8vh;
    background-color: #222629;
    border-bottom: 10px solid DarkSalmon;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translate(100%);
    transition: transform 0.3s ease-in;
    padding-top: 3.5%;
    padding-bottom: 6%;
    overflow: auto;
  }
  .scroll-active{
    background-color: #fff !important;
  }
  .scroll-active .nav{
    background-color: #fff;
  }
  .scroll-active .nav li{
  }
  .nav li{
    opacity: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    list-style: none;
  }
  .nav li:hover {
    border-bottom: none;
    transform: scale(1);
  }
  .nav li a{
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }
  .nav li a:hover{
    border-bottom: none;
  }
  .nav li:hover::before{
    display: none;
  }
  .logo h1{
    color: DarkSalmon;
  }
  .logo .logoSub{
    width: 100%;
    letter-spacing: 2.5px
  }
  .logo .logoSub a{
    font-size: 12px;
  }
  .burger{
    display: block;
  }
.subMenu{
  border-left: 2px solid #e9967a;
  background-color: rgba(255,255,255,0.1);
  border-radius: 6px;
  width: 100%;
  display: block;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: all .5s ease;
}
.scroll-active .subMenu{
  background-color: rgba(0,0,0,0.1);
}
.subMenu ul li{
  display: flex;
  padding:5px;
  flex-direction: column;
  transition: all .5s ease;
}
.nav_active{
  background-color: #222629;
}
.mobileSub, .mobileView{
  width: 100%;
  cursor: pointer;
}
}

/* RESPONSIVE NAV ANIMATIONS */
.nav-active{
  transform: translateX(0%);
}

@keyframes navLinkFade{
  from{
    opacity: 0;
    transform: translate(50px);
  }
  to{
    opacity: 1;
    transform: translate(0px);
  }
}

.toggle .line1{
  transform: rotate(-45deg) translate(-5px, 5px);
}
.toggle .line2{
  opacity: 0;
}
.toggle .line3{
  transform: rotate(45deg) translate(-5px, -5px);
}
