

.overlay {
  height: 100%;
  width: 0;
  max-width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.92);
  overflow-x: hidden;
  transition: 0.8s;
}

.overlay-content {
  position: relative;
  top: 25%;
  
  width: 100%;
  text-align: center;
  margin-top: 30px;
}


.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 3vw;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a.smaller{
  font-size: 1.5vw;
  
}

@media screen and (max-width: 600px) {
	.overlay a {
	  font-size: 6vw;
	}
	
	.overlay a.smaller {
	  font-size: 4vw;
	
	
	}

}


.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 80px;
}



