#header {
  position: fixed;
  top: 0;
  padding: 0 50px;
  width: 100%;
  height: 140px;
  background-color: var(--black);
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo {
  width: 40px;
  margin-right: auto;
  fill: transparent;
  animation: fill 0.3s ease-out forwards;
  animation-delay: 0.5s;
}

.logo:hover {
  animation: fill 0.3s ease-out forwards;
  animation-delay: 0.5s;
}

.logo:hover .path {
  animation: dash 0.6s ease-out forwards;
}

.path {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: dash 0.6s ease-out forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill {
  to {
    fill: var(--white);
  }
}

.menu-items {
  list-style: none;
  display: flex;
  gap: 60px;
  align-items: center;
}

.menu-item a {
  text-decoration: none;
  color: white;
  opacity: 0.5;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.menu-item a:hover {
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  #header {
    height: 110px;
    padding: 0 15px;
  }

  .menu-items {
    gap: 25px;
  }
}
