nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  background: transparent;
  transform: translateY(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

  nav.visible {
    opacity: 1!important;
    transform: translateY(0);
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    color: var(--primary-white);
    position: relative;
  }

  nav a, nav ul {
    color: var(--primary-white);
    text-decoration: none;
    text-transform: uppercase;
  }
  
  nav li {
    position: relative;
    height: 24px;
    cursor: pointer;
    font-weight: 300;
  }
  
  nav li ul {
    display: none;
    right: 0;
    grid-template-columns: 1fr 1fr;
    position: absolute;
    top: 100%;
    flex-direction: column;
    background: var(--primary-black-dark);
    padding: 4rem;
    z-index: 10;
    flex-wrap: wrap;
    width: max-content;
  }
  
  nav li:hover ul {
    display: grid;
  }

  nav li:hover{
    border-bottom: 3px solid var(--primary-yellow);
  }
  
  nav.sticky {
    background-color: var(--primary-black);
  }
  
  .logo {
    height: 8rem;
    margin-top: 40px;
    transition: all 0.3s ease;
  }
  
  .logo.small {
    height: 3rem;
    margin-top: 0;
  }


  /* ------ RESPONSIVE -------- */

@media (max-width:1024px) {
  .logo {
    height: 10rem;
    margin-top: 40px;
    transition: all 0.3s ease;
  }
  .logo {
    height: 40px;
    margin-top: 0;
  }

  nav {
    background-color: var(--primary-black);
  }
}
  
  
