﻿/*
https://codepen.io/imprakash/pen/GgNMXO
*/

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.popup {
    text-align: center;
    margin: 20px auto 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    width: 90%;
    min-width: 300px;
    max-width: 600px;
    max-height: 96vh;
    position: relative;
    overflow-y: hidden;
}

    .popup h2 {
        margin-top: 0;
        color: #333;
        font-family: Tahoma, Arial, sans-serif;
    }

    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

        .popup .close:hover {
            color: maroon;
        }

popupContent {
    overflow: auto;
}

.popupTitle {
    font-size: 26px;
    font-weight: bold;
}

@media screen and (max-width: 700px) {
    .popup {
        width: 95%;
        padding: 5px;
    }

        .popup .close {
            position: absolute;
            top: 5px;
            right: 5px;
        }
}

.popup input[type="submit"] {
    min-width: 100px;
    height: 50px;
}
