@import url("./main.css");
@import url("./footer.css");

@media (max-width:700px) {
    h2 {
        font-size: 25px;
    }

}

.header {
    position: relative;
    z-index: 2;

}

.filter-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5))
}



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

.header__logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.header__logo:hover>div {
    color: var(--color-not-only-opacity);
}

.header__logo:active>.header__logo-title {
    color: var(--color-btn-marker);
}

.header__logo:active>.header__logo-subtitle {
    color: #ffffff;
}

.header__logo-title {
    font-size: 32px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 1.92px;
    line-height: 110%;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-title);
    height: 35px;
    transition: all 0.5s;
}

.header__logo-subtitle {
    margin-left: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1.4px;
    line-height: 15px;
    color: var(--color-btn-text);
    transition: all 0.5s;
}

.burger {
    display: none;
}

.header__list {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.header__link {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 160%;
    font-size: 15px;
    color: var(--color-title);
    text-decoration: none;
    transition: all 0.5s ease;

}

.active-header__item {
    border-bottom: 3px solid var(--color-btn-marker);
}


.header__link--activ {
    color: var(--color-btn-text);
    pointer-events: none;
}



.header__item:hover>.header__link {
    color: var(--color-btn-text);
}

.header__item:hover>.header__link--activ {
    color: var(--color-btn-text);
}

.header__item:active>.header__link {
    color: var(--color-title);
}


@media (max-width:767px) {

    .header__body {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header__menu {
        position: absolute;
        z-index: 10;
        top: 0px;
        right: 0px;
        width: 0px;
        height: 100vh;
        padding: 248px 0px;
        background-color: #292929;
        overflow: hidden;
        transition: width 1s ease 0.3s;
    }


    .header__list {
        flex-direction: column;
        color: transparent;

    }

    .active-header__item {
        border-bottom: 3px solid transparent;

    }

    .active-header__link {
        color: inherit;
    }

    .active-header__list {
        color: var(--color-not-only-opacity);
        transition: color 0.3s ease 0.7s;
    }


    .header__link {
        font-size: 32px;
        color: inherit;
    }

    .active-menu {
        width: 320px;
    }



    .header__link--activ {
        color: #F6F6F6;
        transition: color 0.3s ease 0.8s;
    }

    .active-header__item--active {
        border-color: var(--color-btn-marker);
        transition: border-color 0.3s ease 0.8s;

    }


    .burger {
        display: block;
        position: relative;
        z-index: 10;
        width: 30px;
        height: 2px;
        background-color: #000000;
        transition: all 0.7s ease;
    }

    .burger::after {
        position: absolute;
        top: 10px;
        content: "";
        width: 30px;
        height: 2px;
        background-color: inherit;
    }

    .burger::before {
        position: absolute;
        top: -10px;
        content: "";
        width: 30px;
        height: 2px;
        background-color: inherit;
    }

    .active-burger {
        transform: rotate(90deg);
        background-color: var(--color-btn-marker);
    }

    .active-filter {
        filter: brightness(0.5);
        pointer-events: none;

    }
}


.container-uniq {
    background-color: #F6F6F6;
}


.our-Friends__body {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.our-Friends__title {
    max-width: 400px;
    height: 92px;
    margin-bottom: 59px;
    text-align: center;
    font-size: 35px;
    line-height: 130%;
    letter-spacing: calc(35px * 0.06);
    color: var(--color-title);
    font-weight: 400;

}

.our-Friends__slider {
    padding-bottom: 100px;
}

.slider__track {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    gap: 30px 40px;
    overflow: hidden;
    flex-wrap: wrap;

}


.slider__track-Inactive {
    pointer-events: none;
}

.slider__slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    padding-bottom: 30px;
}

.slider__slide:hover>img {
    filter: opacity(0.5);
}

.slider__slide:active>img {
    filter: opacity(1);
}

.slider__slide:hover>span {
    filter: opacity(0.5);
}

.slider__slide:hover>button {
    background-color: var(--color-btn-hover);
}

.slider__slide:active>span {
    filter: opacity(1);
}

.slider__slide:active>button {
    background-color: var(--color-btn-marker);
}


.slider__img {
    transition: all 0.7s;
}

.slider__title {
    text-align: center;
    font-size: 20px;
    letter-spacing: calc(20px * 0.06);
    line-height: 23px;
    color: var(--color-title);
    transition: all 0.6s;
}



.slider__btn {
    width: 187px;
    height: 52px;
    font-size: 17px;
    line-height: 130%;
    font-weight: 400;
    letter-spacing: calc(17px * 0.06);
    color: var(--color-btn-text);
    background-color: #fff;
    border: 2px solid var(--color-btn-marker);
    border-radius: 100px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    cursor: pointer;
    transition: all 0.5s;
}

.slider__btn:hover {
    background-color: var(--color-btn-hover);
    border: 2px solid var(--color-btn-hover);
}

.slider__btn:active {
    background-color: var(--color-btn-marker);
    border: 2px solid var(--color-btn-marker);
}

.slider__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


.slider__navigation>div {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 100px;
    border: 2px solid var(--color-btn-marker);
    color: #000000;
}

.slider__navigation>.slider__pag-inactive {
    border: 2px solid var(--color-not-only-opacity);
    pointer-events: none;
}

.slider__pag-inactive>div {
    background-color: var(--color-not-only-opacity);
}

.slider__pag-box:hover {
    background-color: var(--color-btn-hover);
}

.slider__pag-box:active {
    border: 2px solid var(--color-not-only-opacity);
    color: var(--color-not-only-opacity);
    background-color: #ffffff;
}

.slider__pag-box:active>.slider__pag {
    background-color: var(--color-not-only-opacity);
}


.slider__navigation>div {
    cursor: pointer;
    transition: all 0.5s;
}


.slider__pagin-num {
    font-size: 20px;
    background-color: var(--color-btn-marker);
    pointer-events: none;
}



.slider__pag {
    position: relative;
    width: 10px;
    height: 1px;
    background-color: #000000;
}

.slider__pag::after {
    position: absolute;
    top: 4px;
    left: -2px;
    content: "";
    width: 10px;
    height: 1px;
    background-color: #000000;
}


.slider__pag-arrow-prev {
    transform: rotate(-25deg) translateY(-2px);
}

.slider__pag-arrow-prev::after {
    transform: rotate(50deg);
    background-color: inherit;
}

.slider__pag-arrow-next {
    transform: rotate(25deg) translateY(-2px);
}

.slider__pag-arrow-next::after {
    transform: rotate(-50deg) translate(2px, 2px);
    background-color: inherit;
}

@media (max-width:950px) {
    .our-Friends__slider {
        padding-bottom: 76px;
    }

    .our-Friends__title {
        margin-bottom: 30px;
    }

    .slider__track {
        margin-bottom: 40px;
        justify-content: center;
        gap: 30px 40px;
        height: 1365px;
    }
}

@media (max-width:700px) {

    .our-Friends__body {
        margin-top: 42px;

    }

    .our-Friends__slider {
        padding-bottom: 42px;
    }

    .our-Friends__title {
        margin-bottom: 15px;
        font-size: 25px;
        line-height: 130%;
        letter-spacing: calc(25px * 0.06);
    }

    .slider__navigation {
        gap: 10px;
    }

}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    background-color: #fff;
    border-radius: 5px;

}

.active-popup {
    display: block;
}

.popup__body {
    width: 70.31vw;
    max-width: 900px;
    display: grid;
    grid-template-columns: minmax(350px, 500px) minmax(280px, 400px);
    justify-content: center;
    overflow: hidden;
}





.pop__img-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup__img {
    width: 100%;
    object-fit: contain;
    vertical-align: bottom;
}

.popup__info {
    margin-left: 29px;
    margin-right: 20px;
}



.popup__title {
    margin-top: 50px;
    margin-bottom: 10px;
    text-align: left;
    color: #000000;
}



.popup__type {
    display: inline;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: calc(20px * 0.06);
    font-weight: 400;
    color: #000000;
}

.popup__breed {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: calc(20px * 0.06);
    font-weight: 400;
    color: #000000;
}

.popup__description {
    max-width: 350px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 15px;
    line-height: 110%;
    letter-spacing: calc(15px * 0.06);
    font-weight: 400;
    text-align: left;
    color: #000000;
}

.popup__list {
    position: relative;
}

.popup__list>li {
    margin-bottom: 10px;
    list-style-type: none;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 17px;
    line-height: 110%;
    letter-spacing: calc(15px * 0.06);
    font-weight: 700;
    color: #000000;
}

.popup__list>li::before {
    content: "•";
    color: var(--color-btn-marker);
}

.popup__list>li>span {
    font-weight: 400;
}


.popup__cross-box {
    position: absolute;
    top: -52px;
    right: -40px;
    width: 52px;
    height: 52px;
    border: 2px solid var(--color-btn-marker);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease;
    cursor: pointer;
}


.popup__cross-box:hover {
    background-color: #F6F6F6;
}

.popup__cross-box:hover>.popup__cross {
    background-color: var(--color-btn-marker);
}

.popup__cross {
    display: block;
    width: 2px;
    height: 12px;
    background-color: #000000;
    transform: rotate(45deg);
    transition: background-color 0.5s ease;
}

.popup__cross::before {
    content: "";
    display: block;
    width: 2px;
    height: 12px;
    background-color: inherit;
    transform: rotate(-90deg);
}


@media (max-width: 1200px) {
    .popup__body {
        width: 82.03vw;
    }

    .popup__description {
        font-size: 13px;
    }

}

@media (max-width: 900px) {
    .pop__img-box {
        align-items: end;
        height: 350px;
    }

    .popup__info {
        margin-left: 11px;
        margin-right: 9px;
        margin-bottom: 37px;
    }

    .popup__title {
        margin-top: 10px;
        margin-bottom: 9px;
        height: 45px;
    }

    .popup__description {
        margin-top: 20px;
        margin-bottom: 19px;
        letter-spacing: calc(13px * 0.06);
        font-weight: 400;
    }

    .popup__list>li {
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .popup__body {
        width: 82.03vw;
        grid-template-columns: 350px 280px;
    }
}

@media (max-width:750px) {
    .popup__cross-box {
        position: absolute;
        top: -52px;
        right: -25px;
    }

    .popup__body {
        max-width: 240px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pop__img-box {
        display: none;
    }

    .popup__info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 11px;
        margin-right: 9px;
        margin-bottom: 10px;
    }

    .popup__title {
        display: inline;
        text-align: center;
    }

    .popup__type {
        display: inline;
        text-align: center;
    }

    .popup__breed {
        text-align: center;
    }

    .popup__list {
        align-self: self-start;
    }
}