.container-modal {
    background: #fff;
    color: #000;

    background: #ffffff;
    max-width: 480px;
    text-align: left;
    left: 50% !important;
    top: 0;
    transform: translate(-50%, 0%);
    position: absolute;
}

.container-modal p,
.container-modal ul {
    padding: 10px 30px;
}

.container-modal h3 {
    background: #427a92;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    font-size: 25px;
    padding: 15px 0;
}

.open-modal {
    border: 0px;
    background: inherit;
}

.open-modal:hover {
    color: #0056b3;
    text-decoration: underline;
}

.modal {
    display: none;

    position: fixed;
    z-index: 999;
    left: 50% !important;
    top: 0;
    transform: translate(-50%, 0%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding-right: 5px;
}

.close:hover {
    color: black;
}

@media (max-width: 768px) {
    .modal {
        height: 100vh;
        overflow-y: auto;

    }

    .container-modal {
        left: 0% !important;
        transform: translate(0%, 0%);
        height: 100vh;
        overflow-y: auto;
    }
}