header {
  position: fixed;
  width: 100%;
  z-index: 10;
}
header .header-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100px;
  padding-right: 40px;
  padding-left: 40px;
}
header .header-logo-wr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  max-width: 300px;
  gap: 20px;
}
header .header-logo {
  display: block;
  width: 100%;
  max-width: 120px;
  font-size: 25px;
  color: #534e45;
  font-weight: 500;
  line-height: 1;
  font-family: "arial", sans-serif;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-logo:hover {
  opacity: 0.8;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-logo span {
  font-size: 16px;
}
header .header-logo-nail {
  display: block;
  width: 100%;
  max-width: 160px;
  font-size: 25px;
  color: #534e45;
  font-weight: 500;
  line-height: 1;
  font-family: "snell-roundhand-lt-std", sans-serif;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-logo-nail:hover {
  opacity: 0.8;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-logo-nail span {
  font-size: 16px;
}
header .header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 25px;
  width: 100%;
}
header .header-nav-link {
  display: block;
  font-family: "arial", sans-serif;
  font-size: 16px;
  color: #534e45;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}
header .header-nav-link.contact {
  border: 1px solid #534e45;
  color: #534e45;
  font-size: 14px;
  height: 26px;
  width: 100%;
  max-width: 110px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-nav-link.contact:hover {
  background-color: #534e45;
  border: 1px solid #534e45;
  color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-nav-link:hover {
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .nav-contact-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 230px;
}
header .link-item.current {
  position: relative;
}
header .link-item.current::after {
  content: "";
  display: block;
  background-color: #534e45;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  right: 0;
  left: 0;
  top: -14px;
  margin: auto;
}
@media screen and (max-width: 1100px) {
  header .header-flex {
    padding-right: 10px;
    padding-left: 10px;
  }
  header .header-logo-wr {
    max-width: 200px;
    gap: 10px;
  }
  header .header-logo {
    max-width: 100px;
    font-size: 18px;
  }
  header .header-logo span {
    font-size: 14px;
  }
  header .header-logo-nail {
    max-width: 100px;
    font-size: 18px;
  }
  header .header-logo-nail span {
    font-size: 14px;
  }
  header .header-nav {
    gap: 10px;
  }
  header .header-nav-link {
    font-size: 12px;
    font-weight: 500;
  }
  header .header-nav-link.contact {
    font-size: 12px;
    height: 26px;
    max-width: 80px;
  }
  header .nav-contact-flex {
    gap: 5px;
    max-width: 170px;
  }
}
@media screen and (max-width: 767px) {
  header .header-flex {
    height: 50px;
    padding: 0 15px;
  }
  header .header-logo {
    max-width: unset;
  }
  header #g-nav {
    position: fixed;
    z-index: 5;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100vh;
    background: #fff;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    overflow: scroll;
    border-left: 1px solid #493F37;
  }
  header .header-nav {
    display: block;
    position: relative;
    z-index: 6;
    margin-top: 60px;
    max-width: 100%;
  }
  header .header-nav-link {
    position: relative;
    display: block;
    color: #493F37;
    font-size: 16px;
    line-height: 1;
    padding: 15px 20px;
  }
  header .header-nav-link.contact {
    border: unset;
    background-color: #493F37;
    color: #fff;
    font-size: 14px;
    height: 30px;
    width: 100%;
    max-width: 110px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 20px;
  }
  header .header-nav-link.contact:hover {
    background-color: unset;
    border: 1px solid unset;
    color: unset;
  }
  header .header-nav-link:hover {
    color: unset;
  }
  header .nav-contact-flex {
    display: block;
    max-width: unset;
    padding-left: 20px;
    margin-top: 30px;
  }
  header #g-nav.panelactive {
    right: 0;
  }
  header .link-item.current::after {
    display: none;
  }
  header .openbtn {
    position: relative;
    width: 25px;
    height: 25px;
    z-index: 6;
    cursor: pointer;
    top: 2px;
  }
  header .openbtn span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    position: absolute;
    right: 0;
    height: 2px;
    background-color: #493F37;
  }
  header .openbtn.openbtn.active span {
    background-color: #493F37;
  }
  header .openbtn span:nth-of-type(1) {
    top: -10px;
    bottom: 0;
    margin: auto;
    height: 2px;
    width: 24px;
  }
  header .openbtn span:nth-of-type(2) {
    top: 1px;
    bottom: -10px;
    margin: auto;
    width: 24px;
  }
  header .openbtn.active span:nth-of-type(1) {
    -webkit-transform: translateY(6px) rotate(-45deg);
            transform: translateY(6px) rotate(-45deg);
    width: 24px;
  }
  header .openbtn.active span:nth-of-type(2) {
    -webkit-transform: translateY(-4px) rotate(45deg);
            transform: translateY(-4px) rotate(45deg);
    width: 24px;
  }
}

@media screen and (max-width: 767px) {
  header.active .header-content {
    background-color: #ffffff;
    border-left: 1px solid #493F37;
    border-right: unset;
  }
  header.active .header-logo-content {
    -webkit-filter: brightness(0) saturate(100%) invert(19%) sepia(89%) saturate(2565%) hue-rotate(211deg) brightness(96%) contrast(107%);
            filter: brightness(0) saturate(100%) invert(19%) sepia(89%) saturate(2565%) hue-rotate(211deg) brightness(96%) contrast(107%);
  }
}
header.scrolled {
  background-color: #f5f5f5;
}
header.scrolled .header-flex {
  height: 70px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding-bottom: 10px;
}
header.scrolled .header-logo {
  color: #493F37;
}
header.scrolled .header-logo-nail {
  color: #493F37;
}
header.scrolled .header-nav-link {
  color: #493F37;
}
header.scrolled .header-nav-link.contact {
  border: 1px solid #493F37;
  color: #493F37;
}
header.scrolled .header-nav-link.contact:hover {
  background-color: #493F37;
  border: 1px solid #493F37;
  color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header.scrolled .header-nav-link:hover {
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header.scrolled .link-item.current::after {
  background-color: #493F37;
}

@media screen and (max-width: 767px) {
  header.scrolled .header-flex {
    height: 50px;
  }
  header.scrolled .header-logo {
    color: #493F37;
  }
  header.scrolled .header-nav-link {
    color: #493F37;
  }
  header.scrolled .header-nav-link.contact {
    color: #fff;
  }
  header.scrolled .link-item.current::after {
    background-color: #493F37;
  }
  header.scrolled .openbtn span {
    background-color: #493F37;
  }
}