.header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  padding: 2.6rem 2rem;
}
@media screen and (max-width: 864px) {
  .header {
    transition: unset;
  }
}
.header.scrolled {
  background: white;
  border-bottom: 1px solid #ddd;
  position: fixed;
  padding: 2.5rem 2rem;
}
@media screen and (max-width: 864px) {
  .header.scrolled {
    padding: 0;
    border-bottom: unset;
    background: unset;
  }
}
@media screen and (max-width: 864px) {
  .header.scrolled h1 {
    opacity: 0;
    padding: 0;
    width: 0;
  }
}

nav h1 {
  width: 15.4rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
@media only screen and (max-width: 767px) {
  nav h1 {
    width: 20rem;
    position: relative;
    transform: unset;
  }
}
nav ul {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  align-items: center;
}
nav ul li {
  display: inline-block;
}
nav ul li:not(:first-child) {
  margin-left: 45px;
}
nav ul li a {
  display: inline-block;
  outline: none;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover {
  color: gray;
  text-decoration: none;
}
nav ul li:last-child {
  background: var(--main-color-linear);
  padding: 1.2rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  position: absolute;
  right: 0;
}
nav ul li:last-child a {
  color: #fff;
  font-weight: 400;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

@media screen and (max-width: 864px) {
  .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -99;
    background: var(--main-color-linear);
    opacity: 0;
    transition: all 0.2s ease;
    padding: 0;
    pointer-events: none;
  }
  .nav-container ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: block;
  }
  .nav-container ul li {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
  }
  .nav-container ul li:nth-child(1) a {
    transition-delay: 0.2s;
  }
  .nav-container ul li:nth-child(2) a {
    transition-delay: 0.3s;
  }
  .nav-container ul li:nth-child(3) a {
    transition-delay: 0.4s;
  }
  .nav-container ul li:nth-child(4) a {
    transition-delay: 0.5s;
  }
  .nav-container ul li:not(:first-child) {
    margin-left: 0;
  }
  .nav-container ul li:last-child {
    padding: 0 !important;
    background: unset;
    border: unset;
  }
  .nav-container ul li a {
    padding: 10px 25px;
    opacity: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600 !important;
    transform: translateY(-20px);
    transition: all 0.2s ease;
  }
  .nav-open {
    position: fixed;
    right: 10px;
    top: 10px;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
  }
  .nav-open i {
    display: block;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    margin-left: 14px;
  }
  .nav-open i:nth-child(1) {
    margin-top: 16px;
  }
  .nav-open i:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
  }
  .nav-open i:nth-child(3) {
    margin-top: 4px;
  }
}
#nav:checked + .nav-open {
  transform: rotate(45deg);
}
#nav:checked + .nav-open i {
  background: #000;
  transition: transform 0.2s ease;
}
#nav:checked + .nav-open i:nth-child(1) {
  transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-open i:nth-child(2) {
  opacity: 0;
}
#nav:checked + .nav-open i:nth-child(3) {
  transform: translateY(-6px) rotate(90deg);
}

#nav:checked ~ .nav-container {
  z-index: 9990;
  opacity: 1;
  pointer-events: auto;
}
#nav:checked ~ .nav-container ul li a {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}/*# sourceMappingURL=header.css.map */