@import url('keyframes.css');

.cookies-alert-container {
    transition: bottom .7s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 25vh;
    background-color: #333;
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 40px;
    color: #fff;
    font-family: sans-serif;
    animation: showCookiesAlert 0.7s forwards;
    border-top: 1px solid transparent;
}

.cookies-alert-container.hide-cookies-alert {
    animation: hideCookiesAlert .7s forwards;
}

.cookies-consent-text {
    max-width: 70%;
}

.we-use-text {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.privacy-polici-link-text {
    color: #fff;
    opacity: 0.7;
    font-size: 0.95rem;
}

.privacy-polici-link-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.cookies-consent-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookies-consent-btns button:nth-child(1) {
    background: linear-gradient(to left, #fff 50%, #000 50%);
    background-size: 200% 100%;
    background-position: right;
    color: #000;
    transition: background-position 0.4s ease, color 0.4s ease;
}

.cookies-consent-btns button:nth-child(1):hover {
    background-position: left;
    color: #fff;
}

.cookies-consent-btns button:nth-child(2) {
    background: linear-gradient(to right, #fff 50%, #000 50%);
    background-size: 200% 100%;
    background-position: left;
    color: #000;
    transition: background-position 0.4s ease, color 0.4s ease;
}

.cookies-consent-btns button:nth-child(2):hover {
    background-position: right;
    color: #fff;
}

.cookies-consent-btns button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}


.cookies-consent-btns button:hover {
    color: #fff;
}


@media (max-width: 768px) {
    .cookies-alert-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .cookies-consent-text {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .cookies-consent-btns {
        justify-content: center;
        width: 100%;
    }

    .cookies-consent-btns button {
        width: 100%;
        padding: 12px;
    }
}
