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

#overlay-content {
	overflow: hidden; 
	width: 1050px;
	padding: 25px;
	margin: 100px auto;
	box-sizing: border-box;
	background-color: #fff;
}

.overlay-content {
    position: relative;
    top: 30px;
    width: 700px;
    padding: 25px;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
}

.overlay-content h1 {
	font-family: openSansBold;
    letter-spacing: -1px;
    font-size: 22px;
    margin: 0;
    padding: 30px 0;
}

.overlay-content p {
	font-size: 13px;
	line-height: 22px;
}

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

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

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #505050;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}