header {
  position: fixed;
  top: 0;

  width: 100%;
  max-width: 1240px;
  z-index: 3;
}

header div.wrapper {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 20px 0 32px;

  background-color: var(--black);
}

div#logo,
div#responsive-logo {
  width: 165px;
  height: 28px;

  background-image: url(../assets/logo.svg);
  background-repeat: no-repeat;
}

div#logo {
  position: absolute;
  bottom: 25px;
  left: 0;
}

header nav.navigation ul.navigation-list {
  display: flex;
  column-gap: 40px;
  align-items: center;
  justify-content: center;

  list-style: none;
}

header nav.navigation ul.navigation-list li a {
  position: relative;

  text-decoration: none;  

  font-size: 14px;
  font-weight: 500;
  line-height: 20px;

  color: var(--white);
}

header nav.navigation ul.navigation-list li a.selected::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;

  height: 12px;
  width: 100%;

  background-image: url(../assets/marker.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.hamburger-button-container {
  display: none;
}

.hamburger-button {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  position: relative;
  top: 0;
  left: 0;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

.hamburger-button > input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

.hamburger-button > span {
  display: block;
  width: 23px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;

  background: var(--white);
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

.hamburger-button span:first-child {
  transform-origin: 0% 0%;
}

.hamburger-button span:nth-last-child(3) {
  transform-origin: 0% 100%;
}

.hamburger-button input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-5px, -8px);
  background: var(--white);
}

.hamburger-button input:checked ~ span:nth-last-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.hamburger-button input:checked ~ span:nth-last-child(3) {
  transform: rotate(-45deg) translate(-11px, 16px);
}

div.responsive-menu-container {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;

  width: 100%;
  padding: 40px 0;

  z-index: 1;
  
  background: var(--black);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05), 0px 3px 2px rgba(0, 0, 0, 0.07);
}

div.responsive-menu-container .open {
  display: block;
}

div.responsive-menu-container nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;

  list-style: none;
}

div.responsive-menu-container nav ul li a.responsive-link-nav {
  display: block;

  font-size: 20px;
  font-weight: 500;
  
  color: var(--white);
  text-decoration: none;
}

div.responsive-menu-container nav ul li a.responsive-link-nav.selected {
  position: relative;
  font-weight: 700;
  color: var(--highlight);

  margin-bottom: 26px;

  row-gap: 10px;
}

div.responsive-menu-container nav ul li a.responsive-link-nav.selected::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;

  width: 100%;
  height: 12px;

  background-image: url(../assets/marker.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  header {
    position: fixed;
    left: 0;
    top: -1px;
    
    width: 100%;
    height: 78px;
    
    margin: 0;
    padding: 0 40px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05), 0px 3px 2px rgba(0, 0, 0, 0.07);
    background: var(--black);
    
    z-index: 3;
  }

  header div.wrapper {
    visibility: hidden;
  }

  .hamburger-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  nav.navigation {
    display: none;
  }

  div.download-wrapper {
    display: none;
  }

  div#logo {
    display: none;
  }
}