/* header */

html,
body {
  overscroll-behavior: none;
  hyphens: auto;
}

body.hamburgerOpen #container,
body.hamburgerOpen .logoSection,
body.hamburgerOpen footer {
  display: none;
}

html.noScroll {
  height: 100vh;
  /* overflow: hidden; */
}

header {
  position: relative;
  width: 100vw;
  margin-bottom: -40px;
}

.websiteHamburger {
  display: none;
}

.mainNavigation {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 1000;
  padding: 20px 10px 20px;
  height: var(--headerHeight);
  margin-bottom: 50px;

  transition: all 200ms ease;
}

.mainNavigation .treatLogo {
  width: 300px;
  transition: all 200ms ease;
}

header.scrolled .mainNavigation {
  height: var(--smallheaderHeight);
  margin-bottom: 20px;
}

header.scrolled .treatLogo {
  width: 200px;
}

header.scrolled .menu2 {
  padding-bottom: 20px;
}

.menu2 {
  padding: 0 50px 20px;
}
.menu2 ul {
  display: flex;
  justify-content: space-between;
}
.menu2 li {
  list-style-type: none;
  text-transform: uppercase;
}

/* lang buttons */

.lang_btn {
  display: inline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  outline: none;
}

.lang_btnInactive {
  opacity: 50%;
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
}

.leftNav {
  display: flex;
  align-items: center;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.rightNav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* hamburger */

.hamburger {
  display: none;
  position: fixed;
  /* position: sticky; */
  right: 6%;
  top: 6%;
  transform: translateY(-50%);
  width: 40px;
  height: 28px;
  z-index: 999;
  /* background-color: grey; */
  transition: all cubic-bezier(0.88, 0.34, 0.88, 0.89) 500ms;
  cursor: pointer;
  /* // .active {
  //    position: fixed;
  //    top: 5% !important;
  // }

  // .fixit {
  //     position: fixed;
  //     top: 50px;
  // } */
}

.menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  margin-top: var(--smallheaderHeight);
  background: white;
  z-index: 10;
  display: none;
  overflow-y: scroll;
}

.mobileMenuHolder {
  min-height: 100%;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.websiteOverlay.active,
.menuOverlay.active {
  display: block;
}

.hamburger.active {
  position: fixed;
  top: 5% !important;
}

.hamburger.fixit {
  position: fixed;
  top: 50px;
}

.cross {
  background-color: black !important;
}

.hamLine1 {
  top: 0;
}

.hamLine2 {
  top: 12px;
}

.hamLine22 {
  top: 12px;
}

.hamLine3 {
  top: 24px;
}

.opened .hamLine1 {
  opacity: 0;
  /* transition-duration: 300ms; */
}

.opened .hamLine2 {
  top: 12px;
  transform: rotate(45deg);
  /* transition-duration: 300ms; */
}

.opened .hamLine22 {
  top: 12px;
  transform: rotate(-45deg);
  /* transition-duration: 300ms; */
}

.opened .hamLine3 {
  top: 24px;
  opacity: 0;
  /* transition-duration: 300ms; */
}

.hamOverlay {
  position: fixed;
  background-color: white;
  width: 0%;
  height: 100vh;
  top: 0;
  right: 0;

  z-index: 850;
  transition-duration: 500ms;
}

.socialIconsWrapperOverlay {
  display: none;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  /* width: 120px; */

  justify-content: space-between;
  gap: 20px;

  opacity: 0;
  /* display: flex; */
  flex-direction: row;
  z-index: 10;

  transition: all 800ms;
}

.hamOverlay.active {
  width: 100%;
  right: 0;
}

.hamOverlay.active .titleOverlay {
  display: flex;

  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);

  opacity: 0;

  z-index: 20;

  transition: all 800ms;
}

.titleOverlay {
  display: none;
}

.hamMenuWrapper {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  transition: all 800ms;
  /* transition-delay: 500ms; */
}

.hamOverlay .hamMenuWrapper.active,
.hamOverlay .socialIconsWrapperOverlay.active,
.hamOverlay .titleOverlay.active {
  display: flex;
}

.hamOverlay .hamMenuWrapper.opacity,
.hamOverlay .socialIconsWrapperOverlay.opacity,
.hamOverlay .titleOverlay.opacity {
  opacity: 1;
  transition: all 800ms;
}

.hamMenuPointText {
  position: relative;
  color: black;
  text-decoration: none;
  font-size: 5em;
}

.inline {
  display: inline-flex;
}

/* .hamMenuPointText:hover {
    color: black;
    text-decoration: underline;
} */

.hamMenuPointText:after {
  position: absolute;
  content: "";
  width: 0%;
  height: 5px;
  bottom: -4px;

  /* center - (optional) use with adjusting width   */
  margin: 0 auto;
  left: 0;
  right: 0;
  background: black;

  /* optional animation */
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.hamLines {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;

  position: absolute;
  width: 40px;
  height: 36px;
}

.hamLine {
  width: 40px;
  height: 3px;
  background-color: black;
  opacity: 1;
  transition: all 200ms ease;
}

.hamLine1 {
  top: 20%;
  right: 0;
}

.hamLine2 {
  top: 50%;
  right: 0;
}

.hamLineX {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamLineX1,
.hamLineX2 {
  position: absolute;
  /* opacity: 0; */
}

.websiteHamburger.active .hamLineX1 {
  transform-origin: center center;
  rotate: 45deg;
  opacity: 1;
}

.websiteHamburger.active .hamLineX2 {
  transform-origin: center center;
  rotate: -45deg;
  opacity: 1;
}

.websiteHamburger.active .hamLine1,
.websiteHamburger.active .hamLine2 {
  opacity: 0;
}

@media screen and (max-width: 1200px) {
  .mainNavigation {
    margin-bottom: 0;
  }

  .hamburger {
    display: block;
  }

  header.scrolled .mainNavigation {
    height: var(--headerHeight) !important;
  }

  .mainNavigation .treatLogo {
    width: 200px;
    transition: all 200ms ease;
  }

  .menu2 {
    display: none;
  }

  .menuList {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .menuList li {
    list-style-type: none;
  }

  .menuList li * {
    font-size: 24px;
  }

  .websiteHamburger {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 40px;
    height: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transform: translateY(-50%);
    transition: all 200ms ease;
    cursor: pointer;

    z-index: 1;

    background: none;
    border: none;
  }

    fieldset {
      border-width: 2px;
        border-style: none;
        border-color: unset;
        border-image: none;
    }
}
