header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem 0 0 0;
  position: fixed;
  width: 100%;
  height: 15rem;
  left: 0;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(0, 29, 27, 0.95) 0%,
    rgba(0, 29, 27, 0.85) 10%,
    rgba(0, 29, 27, 0.65) 25%,
    rgba(0, 29, 27, 0.45) 40%,
    rgba(0, 29, 27, 0.3) 55%,
    rgba(0, 29, 27, 0.15) 70%,
    rgba(0, 29, 27, 0.05) 85%,
    rgba(0, 29, 27, 0) 100%
  );
}

#desktop_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
}

#desktop_menu ul li a {
  color: var(--transp-white);
  text-decoration: none;
  font-size: 2.589rem;
  transition: color 0.3s;
  padding-top: 0.5rem;
}

#desktop_menu ul li a:hover {
  color: var(--white);
}

#desktop_menu ul li a.active {
  border-top: 0.3rem solid var(--green);
  color: var(--white);
}

/* Гамбургер -------------------------------------------------- */
#off_screen_menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  background-color: var(--dark);
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 5000;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  font-size: 2.589rem;
}

#info_container {
  opacity: 1;
}

#off_screen_menu ul {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ham_href {
  color: var(--white);
  text-decoration: none;
  margin: 6rem;
  font-size: 2.589rem;
  font-weight: 600;
}

#off_screen_menu.active {
  right: 0;
}

#ham_menu {
  display: none;
  padding: 4rem;
  z-index: 111111;
  position: fixed;
  right: 0;
}

#ham_menu_wrapper {
  cursor: pointer;
  height: 5rem;
  width: 4rem;
  position: relative;
  transition: 0.3s;
}

#ham_menu_wrapper:hover {
  transition: 0.3s;
  opacity: 0.75;
}

#ham_menu_wrapper:active {
  opacity: 0.5;
}

.line {
  border-radius: 2rem;
  height: 0.6rem;
  width: 100%;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
}

#ham_menu_wrapper .line:nth-child(1) {
  top: 25%;
}

#ham_menu_wrapper .line:nth-child(3) {
  top: 75%;
}

#ham_menu_wrapper.active .line:nth-child(1) {
  top: 50%;
  transform: translate(-50%, 50%) rotate(45deg);
}

#ham_menu_wrapper.active .line:nth-child(2) {
  opacity: 0;
}

#ham_menu_wrapper.active .line:nth-child(3) {
  top: 50%;
  transform: translate(-50%, 50%) rotate(-45deg);
}
