.header {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--light-grey);
  box-shadow: 0 0 1.2rem 0 var(--shadow);
  padding: 0 1.2rem;
  z-index: 3000;
}

@media (min-width: 1280px) {
  .header {
    padding: 0 1.2rem 0 0;
  }
}

.header-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
}

.header-logo {
  height: 2.4rem;
  width: auto;
}

.header-logo-desktop {
  display: none;
}

@media (min-width: 1280px) {
  .header-logo {
    height: 4.8rem;
  }

  .header-logo-mobile {
    display: none;
  }

  .header-logo-desktop {
    display: block;
  }
}

.header-menu-button-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
}

@media (min-width: 1280px) {
  .header-menu-button-container {
    display: none;
  }
}

.menu-button {
  grid-column: 1;
  grid-row: 1;
}

.menu-button-open {
  transform: rotate(0);
  pointer-events: all;
  opacity: 1;
}

.menu-button-open.hide {
  transform: rotate(180deg);
  pointer-events: none;
  opacity: 0;
}

.menu-button-close {
  transform: rotate(180deg);
  pointer-events: none;
  opacity: 0;
}

.menu-button-close.show {
  transform: rotate(0);
  pointer-events: all;
  opacity: 1;
}

.menu-icon {
  color: var(--dark-grey);
}

.menu-button:active .menu-icon,
.menu-button:focus .menu-icon {
  color: var(--green-yellow);
}

.menu-background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  background-color: var(--creme-grey);
  z-index: 2998;
  transition: all 0.3s ease-in-out;
}

.menu-background.show {
  pointer-events: all;
  opacity: 1;
}

.menu-background-image {
  position: fixed;
  bottom: -9.6rem;
  left: 0;
  height: auto;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 1.2rem 0 transparent;
  z-index: 2999;
  transition: all 0.3s ease-in-out;
}

.menu-background-image.show {
  bottom: -3.6rem;
  opacity: 1;
}
