@import 'shared/variables.css';

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 4%, 5%, 0.90);
    z-index: 999;
    display: none;
}

#noCookiesBanner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #222;
    color: var(--paragraph-color-1);
    padding: 20px 40px;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
}

.logo-text-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#noCookiesBanner img {
    max-width: 40px;
    margin-right: 10px;
}

#noCookiesBanner h2 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-color-1);
}

.cookies-button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

#noCookiesBanner button {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    width: 120px;
    font-size: 1em;
    margin: 0 10px;
}

#noCookiesBanner #refuseCookies {
    background-color: transparent;
    border: none;
    color: hsl(0, 82%, 64%);
}

#noCookiesBanner #acceptCookies {
    background-color: var(--buttons-color-1);
    color: green;
    font-weight: bold;
    border: none;
}

.cookie-info {
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--paragraph-color-1);
}