.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: center;
}

.overlay a, .overlay p {
    padding: 8px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
	
	font-weight:300;
	font-size:38px;
	line-height:40px;
	margin:0;
	text-transform: uppercase;
	letter-spacing: 1px;
	color:#666;
}

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

.overlay p {
	color:#333;
}

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

@media (max-width:512px) {
	.overlay a {
		font-size:20px;
		line-height:20px;
	}
	.times {font-size:50px !important;}
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
}