.modal {
    visibility: hidden;
    position: fixed;
    opacity: 0;

    width: 100%;
    height: 100%;

    overflow: auto;

    z-index: 100;
    left: 0;
    top: 0;

    transition: opacity 250ms ease-in;
}

body.dark > .modal {
    background-color: rgba(19, 19, 19, 0.7);
}

body.light > .modal {
    background-color: rgba(19, 19, 19, 0.5);
}

.modal-show {
    visibility: visible;
    opacity: 100%;
}

.modal > .content {
    width: 50vw;
    padding: 20px;
    margin: 15% auto;

    border: 1px solid #131313;
    border-radius: 10px;
}

body.dark > .modal > .content {
    color: #e1e1e1;
    background-color: #202020;
}

body.light > .modal > .content {
    color: #202020;
    background-color: #f0f4f4;
    border: 1px solid #959595;
}

body.dark > .modal > .content > .close {
    color: #ffffff;
}

body.light > .modal > .content > .close {
    color: #000000;
}
