﻿.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,59,76);
    background-color: rgba(0,59,76, 0.99);
    overflow-x: hidden;
    overflow-y: scroll !important;
    transition: 0.3s;
}

.overlay-content {
    position: relative;
    top: 10%;
    width: 100%;
    text-align: center;
}

.overlay a {
    padding: 15px;
    text-decoration: none;
    font-size: 24px;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #818181;
}

.overlay .closebtn {
    position: absolute;
    right: 15px;
    font-size: 40px;
}

@media (max-width: 460px) {
    .overlay a {
        padding: 10px;
        text-decoration: none;
        font-size: 18px;
        display: block;
        transition: 0.3s;
        line-height:1.4;
    }
}
