header {
  width: 100%;
  padding: 40px 4%;
  position: fixed;
  top: 0;
  left: 0;
  transition: 0.5s;
  z-index: 999999;
  }
/*BRANDING
***********************************************************************************************************************/
#logo img {
  max-width: 180px; /* Defina o tamanho máximo do logo */ 
  transition: opacity 0.5s; /* Adicione uma transição suave */ 
}
/*NAV MENU
***********************************************************************************************************************/
header nav {
  position: relative;
}
header a {
  color: white;
  font-size: 10pt;
  text-transform: uppercase;
  transition: 0.2s;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}
header ul {
  margin: 0;
}
header ul.nav-list {
  margin: 0;
}
header ul.nav-list li {
  display: inline-block;
  margin: 0 5px;
}
header ul.nav-list li a {
  padding: 10px;
  position: relative;
}
header ul.nav-list li a:hover {
  color: #F5F5F5;
}
header ul.nav-list li.no-after a:hover {
  color: #59994b;
}
header ul.nav-list li a:after {
  content: "";
  position: absolute;
  background-color: #59994b;
  height: 3px;
  width: 0;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}
header ul.nav-list li.no-after a:after {
  display: none;
}
header ul.nav-list li a:hover:after {
  width: 100%;
}
header ul.nav-list .hide-desk {
  display: none;
}
/*NAV SAMPLE/BUY
***********************************************************************************************************************/
#sample-buy {
  display: flex;
  gap: 20px;
}
/*NAV SOCIAL MEDIA
***********************************************************************************************************************/
header ul.social-media  {
  margin: 0;
  padding: 0;
}
header ul.social-media li {
  display: inline-block;
}
header ul.social-media li a {
  padding: 10px;
}
/*NAV LOGIN/SIGN UP
***********************************************************************************************************************/
header .login-signup li {
  display: inline-block;
  margin: 0 5px;
}
header .login-signup li a {
  color: #2e3342;
  padding: 10px 25px;
  border-radius: 50px;
  background: #f5f5f5;
}
header .login-signup li a:hover {
  color: #f5f5f5;
  background: #59994b;
}
/*NAV ROLAGEM
***********************************************************************************************************************/
header.rolagem {
  padding: 20px 4%;
  background-color: #f5f5f5;
  box-shadow: 0 0 0.5em 0.2em rgba(0, 0, 0, 0.1);
}
header.rolagem #logo-img {
  max-width: 180px;
  transition: 1s;
}
header.rolagem a {
  color: #2e3342;
}
header.rolagem li a:hover {
  color: #59994b!important;
}
header.rolagem .menu a:hover {
  color: #59994b;
}
header.rolagem .login-signup a {
  color: #f5f5f5;
}
header.rolagem ul.login-signup li a {
  background: #2e3342;
}
header.rolagem ul.login-signup li a:hover {
  color: #f5f5f5;
  background: #59994b;
}
header.rolagem .social-media a {
  color: #f5f5f5;
}
header .social-media a:hover {
  color: #59994b;
}
header.rolagem ul.social-media li a {
  color: #2e3342;
}
header.rolagem ul.social-media li a:hover {
  color: #59994b;
}
header.rolagem .white.sample button {
  color: #F5F5F5!important;
  background-color: #59994b;
}
header.rolagem .sample button:hover {
  color: #F5F5F5!important;
  background-color: #2e3342;
}
/*NAV SUB-MENU
***********************************************************************************************************************/
header ul li:hover .sub-menu {
  display: block;
}
header ul.sub-menu {
  display: none;
  top: 30px;
  position: absolute;
  width: auto;
  background: #f5f5f5;
  margin: 0;
  padding: 15px 0;
}
header ul.sub-menu li  {
  display: block;
}
header ul.sub-menu li a {
  color: #2e3342;
  display: block;
}
header ul.sub-menu li a:hover {
  color: #59994b;
}
header ul.sub-menu li a::after  {
  display: none;
}
.flex-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/*MEDIA QUERIES
***********************************************************************************************************************/
@media (min-width: 900px) and (max-width: 1200px) {
  header {
    padding: 40px 1%;
  }
  header.rolagem {
    padding: 20px 1%;
  }
}
@media (max-width: 900px) {
  header {
    padding: 30px 4%;
  }
  header #logo img {
    max-width: 180px;
  }  
  #log-sig-menu,
  #sm-menu,
  #sample-buy {
    display: none;
  }  
  header ul.sub-menu {
    top: 0;
    position: relative;
    display: block !important;
    background: none;
    padding: 0;
  }
  header ul.sub-menu li a {
    display: block;
    font-size: 15px;
    color: #F5F5F5;
    line-height: 35px!important;
    padding-left: 20px!important;
  }
  header ul.sub-menu li a:hover {
    color: #2e3342;
    transition: none;
  }
  header ul.sub-menu li a::after  {
    display: none;
  }
  .flex-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
} 
/*HAMBURGER
***********************************************************************************************************************/
.hamburger {
    display: none;
    border: none;
    background: none;
    border-top: 3px solid #fff;
    cursor: pointer;
  }
  .hamburger::after,
  .hamburger::before {
    content: " ";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin-top: 5px;
    position: relative;
    transition: 0.3s;
  }
  .hamburger.scrolled {
    border-top-color: #2e3342; /* Altera a cor da borda superior */
  }  
  .hamburger.scrolled::after,
  .hamburger.scrolled::before {
    background-color: #2e3342; /* Altera a cor de fundo dos pseudo-elementos */
  }
  @media (max-width: 900px) {
    .hamburger {
      display: block;
      z-index: 1;
    }
    .nav-list {
      position: fixed;
      top: 0;
      left: 100px;
      width: 100vw;
      height: 100vh;
      background: #59994b;
      clip-path: circle(100px at 90% -15%);
      transition: 0.3s ease-out;
      flex-direction: column;
      pointer-events: none;
    }
    .nav-list a {
      font-size: 17px;
      opacity: 0;
      line-height: 40px !important;
    }
    .nav-list li a:after {
      display: none!important;
    }
    .nav-list .hide-desk {
      display: block!important;
    }
    .nav-list ul.sm-menu-mobile {
      margin: 0;
      padding: 0;
      display: flex;
    }    
    .nav-list ul.sm-menu-mobile i {
      font-size: 1.3rem;
    }
/*ESTILOS ATIVOS
***********************************************************************************************************************/
  .nav.active .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
    display: flex;
    padding-top: 70px;
    padding-left: 45px;
  }
  .nav.active .nav-list a {
    opacity: 1;
    padding: 0;
    display: block;
    font-size: 15px;
  }
  .nav.active .nav-list a:hover {
    color: #F5F5F5;
  }
  .nav.active .hamburger {
    position: fixed;
    top: 40px;
    right: 18px;
    border-top-color: transparent;
  }
  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }
  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    top: -8px;
  }
}
@media (max-width:450px) {
  header.rolagem li a {
    color: #F5F5F5;    
  }
  header.rolagem li a:hover {
    color: #2e3342;    
  }
}