.modal {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    
    width: 300px;
    max-width: 100%;
    height: 200px;
    max-height: 100%;

    padding: 10px;

    z-index: 1010;

    background-color: white;
}

.modal-guts {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    padding: 20px 20px 50px 20px;

    overflow: auto;
}

.modal-overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    z-index: 1000;

    backdrop-filter: blur(2px);
    background-color: #fdfdfd;
    opacity: 0.8;
}

.modal .close-button,
.modal .restart-button {
    padding: 10px;

    z-index: 1;
}

.modal.closed,
.modal-overlay.closed {
    display: none;
}