@charset "UTF-8";
/* CSS Document */

/* overlay-styles.css */
.hamburger-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  background: #fff;
	border-radius: 50vh;
  cursor: pointer;
}

.hamburger-overlay__line {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 2px;
  background-color: #83A2A5;
  transition: all .6s;
  transform: translateX(-50%);
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #ECE484;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateX(-50%) rotate(-45deg);
  top: 50%;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #CDBBB9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 900;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
.nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.5s; }

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  color: #fff!important;
  font-size: 24px;
  text-decoration: none;
  transition: color .3s;
}

.nav-overlay__link:hover {
  color: #4a90e2;
}

@media (max-width: 800px){
  .hamburger-overlay {
    top: 5vw;
    right: 4vw;
    width: 12vw;
    height: 12vw;
  }
  .hamburger-overlay__line {
    width: 6vw;
  }
  .hamburger-overlay__line:nth-of-type(1) {
    top: calc(50% - 1.5vw);
  }
  .hamburger-overlay__line:nth-of-type(2) {
    top: 50%; 
  }
  .hamburger-overlay__line:nth-of-type(3) {
    top: calc(50% - -1.5vw); 
  }
  .hamburger-overlay.active .hamburger-overlay__line {
    top: 50%;
    left: 50%;
  }
  .nav-overlay__link {
    font-size: 5vw;
    padding: 3vw;
  }
}