#cookie-notification {
    background-color: var(--hs-dark-transparent);
    padding: 1rem;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 1rem auto;
    position: fixed;
    animation: 1s ease-out 0s 1 slideInFromBottom;
    overflow: hidden;
    font-weight: 200;
    z-index: 9;

    & > #cookie-info {
        color: var(--hs-white);
        display: inline;
        font-size: 1rem;

        & > a {
            cursor: pointer;
            transition: all 200ms ease-in-out;
            color: var(--hs-brightred-glow);
        }

        & > a:hover {
            color: var(--hs-white);
        }
    }

    & > #accept-cookies {
        width: 5rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: lighter;
        padding: 10px;
        background-color: var(--hs-red);
        color: var(--hs-white);
        border-radius: 7px;
        border: 0;
        cursor: pointer;
        transition: background-color 200ms;
        display: inline;
        margin-left: 1rem;
    }

    & > #accept-cookies:hover {
        background-color: var(--hs-brightred);
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    #cookie-notification {
        margin: 0;
        padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));

        & > #cookie-info {
            font-size: 0.9rem;
            display: inline-block;
            width: 100%;
        }

        & > #accept-cookies {
            display: block;
            margin: 0.75rem auto 0;
            font-size: 1rem;
            width: 100%;
        }
    }
}