@import "./base/fonts.css";
@import "./base/global.css";
@import "./base/typography.css";

@import "./components/logo.css";
@import "./components/buttons.css";
@import "./components/menu.css";

@import "./blocks/header.css";

/****** Cookies popup **********/
.cookies-popup {
    position: fixed;
    width: 1200px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 12px;
    overflow: hidden;
}

.cookies-popup .desktop-hidden {
    display: none;
}
.cookies-popup.hidden {
    display: none;
}
.cookies-popup__wrapper {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookies-popup__link {
    color: #41688e;
}

.cookies-popup__buttons {
    display: flex;
}

.cookies-popup__button.button  {
    white-space: nowrap;
    border-radius: 6px;
    height: 60px;
    background-color: var(--secondary-color);
    color: #ffffff;
    font-size: 1em;
    padding: 0 20px;
    border: none;

}

.small-text {
    display: block;
    margin-top: 15px;
    font-size: 0.7rem;
    line-height: 1.2;
}

@media (max-width: 1279px) {
    .cookies-popup {
        width: calc(100vw - 60px);
    }
}

@media (max-width: 767px) {
    .cookies-popup__wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .cookies-popup__buttons,
    .cookies-popup__button {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 599px) {

    .cookies-popup {
        width: calc(100vw - 30px);
    }

    .cookies-popup .mobile-hidden {
        display: none;
    }

    .cookies-popup .desktop-hidden {
        display: block;
    }
    .cookies-popup__wrapper {
        flex-direction: row;
    }
    .cookies-popup__buttons {
        flex: 0 0 60px;
        max-width: 60px;
    }
    .cookies-popup__button{
        font-size: 16px;
        height: 45px;
        display: flex;
        padding: 10px;
        align-items: center;
        justify-content: center;
        color: #fff;
        min-width: 60px;
    }
}

/* Sticky Navigation Block */
.sticky-nav {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius:  16px;
    padding: 10px calc(var(--scale) * 30);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.sticky-nav.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    margin: 0 5px;
    background-color: #afafaf;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.sticky-nav__link.active {
    background-color: #007aff; /* Active blue background */
    color: #ffffff;
}

@media (max-width: 767px) {
    .sticky-nav {
        padding: 8px 15px;
    }
    
    .sticky-nav__link {
        padding: 6px 12px;
        font-size: 12px;
        margin: 0 3px;
    }
}