.cookie_notice[hidden] {
    display: none;
}

.cookie_notice {
    position: fixed;
    width: 90%;
    bottom: 16px;
    left: 5%;
    padding: 12px;
    z-index: 100;
    
    display: flex;
    flex-direction: column;
    gap: 10px;

    background-color: var(--black_vanta);

    border: 2px solid var(--white);
    border-radius: var(--radius-m);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);

    opacity: 0;
    transform: translateY(25px);
    animation: cookieNoticeIn 0.45s ease forwards;
}

.cookie_notice__text {
    display: grid;
    gap: 6px;
}

.cookie_notice p, .cookie_notice a {
    font-size: .9rem;
}

.cookie_notice__button {
    flex: 0 0 auto;
    align-self: center;

    min-height: 44px;
    padding: 10px 22px;

    border: 2px solid var(--white);
    border-radius: var(--radius-s);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.cookie_notice__button:hover {
    border: 2px solid var(--orange);
    color: var(--orange);
}

/* .cookie_notice__button:focus-visible,
.cookie_notice a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
} */

.cookie_notice.is-closing {
    pointer-events: none;
    animation: cookieNoticeOut 0.3s ease forwards;
}

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

@keyframes cookieNoticeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie_notice {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .cookie_notice.is-closing {
        animation: none;
    }
}





/* ------------------------------------------------------ MOBILE HORIZONTAL --------------------------- */
@media (orientation: landscape) and (max-height: 500px) {
    .cookie_notice {
        flex-direction: row;
        align-items: center;
        padding: 12px 24px;
    }
}


/* ---------------------------------------------------------- TABLET ---------------------------------- */
@media (min-width: 768px) {
    .cookie_notice {
        flex-direction: row;
        align-items: center;
        padding: 16px 28px;
        bottom: 24px;
        gap: 20px;
    }

    .cookie_notice p, .cookie_notice a {
        font-size: 1rem;
    }
}

/* --------------------------------------------------- DELL ------------------------------------- */
@media (min-width: 1200px) {
    body:not(.skip-intro) .cookie_notice {
        animation-delay: 11s;
    }
}

/* ----------------------------------------------------- Standard Display ----------------------------- */
@media (min-width: 1440px) {
    .cookie_notice {
        width: 96%;
        left: 2%;
        padding: 12px 20px;
        bottom: 24px;
        gap: 26px;
    }

    body:not(.skip-intro) .cookie_notice {
        animation-delay: 6s;
    }
}