/*
---- Overlay
*/
.overlay {
  position: fixed;
  background: rgba(255, 255, 255, 0.98);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s, visibility .35s, height 1s;
  overflow: hidden;
  z-index:3333;
  /* padding-left:10%; */
}

.open-menu:hover {
  cursor:pointer;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

.overlay.open li {
  animation: fadeInRight .5s ease forwards;
  animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: .50s;
}

/* Navigation Title */
.overlay .nav-title {
  width:100%;
  font-size: 2.5rem;
  color: #429641;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  /* left: 50%; */
  /* transform: translate(-50%); */
  top: 8%;
}

.overlay nav {
  position: relative;
  display:block;
  height: auto;
  top: 0px;
  /* transform: translateY(-0%); */
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 8px;
}

.overlay nav.top-40 {
  margin-top: 40px;
}
.overlay nav.top-80 {
  margin-top: 80px;
}
/* .overlay nav {
  position: relative;
  height: 50%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 8px;
} */

.overlay nav.img-logo {

}

.overlay nav.img-logo img {
  width:320px;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: auto;
}
.overlay ul li {
  display: block;
  position: relative;
  opacity: 0;
  margin-bottom: 10px;
}

.overlay ul li.social {
  display: block;
  position: relative;
  opacity: 0;
  margin-bottom: 20px;
  margin-top: 80px;
  padding-left: 0px;
}

.overlay ul li a {
  font-size:1.2rem;
  display: block;
  position: relative;
  color: #18404d;
  text-decoration: none;
  overflow: hidden;
}

.overlay ul li a.social {
  font-size:2rem;
  display:inline-flex;
  position: relative;
  color: #a7c798;
  text-decoration: none;
  overflow: hidden;
}

.overlay ul li a:hover,
.overlay ul li a:focus,
.overlay ul li a:active {
  color: rgb(58, 144, 66);
}
.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
  width: 100%;
  background: #d7d2cb;
}

button:focus {
  outline: 0;
}

.close-menu,
.navbar-buttons a {
  font-size:3rem;
  color:#393939;
  cursor: pointer;
  transition: transform 0.10s;
}

.close-menu:hover,
.navbar-buttons a {
  transform: scale(1.2);
  color:#096001;
}
/*
.overlay ul li a:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 43.5%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  transition: .35s;
} */
