.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    backdrop-filter: blur(12px);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    padding: 4rem 0;
    background-color: hsla(218, 95%, 8%, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 250ms ease-in-out;
}

.modal.appari {
    opacity: 1;
    visibility: visible;
}

.modal .modal-container {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.modal .cards a {
    display: block;
    margin: 2rem 0;
    border-radius: 2rem;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.modal .cards a:hover {
    transform: scale(1.02);
}

.modal .cards a div {
    background-color: hsla(218, 95%, 8%, 0.7);
    font-size: 220%;
    text-decoration: none;
    padding: 1.5rem;
    padding-top: 10rem;
    border-radius: 2rem;
    text-align: left;
}