.modal {
    display: none;
    position: fixed;
    z-index: 11;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    margin: 8% auto;
    width: 80%;
    position: relative;
}

@media only screen and (max-width: 425px) {
    .modal-content {
        margin: 15% auto;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: -70px;
}

@media only screen and (max-width: 425px) {
    .close {
        top: -55px;
        right: 0;
    }
    .close svg {
        width: 40px;
    }
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}