@charset "UTF-8";

.header-logo {
  left: 10px;
  position: fixed;
  top: 10px;
  z-index: 99;
}
.header-logo__link {
  aspect-ratio: 95/142;
  width: 60px;
}

.header-contact {
  position: fixed;
  right: 70px;
  top: 10px;
  z-index: 99;
}

.header-btn {
  background: linear-gradient(to bottom, #24a71c, #6ac14b 52%, #25a217);
  border-radius: 50%;
  cursor: pointer;
  height: 51px;
  position: fixed;
  right: 10px;
  top: 10px;
  transition: opacity 0.3s ease;
  width: 51px;
  z-index: 99;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(1) {
  top: 25px;
  transform: rotate(35deg);
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(2) {
  top: 25px;
  transform: rotate(-35deg);
}

.header-btn__bar-line {
  background: #fff;
  height: 2px;
  left: 15px;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 21px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 22px;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 29px;
}

.header-drawer {
  background-color: #ffffff;
  border-left: 1px solid #66cc75;
  height: 100vh;
  min-width: 340px;
  overflow: auto;
  padding-bottom: 100px;
  padding-inline: 40px;
  padding-top: 115px;
  position: fixed;
  right: 0px;
  top: 0px;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 50%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}

.header-drawer__list {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 250px;
  width: 100%;
}

.header-drawer__item {
  font-size: 15px;
  font-weight: 500;
  padding-block: 10px;
  width: 100%;
}

.header-drawer__item--small {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  gap: 6px;
}
.header-drawer__item--small::before {
  background-color: #a5a5a5;
  content: "";
  height: 1px;
  width: 8px;
}
@media (min-width: 1024px) {
  .header-logo {
    left: 36px;
    top: 17px;
  }
  .header-logo__link {
    width: 95px;
  }
  .header-contact {
    right: 110px;
    top: 32px;
  }
  .header-btn {
    right: 44px;
    top: 32px;
  }
  .header-drawer {
    width: 30%;
  }
}