@charset "utf-8";

body.is-checked {
  overflow: hidden;
}
.header__overlay {
  background: rgba(61, 61, 61, 0.22);
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.6s, visibility 0.6s;
  visibility: hidden;
  width: 100%;
  z-index: 50;
}
.header__overlay.is-checked {
  opacity: 0.8;
  visibility: visible;
}

.header__logo {
  position: absolute;
  top: 31px;
  left: 30px;
  margin-right: 13px;
  width: 220px;
  height: auto;
  z-index: 90;
  transition: opacity 0.3s;
}
@media screen and (min-width: 1250px) {
  .header__logo {
    position: relative;
    top: 0;
    left: 0;
    width: 236px;
  }
}

.header__logo:hover {
  opacity: 0.7;
}


@media screen and (min-width: 1250px) {
  .header__nav {
    position: absolute;
    top: 31px;
    left: 30px;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    z-index: 90;
  }
}

.header__link {
  display: none;
}
@media screen and (min-width: 1250px) {
  .header__link {
    display: block;
  }
}

.header__link div p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: color 0.3s;
}
.header__link div p:hover {
  color: #A4D4C2;
}

.header__link--white div p {
  color: #fff;
}

.header__open {
  display: block;
  width: 64px;
  height: 64px;
  position: fixed;
  top: 18px;
  right: 25px;
  border-radius: 20px;
  z-index: 51;
  background: #A4D4C2;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.3s;
  z-index: 999999997;
}
@media screen and (min-width: 1024px) {
  .header__open {
    top: 18px;
  right: 45px;
  }
}

.header__open.is-checked {
  z-index: 1000000000;
}
.header__content {
  z-index: 999999999;
}

.header__open:hover {
  opacity: 0.8;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1){
  top: 22px;
}
.header__bar:nth-of-type(2){
  top: 30px;
}
.header__bar:nth-of-type(3){
  top: 38px;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
  top: 40px;
  transform: rotate(45deg) translateX(-50%);
  left: 45%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
  display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
  top: 22px;
  transform: rotate(-45deg) translateX(-50%);
  left: 45%;
}

.header__content {
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  padding: 100px 50px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s linear;
  overflow: auto;
}
.header__content.is-checked {
  transform: translateX(0);
}

.header__content-menu {
  display: flex;
  flex-direction: column;
}

.header__content-link {
  font-size: 14px;
  padding-block: 20px;
  font-weight: 500;
  border-bottom: 1px dotted #898989;
  text-align: center;
}
.header__content-link:hover {
  background: gainsboro;
}
