@charset "utf-8";

:root {
    --dark_purple: hsl(245, 23%, 21%);
    --medium_purple: hsl(244, 11%, 50%);
    --light_purple: hsl(240, 22%, 90%);
    --red: hsl(0, 57%, 58%);
    --beige: hsl(0, 10%, 90%);
    --button: rgba(133, 133, 168, 95%);
    --title: hsl(245, 23%, 70%);
}

#cookieBanner {
    display: none;
    position: fixed;
    bottom: 1rem;
    margin: auto 20%;
    background-color: var(--dark_purple);
    border-radius: 6px;
    color: white;
    padding: 1rem 2rem;
    font-size: 14px;
    line-height: 1.2;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-in-out;
}

#cookieBanner a {
    color: white;
    border-bottom: 1px solid white;
}

#cookieBanner a:hover {
    color: #84B99A;
}

#cookieBanner button {
    background-color: var(--button);
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

#cookieBanner button:hover {
    background-color: #84B99A;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    #cookieBanner {
        padding: 1rem 1rem;
        font-size: 12px;
        bottom: 3rem;
        margin: auto 20px;
        flex-direction: column;
        align-items: center;
    }

    #cookieBanner button {
        font-size: 10px;
        padding: 5px 30px;
    }
}