.loader {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity .25s;
    transition-delay: .3s;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    font-size: 60pt;
    content: '🏈';
    animation: spin 4s linear infinite;
}

.loader.is-active {
    top: 0;
    left: 0;
    opacity: 1;
    display: flex;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader-background {
    position: fixed;
    display: none;
    background-color: #808080;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.loader-background.is-active {
    top: 0;
    left: 0;
    opacity: 0.5;
    display: flex;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    text-align: center;
}

.modal-image {
    display: inline-block;
}

.close {
    color: #000;
    display: block;
    font-size: 28px;
    font-weight: bold;
}

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

.card-container {
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
}

.ellipsis-card {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #888;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
