/* nav */
nav {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 70px;
  padding: 1.5em 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  text-transform: uppercase;
  z-index: 30;
}

.left-nav {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 2em;
}

.date {
    font-family: 'Outward';
    font-size: 4rem;
    color: var(--color-secondary);
}

.mood-wrapper {
  position: relative;
}

.mood-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, var(--color-secondary) 30%, var(--color-primary) 60%);
  transform: translateY(-4px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mood-button::after, .mood::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mood-button:hover::after, .mood:hover::after {
  transform: translateY(-200%);
}

/* .mood-selector {
  position: absolute;
  top: -10%;
  left: 120%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px);
  border-radius: 8px;
  padding: 0.5em;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mood-selector.active {
  opacity: 1;
  visibility: visible;
  max-height: 100px;
  transition: max-height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
} */

.mood-selector {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-4px);
}

.mood {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  padding: 0.5em 1em;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
    
  .logo  {
    text-align: center;
    font-family: 'Outward';
    font-size: 6rem;
    color: var(--color-secondary) !important;
  }

  .logo a {
    text-decoration: none;
    color: var(--color-secondary);
  }
  
  .ctas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.5em;
  }
  
  .sound,
  .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4em;
    background: var(--color-text);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.25em 0;
  }
  
  .sound p,
  .menu p {
    color: var(--color-black);
  }
  
  .menu,
  .contact {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .menu p,
  .contact a {
    padding-right: 0.75em;
  }
  
  .menu .menu-icon,
  .contact .contact-icon {
    position: relative;
    left: 0.125em;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .contact .contact-icon {
    color: var(--color-black);
    transform: rotate(0);
    left: 0.25em;
    font-size: 8px;
  }
  
  .contact {
    background: var(--color-secondary);
  }
  
  .contact a {
    color: var(--color-text);
    position: absolute;
    right: 0;
    width: 100%;
    text-align: right;
    text-decoration: none;
  }
  
  .menu.active {
    background: var(--color-text);
  }
  
  .menu.active p,
  .menu.active ion-icon {
    color: var(--color-black);
  }
  
  .menu.active .menu-icon {
    transform: rotate(270deg);
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  @media (max-width: 1024px) {

    nav {
        grid-template-columns: 1fr 1fr;
    }

    .left-nav {
      gap: 1.25em;
    }

    .logo {
        text-align: end;
        font-size: 4rem;
    }
    .ctas {
      position: fixed;
      display: block;
      left: 0;
      bottom: 1em;
      width: 100%;
      height: 60px;
      padding: 1em;
    }
  
    .menu,
    .contact {
      padding: .5em 0.5em;
    }
  
    .menu .menu-icon {
      left: 0;
    }
  
    .menu.active {
      background: var(--color-primary);
    }
  
    .menu.active p,
    .menu.active ion-icon {
      color: var(--color-text);
    }
  }
  