@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 {
  width: 249px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
}

.header__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 0 10px;
}
@media screen and (min-width: 1200px) {
  .header__inner {
    padding: 20px 30px;
    height: 100vh;
    height: 100svh;
    border-right: 1px solid rgba(254, 249, 242, 0.26);
  }
}

.header__logo {
  aspect-ratio: 138 / 126;
  width: 100px;
  height: auto;
  transition: opacity 0.3s;
}
@media screen and (min-width: 1200px) {
  .header__logo {
    width: 138px;
  }
}
.header__logo:hover {
  opacity: 0.9;
}

.header__nav {
  display: none;
}
@media screen and (min-width: 1200px) {
  .header__nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: end;
  }
}

.header__link {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.header__link div p {
  width: fit-content;
  position: relative;
  display: inline-block;
  color: #FDF9F2;
}
.header__link div p::after {
  background-color: #FDF9F2;
  bottom: 0px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: all .3s;
  width: 100%;
}
.header__link div p:hover::after {
  bottom: -4px;
  opacity: 1;
}

.header__btn {
  width: 100%;
  background: linear-gradient(#d6d48d 0%, #53420e 100%);
  padding: 26px 59px;
  margin-top: 10px;
}
.header__btn:hover {
  opacity: 0.7;
}

.header__open {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background:rgb(123, 109, 61);
  position: fixed;
  top: 9px;
  right: 10px;
  z-index: 999999997;
  transition: opacity 0.3s;
}
@media screen and (min-width: 1200px) {
  .header__open {
	display: none; 
  }
}

.header__open:hover {
  opacity: 0.8;
}
.header__open.is-checked {
  z-index: 1000000000;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background:#fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1){
    top: 17px;
}
.header__bar:nth-of-type(2){
    top: 24px;
}
.header__bar:nth-of-type(3){
    top: 31px;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
    top: 33px;
    transform: rotate(45deg) translateX(-50%);
    left: 43%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
    display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
    top: 16px;
    transform: rotate(-45deg) translateX(-50%);
    left: 43%;
}

.header__open-text {
  position: absolute;
  bottom: 8px;
  left: 52%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #fff;
  width: max-content;
}

.header__content {
  width: 100%;
  max-width: 250px;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  padding: 100px 50px 80px;
  background: #292929d9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
  overflow: auto;
  z-index: 999999999;
}
.header__content.is-checked {
  opacity: 1;
  pointer-events: auto;
}

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

.header__content-link {
  font-size: 14px;
  padding-block: 17px;
  border-bottom: 1px dotted #FDF9F2;
  text-align: center;
}
.header__content-link div p {
  color: #FDF9F2;
}
.header__content-link:hover {
  background: #8b8b8bcc;
}
