﻿body {
    font-family: 'Source Sans Pro', sans-serif;
}
/* The Overlay (background) */
.overlayass {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

/* Position the content inside the overlay */
.overlay-contentass {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* The navigation links inside the overlay */
.overlayass a {
    padding: 8px;
    text-decoration: none;
    font-size: 1.5em;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
}
/* When you mouse over the navigation links, change their color */
    .overlayass a:hover, .overlayass a:focus {
        color: #818181;
    }

/* Position the close button (top right corner) */
.overlayass .closebtn {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 60px;
}


/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 736px) {
    .overlayass {
        overflow-y: auto;
    }

        .overlayass a {
            font-size: 1.5em;
        }

        .overlayass .closebtn {
            font-size: 2em;
            top: 10%;
            right: 10%;
        }
}
