header {
  position: fixed;
  top: 0;
  z-index: 4;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
}

@media (max-width: 1380px) {
  header {
    justify-content: center;
  }
}

.half-white {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
}

.full-white {
  background-color: var(--white);
}

.header-logo {
  width: 200px;
  height: auto;
  padding: 1rem;
}

#menu-mobile {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: 1.25rem;
  padding: 0.25rem;

  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 1380px) {
  #menu-mobile {
    position: absolute;
    top: 50%;
    left: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;

    transform: translateY(-50%);
  }
}

.bar {
  width: 100%;
  height: 4px;

  background-color: var(--black);
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
}

.bar1 {
  transform: translateY(8px) rotateZ(-45deg);
}

.bar2 {
  opacity: 0;
}

.bar3 {
  transform: translateY(-8px) rotateZ(45deg);
}

.header-menu {
  display: flex;
  padding-right: 0.25rem;

  list-style-type: none;
}

@media (max-width: 1380px) {
  .header-menu {
    position: absolute;
    top: 70px;
    left: -250px;
    z-index: 3;

    flex-direction: column;
    width: 250px;
    height: calc(100vh - 70px);
    padding-right: 0;
    overflow-y: auto;

    background-color: var(--white);
    transition: left 0.4s ease-in-out;
  }
}

.header-menu a {
  padding: 0.75rem;

  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;

  border-bottom: 2px solid transparent;
  transition: color 0.5s, border 0.5s;
}

.header-menu a:hover {
  color: var(--red);

  border-bottom: 2px solid var(--red);
  transition: color 0.5s, border 0.5s;
}

@media (max-width: 1380px) {
  .header-menu a {
    display: block;
    width: 100%;
    padding: 1.25rem;

    border-bottom: none;
    transition: none;
  }

  .header-menu a:hover {
    color: var(--white);

    background: linear-gradient(318deg, #1f1f1f, #dd3d35);
    border-bottom: none;
    transition: none;
  }
}
