/* header */

.mainNavigation {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 1000;
  padding: 1em 1em;
}

/* lang buttons */

.lang_btn {
  display: inline;
  cursor: pointer;
}

.lang_btnInactive {
  opacity: 50%;
}

/* 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;
  // } */
}

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

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

.hamLines {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: black;
  opacity: 1;
  transition-duration: 70ms;
}

.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;
}

@media screen and (max-width: 1000px) {
  .hamburger {
    display: block;
  }

  .mainNavigation {
    display: none;
  }
}
