/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

main > .container {
    padding: 60px 15px 0;
}

.start-game-button {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
    background-color: #81d4fa;
    color: #000;
    text-align: center;

    &:link,
    &:visited {
        text-transform: uppercase;
        text-decoration: none;
        padding: 15px 40px;
        display: inline-block;
        border-radius: 100px;
        transition: all .2s;
        position: relative;
    }

    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    &:active {
        transform: translateY(-1px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    &::after {
        content: "";
        display: inline-block;
        height: 100%;
        width: 100%;
        border-radius: 100px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: all .4s;
        background-color: #81d4fa;
    }

    &:hover::after {
        transform: scaleX(1.4) scaleY(1.6);
        opacity: 0;
    }

    @keyframes moveInBottom {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

.setup-card {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.break {
    flex-basis: 100%;
    height: 0;
}

/* over the page and the games, under the dialogs */
.cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(46rem, calc(100% - 32px));
    padding: 1rem 1.25rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    background: #212529;
    color: #fff;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5);

    a {
        color: #8bb9fe;
    }
}

.cookie-notice-icon {
    font-size: 1.8rem;
    color: #e0a458;
}

.cookie-notice-text {
    flex: 1;
}

.cookie-notice-close {
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .cookie-notice {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .cookie-notice-icon {
        display: none;
    }

    .cookie-notice-text {
        flex-basis: 100%;
    }

    .cookie-notice-close {
        width: 100%;
    }
}