.header {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-off-white);
  padding: 1.2rem 1.2rem 1.2rem 2.4rem;
  z-index: 1000;
}

@media (min-width: 1280px) {
  .header {
    padding: 2.4rem 7.2rem;
  }
}

.header-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.header-logo {
  height: 2.4rem;
  width: auto;
}

@media (min-width: 1280px) {
  .header-logo {
    height: 3.6rem;
  }
}

.menu-toggle {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  border: none;
  border-radius: 1000rem;
  background-color: transparent;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.menu-icon {
  grid-column: 1;
  grid-row: 1;
  width: 2.4rem;
  height: 2.4rem;
  transform: rotate(0deg);
  opacity: 1;
  visibility: visible;
  color: var(--black);
  pointer-events: all;
  transition: all 0.3s ease-in-out;
}

.menu-icon.hidden {
  transform: rotate(180deg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.menu-toggle:active .menu-icon {
  color: var(--green);
}

@media (min-width: 1280px) {
  .menu-toggle {
    display: none;
  }
}

.back-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 1000rem;
  background-color: transparent;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.back-link-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--black);
  transition: all 0.3s ease-in-out;
}

.back-link:active .back-link-icon {
  color: var(--green);
}

.back-link:hover .back-link-icon {
  color: var(--green);
}

.backlink:focus-visible .back-link-icon {
  color: var(--green);
}
