.header {
  background-color: rgb(var(--background-color-header));
  padding: 40px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  max-width: var(--container-size);
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  max-width: 160px;
}

.header__menu-icon {
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 50px;
  margin-top: 30px;
}

.header__menu-icon-line {
  display: block;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 9px;
  opacity: 1;
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.header__menu-icon span:nth-child(2) {
  top: 8px;
}

.header__menu-icon span:nth-child(3) {
  top: 16px;
}

.header__menu-icon--active span:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: 10px;
}

.header__menu-icon--active span:nth-child(2) {
  transform: translateX(40px);
  opacity: 0;
}

.header__menu-icon--active span:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: 8px;
}

.header__menu-links {
  top: 160px;
  position: absolute;
  width: 100%;
  height: calc(100vh - 160px);
  background-color: rgba(var(--background-color-header), 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 20px;
  font-size: 28px;
  z-index: 900;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: 300ms ease opacity;
  font-family: "Industry Inc Base";
}

.header__menu-links--active {
  opacity: 1;
  pointer-events: all;
}

.header__menu-links a {
  color: white;
  text-decoration: none;
  transition: 300ms ease color;
}

.header__menu-links a:hover {
  color: rgb(var(--red-color));
}

@media screen and (max-width: 600px) {
  .header {
    padding: 20px 0;
  }

  .header__logo {
    max-width: 100px;
  }

  .header__menu-links {
    top: 120px;
    height: calc(100vh - 120px);
  }
}
