.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.menu__item {
  padding: .25rem .5rem;

  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;
}

.menu__item:hover {
  transition: all;
  transition-duration: .25s;
  color: var(--primary);
}



@media (max-width: 768px) {
  .menu {
    position: absolute;

    top: 100%;
    left: 0;
    width: 100%;

    height: 0;

    background: rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .3);
    backdrop-filter: blur(5px);

    flex-direction: column;
    justify-content: space-around;
    align-items: end;
    padding: 0 2rem;
    gap: .4rem;

    transition: .3s ease;
    overflow: hidden;
  }

  .menu__item {
    display: block;
  }

  #menu__toggle__id:checked~.menu {
    height: 16rem;
  }
  
}