@charset "UTF-8";

.header {
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  left: 20px;
  padding: 6px 8px 6px 20px;
  position: fixed;
  top: 20px;
  width: calc(100% - 40px);
  z-index: 99;
}

.header-logo {
  flex-shrink: 0;
  margin-right: auto;
}
.header-nuv {
  display: none;
}

.header-nuv__list {
  align-items: center;
  display: flex;
}

.header-nuv__item {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  line-height: calc(20 / 14);
  transition: color 0.3s ease, opacity 0.3s ease;
}
.header-nuv__item:hover {
  color: #52b0ad;
  opacity: 0.7;
}

.header-contact__link {
  align-items: center;
  background: #52b0ad;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  height: 55px;
  justify-content: center;
  width: 55px;
}
.header-contact__img {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 17px;
  justify-content: center;
  width: 17px;
}
.header-contact__img img {
  -o-object-fit: contain;
     object-fit: contain;
}
.header-contact__text {
  color: #fff;
  display: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.75px;
  line-height: calc(21 / 15);
}

.header-btn {
  background: #52b0ad;
  border-radius: 50%;
  cursor: pointer;
  height: 51px;
  position: relative;
  transition: opacity 0.3s ease;
  width: 51px;
  z-index: 90;
}
.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;
  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: 80;
}
.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%;
}

@media (min-width: 768px) {
  .header {
    gap: 15px;
  }
  .header-contact__link {
    height: 56px;
    width: 160px;
  }
  .header-contact__text {
    display: block;
  }
}

@media (min-width: 1024px) {
  .header {
    justify-content: space-between;
  }
  .header-logo {
    margin-right: 0;
  }
  .header-nuv {
    display: block;
  }
  .header-nuv__list {
    gap: 10px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
  }
}

@media (min-width: 1366px) {
  .header {
    gap: 20px;
  }
  .header-logo {
    margin-right: calc(34 / 1366 * 100vw);
  }
  .header-nuv__list {
    gap: 20px;
  }
}