﻿.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background: rgba(0,3,15,1);
background: -moz-linear-gradient(top, rgba(0,3,15,1) 0%, rgba(3,31,59,1) 48%, rgba(0,3,8,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,3,15,1)), color-stop(48%, rgba(3,31,59,1)), color-stop(100%, rgba(0,3,8,1)));
background: -webkit-linear-gradient(top, rgba(0,3,15,1) 0%, rgba(3,31,59,1) 48%, rgba(0,3,8,1) 100%);
background: -o-linear-gradient(top, rgba(0,3,15,1) 0%, rgba(3,31,59,1) 48%, rgba(0,3,8,1) 100%);
background: -ms-linear-gradient(top, rgba(0,3,15,1) 0%, rgba(3,31,59,1) 48%, rgba(0,3,8,1) 100%);
background: linear-gradient(to bottom, rgba(0,3,15,1) 0%, rgba(3,31,59,1) 48%, rgba(0,3,8,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00030f', endColorstr='#000308', GradientType=0 );
    overflow-x: hidden;
    transition: 0.5s;
	opacity: 0.98;
}

.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
}

.overlay a {
    padding: 0px;
    text-decoration: none;
    font-size: 14px;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
	font-weight:300;
}

.overlay a:hover, .overlay a:focus {
    color: #CFCFCF;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 30px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 14px;
    top: 15px;
    right: 35px;
  }
}