
/*-------------------HEADER----------------------------*/
.sticky-container {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 1;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-logo__title {
    font-size: 32px;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 0.06em;
    padding: 0;
}

.header-logo__subtitle {
    font: 13px/15px Arial, sans-serif;
    letter-spacing: 0.1em;
    color: #292929;
    margin-top: 10px;
    margin-left: 4px;
}

.menu__list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0 2px 2px 0;
}

.menu__item +.menu__item {
    margin-left: 35px;
}

.menu__link {
    display: block;
    font: 15px/24px Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu__link--selected {
    color: #292929;
    border-bottom: 3px solid #F1CDB3;
}

.menu__link:hover {
    color: #292929;
}

/*-------------------------BURGER-----------------*/

@media (max-width: 767.9px) {
    body {
        position: relative;
    }
}

.menu {
    background-color: #FFFFFF !important;
}

.menu.menu--burger {
    background: #FFFFFF !important;
}

.burger-line {
    background: #000000 !important;
}

/*-----------------MAIN------------------------*/
.our-friends {
    padding: 80px 0 100px;
    background-color: #F6F6F6;
}
.our-friends-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;              /*тени*/
}

.our-friends__title {
    text-align: center;
}

.btn-block {
    display: flex;
    gap: 20px;
}

@media (max-width: 1279.9px) {
    .our-friends {
        padding: 80px 0 76px;
    }

    .our-friends-flex {
        gap: 0;
    }
}

@media (max-width: 767.9px) {
    .our-friends {
        padding: 42px 0;
    }

    .btn-block {
        gap: 10px;
    }
}

/*-------------------SLIDER---------------------------*/
.our-friends .container{
    padding: 0;             /*тени*/
}

.slider-cards {
    max-width: 1280px;
    height: 960px;
    display: flex;
    gap: 30px 40px;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    padding: 30px 40px;       /*тени*/
}

.slider-card--hidden {
    display: none;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border: 2px solid #F1CDB3;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    background-color: inherit;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 0.06em;
    color: #292929;
    text-align: center;
}

.slider-btn[disabled] {
    border: 2px solid #CDCDCD;
    color: #CDCDCD;
}

.slider-btn.active-page {
    background-color: #F1CDB3;
}

.slider-btn:not([disabled], .active-page):hover {
    background-color: #FDDCC4;
    border-color: #FDDCC4;
    cursor: pointer;
}

@media (max-width: 1279.9px) {
    .slider-cards {
        max-width: 600px;
        height: 1405px;
        padding: 30px 0 10px;
    }

    .btn-block {
        margin-top: 30px;
    }

    .slider-card:hover {
        box-shadow: 0 2px 8px 8px rgba(13, 13, 13, 0.04);
    }
}

@media (max-width: 767.9px) {
    .slider-cards {
        max-width: 300px;
        height: 1419px;
        padding: 42px 0 12px;
    }

    .btn-block {
        margin-top: 30px;
    }
}

@keyframes page-animation {
    from {opacity: 0}
    to {opacity: 100%}
}

.slider-cards--animated {
    animation: 0.5s page-animation;
}
