html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

html.no-scroll {
    overflow: hidden;
}

.body__wrapper {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    margin: 0 auto;
    overflow: hidden;
}

.overlay {
        position: fixed;
        background-color:#29292999;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        display: none;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
        display: flex;
}

.container {
    margin: 0 auto;
    background: radial-gradient(ellipse at 0% 0%, #5B483A 0%, #262425 100%);
    }

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 3rem 4rem 0;
    max-width: 128rem;
    width: 100%;
}

.header__logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header__logo-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.2rem;
    line-height: 110%;
    letter-spacing: 6%;
    color: #F1CDB3;
}

.header__logo-subtitle {
    font-size: 1.3rem;
    line-height: 100%;
    letter-spacing: 10%;
}

.burger-menu {
    display: none;
}

.mobile-menu {
    display: none;
}


.navigation__list {
    display: flex;
    flex-wrap: nowrap;
    max-width: 44.3rem;
    gap: 3.5rem;
}

.navigation__link {
    font-size: 1.5rem;
    line-height: 160%;
    color: #CDCDCD;
}

.navigation__link:hover,
.mobile-nav__link:hover {
    color: #FAFAFA;
}

.navigation__link--active{
    color: #FAFAFA;
    border-bottom: 3px solid #F1CDB3;
    cursor: default;
    pointer-events: none;
}

.not-only {
    margin: 0 auto;
    margin-top: 9rem;
    max-width: 128rem;
    width: 100%;
    display: flex;
    gap: 4.2rem;
}

.not-only__container {
    display: flex;
    flex-direction: column;
    padding-top: 16.3rem;
    margin-left: 4rem;
    max-width: 46rem;
    gap: 4.2rem;

}

.not-only__container-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 4.4rem;
    line-height: 130%;
    color: #FFFFFF;
    max-width: 31rem;
}

.not-only__container-text {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 160%;
    color: #CDCDCD;
}

.not-only__container-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #292929;
    background-color: #F1CDB3;
    width: 20.7rem;
    height: 5.2rem;
    border-radius: 10rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 6%;
    margin-bottom: 24.3rem;
}

.not-only__img {
    max-width: 100%;
    object-fit: contain;
}


.about__container {
    margin: 8rem auto;
    display: flex;
    justify-content: center;
    gap: 12rem;
    margin-bottom: 10rem;
    max-width: 128rem;
    width: 100%;
}

.about__pets {
    width: 30rem;
    height: 40.8rem;
}

.about__content {
    max-width: 43rem;
    padding-top: 1.3rem;
}

.about__title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
    max-width: 37rem;
}

.about__text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: 160%;
    font-weight: 400;
    color: #4C4C4C;
    margin-top: 2.5rem;
}

.our-friends {
    background-color: #F6F6F6;
    width: 100%;
    margin: 0 auto;
}

.our-friends__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    max-width: 120rem;
    margin: 0 auto;
    width: 100%;
    position: relative;

}

.our-friends__title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
    max-width: 40rem;
    margin: 0 auto;
    margin-top: 8rem;
    text-align: center;
}

.our-friends__slider {
    display: flex;
    flex-direction: row;
    max-width: 120rem;
    justify-content: space-between;
    align-items: center;
}

.slider__arrow-left,
.slider__arrow-right {
    background-image: url(./images/left-Arrow.png);
    height: 5.2rem;
    width: 5.2rem;
    border-radius: 10rem;
    border: 2px solid #F1CDB3;
    background-repeat: no-repeat;
    background-position: center;
    background-color: inherit;
}
.slider__arrow-right {
    background-image: url(./images/right-Arrow.png);
}

.slider__cards {
    display: flex;
    gap: 9rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    order: 1;
    flex: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider__arrows {
    max-width: 128rem;
    display: flex;
    order: 0;
    position: absolute;
    width: 100%;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-30%);
    left: 0.5rem;
    padding: 0 2rem;
}



.slider__card {
    max-width: 27rem;
    background-color: #FAFAFA;
    border-radius: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider__card:hover,
.our-friends__card:hover {
    transform: scale(1.02);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider__card:hover .card__btn,
.our-friends__card:hover .card__btn {
    cursor: pointer;
    background-color: #FDDCC4;
    border-color: #FDDCC4;
}


.slider-wrapper {
    margin:  0 auto;
}

.card__image {
    width: 27rem;
    height: 27rem;
}

.card__title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    line-height: 100%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
    margin-top: 3rem;
}

.card__btn {
    border-radius: 10rem;
    border: 2px solid #F1CDB3;
    padding: 1.3rem 4.4rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.7rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #292929;
    font-weight: 400;
    margin: 3.2rem auto;
    background-color: inherit;
    transition: all 0.3s ease;
}

.our-friends__container-btn {
    border-radius: 10rem;
    background-color:  #F1CDB3;
    padding: 1.5rem 4.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.7rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #292929;
    font-weight: 400;
    margin-bottom: 10rem;
}

.help__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 8rem auto 10rem;
    max-width: 120rem;
    width: 100%;
}

.help__title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #545454;
    margin-bottom: 6rem;
    font-weight: 400;
    max-width: 31rem;
    text-align: center;
}

.help__list {
    max-width: 103rem;
    display: flex;
    gap: 5.5rem 12rem;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.help__img {
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
}

.help__text {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    line-height: 115%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
    margin-top: 3rem;
    text-align: center;
}

.in-addition {
    background-color: #F6F6F6;
    padding-bottom: 10rem;
}

.in-addition__container {
    margin:  0 auto;
    padding-top: 8rem;
    max-width: 91.5rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.in-addition__content {
    max-width: 38rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.in-addition__title {
    max-width: 30rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    line-height: 130%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
}

.in-addition__subtitle {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    line-height: 110%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
}

.in-addition__credit-card {
    position: relative;
    border-radius: 0.9rem;
    background-color: #F1CDB3;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
    line-height: 115%;
    letter-spacing: 6%;
    color: #545454;
    font-weight: 400;
    padding: 1rem 1.5rem 1rem 6rem;
}

.in-addition__credit-card::before {
    position: absolute;
    content: '';
    background-image: url(./images/credit-card.svg);
    width: 3rem;
    height: 2.3rem;
    background-repeat: no-repeat;
    top: 1rem;
    left: 1.5rem;
}

.in-addition__text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #B2B2B2;
    font-weight: 400;
    font-style: italic;
}

.footer {
    padding-top: 4rem;
    margin: 0 auto;
    background: radial-gradient(ellipse at 0% 0%, #5B483A 0%, #262425 100%);
}

.footer__container {
    max-width: 120rem;
    display: flex;
    gap: 16rem;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    width: 100%;
    flex-wrap:nowrap;
}

.footer__contacts{
        max-width: 28rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    .footer__title {
        font-size: 3.5rem;
        color: #FFFFFF;
        line-height: 130%;
        font-weight: 400;
        letter-spacing: 6%;
        margin-top: 1.6rem;
    }

    .footer__contacts-list {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        margin-top: 4rem;
    }

    .footer__contacts-item {
        max-width: 25.1rem;
    }

    .footer__link {
        font-size: 2rem;
        color: #F1CDB3;
        line-height: 115%;
        font-weight: 400;
        letter-spacing: 6%;
        position: relative;
        padding-left: 6rem;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0.5rem;
        padding-bottom: 0.4rem;
    }

    .footer__link--email::before {
        content: '';
        position: absolute;
        background-image: url(./images/icon-email.svg);
        background-repeat: no-repeat;
        width: 4rem;
        height: 3.2rem;
        left: 0;
        top: 0;
    }

    .footer__link--phone::before {
        content: '';
        position: absolute;
        background-image: url(./images/icon-phone.svg);
        background-repeat: no-repeat;
        width: 4rem;
        height: 3.2rem;
        left: 0;
        top: 0;
    }

    .footer__location {
        max-width: 30.2rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }

    .footer__location-list {
        display: flex;
        flex-direction: column;
        gap: 3.2rem;
        margin-top: 2.2rem;
    }

    .footer__link--location {
        max-width: 30.2rem;
        padding-left: 4rem;
    }

    .footer__link--location::before {
    content: '';
    position: absolute;
    background-image: url(./images/icon-marker.png);
    background-repeat: no-repeat;
    width: 2.2rem;
    height: 3.2rem;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


/* OUR PETS*/
.header__logo-title--black,
.navigation__link--dark {
    color: #545454;
}

.header__logo-subtitle--black {
    color: #292929;
}

.navigation__link--dark.navigation__link--active {
    color: #292929;
}

.navigation__link--dark:hover {
    color: #292929;
}

.header__wrapper.dark {
    padding-bottom: 3rem;
}

.our-friends__cards {
    display: flex;
    gap: 3rem 4rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
}

.our-friends__cards.pets {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.our-friends__card {
    max-width: 27rem;
    background-color: #FAFAFA;
    border-radius: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.our-friend__pagination {
    max-width: 34rem;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    margin-top: 4.5rem;
    padding-bottom: 10rem;
}

.pagination__btn {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 10rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 115%;
    letter-spacing: 6%;
    border: 2px solid #F1CDB3;
    background-color: inherit;
    padding: 0;
    transition: all 0.3s ease;
}

.pagination__btn:disabled {
    cursor: not-allowed;
    border-color: #CDCDCD;
    color: #CDCDCD;
}

.pagination__btn:disabled:hover {
    background-color: inherit;
}


.pagination__btn--active {
    background-color: #F1CDB3;
}

.pagination__btn--active:hover {
    background-color: #F1CDB3;
    cursor: default;
}

.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #29292999;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FAFAFA;
    border-radius: 0.9rem;
    max-width: 90rem;
    width: 100%;
    max-height: 50rem;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    margin: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-pet {
    display: flex;
    gap: 2.9rem;
    justify-content: flex-start;
}

.modal-pet-image img {
    width: 50rem;

}

.modal-pet-info {
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 6%;
    color: #000000;
    margin-top: 5rem;
    padding-right: 2rem;
}

.modal-pet-info h3{
    font-size: 3.5rem;
    line-height: 130%;
    font-weight: 400;
    margin: 0;
    margin-bottom: 1rem;
}

.pet-type {
    font-size: 2rem;
    line-height: 115%;
    font-weight: 400;
    margin-bottom: 4rem;
}

.pet-description {
    font-size: 1.5rem;
    line-height: 110%;
    font-weight: 400;
    margin-bottom: 4rem;
    max-width: 35rem;
}

.modal-details {
    max-width: 15.4rem;
}


.modal-details__item {
    display: flex;
    align-items: baseline;
    padding: 0;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.modal-details__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #F1CDB3;
}

.modal-details__label {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 110%;
}

.modal-details__value {
    display: inline-block;
    padding-left: 0.5rem;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 110%;
}

.modal-close {
    position: absolute;
    top: -5.5rem;
    right: -5.2rem;
    width: 5.2rem;
    height: 5.2rem;
    border: 0.2rem solid #F1CDB3;
    background-image: url(./images/modalCLose.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2001;
}

.modal-wrapper {
    position: relative;
}

@media (max-width:1024px) {
    .not-only__img {
        max-width: 50%;
    }

    .about__container {
        gap: 6rem;
        padding: 0 3rem;
        max-width: 100%;
        margin: 6rem auto;
    }

    .our-friends__container {
        padding: 0 3rem;
        max-width: 100%;
    }

    .our-friends__slider {
        max-width: 100%;
        gap: 1rem;
    }

    .slider__cards {
        gap: 4rem;
    }

    .slider__card:nth-child(3) {
        display: none;
    }

    .slider__arrows {
        max-width: 100%;
        margin: 0 auto;
        left: 0;
        justify-content: center;
        gap: 61rem;
    }

    .in-addition__container {
        padding: 6rem 3rem 0;
        max-width: 100%;
        gap: 2rem;
    }
    .in-addition__img {
        max-width: 45%;
        height: auto;
    }

    .in-addition__content {
        max-width: 35rem;
    }

    .in-addition__title {
        font-size: 3rem;
        max-width: 28rem;
    }

    .footer__container {
        gap: 8rem;
        padding: 0 3rem;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__contacts,
    .footer__location {
        max-width: 24rem;
    }

    .footer__title {
        font-size: 3rem;
    }

    .footer__link {
        font-size: 1.8rem;
        padding-left: 5rem;
    }

    .footer__image {
        max-width: 60%;
        height: auto;
    }

    .modal-content {
        max-width: 63rem;
        width: 100%;
        max-height: 35rem;
    }

    .modal-body {
        width: 100%;
    }

    .modal-pet {
        gap: 1.1rem;
    }


    .modal-pet-image img {
        width: 40rem;


    }

    .modal-pet-info {
        margin-top: 1rem;
        padding-right: 0;
        padding-left: 0;
    }

    .pet-type {
        margin-bottom: 2rem;
    }


    .pet-description {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        max-width: 29rem;
    }



    .modal-close {
        top: -5.5rem;
        right: -4.2rem;
    }
    .modal-details {
        margin-bottom: 2rem;
    }
}



@media (max-width: 767px) {


    .navigation {
        display: none;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 3rem;
        width: 100%;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .burger-menu:hover {
        cursor: pointer;
    }

    .burger-menu__line {
        display: block;
        height: 0.2rem;
        background-color: #F1CDB3;
        padding: 0;
    }

    .burger-menu__line.dark {
        background-color: #000000;
    }


    .burger-menu.active {
        transform: rotate(90deg);
    }


    .mobile-menu {
        position: fixed;
        display: block;
        width: 32rem;
        height: 100vh;
        background-color: #292929;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-nav__list {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        margin: 0 auto;
        margin-top: 24.8rem;
        max-width: 24.3rem;
        justify-content: center;
        align-items: center;
    }

    .mobile-nav__link {
        font-weight: 400;
        font-size: 3.2rem;
        line-height: 160%;
        color: #CDCDCD;
    }

    .mobile-nav__link--active {
        color: #FAFAFA;
        border-bottom: 0.3rem solid #F1CDB3;
        cursor: default;
        pointer-events: none;
    }

    .header__wrapper {
        padding: 3rem 1rem 0 1rem;
        max-width: 70.8rem;

    }

    .not-only {
        margin: 0 auto;
        margin-top: 6rem;
        max-width: 76.8rem;
        flex-direction: column;
        gap: 10rem;
    }

    .not-only__img {
        width: 56.9rem;
        height: 59.3rem;
        margin: 0 auto;
        margin-left: 17rem;
        max-width: 100%;

    }

    .not-only__container {
        display: flex;
        flex-direction: column;
        max-width: 47rem;
        margin: 0 auto;
        gap: 4.2rem;
        padding: 0;
        padding-left: 1rem;

    }



    .not-only__container-btn {
        margin: 0 auto;
    }


    .about__container {
        flex-direction: column-reverse;
        gap: 8rem;
        max-width: 76.8rem;
        margin: 7rem auto 10rem;
        align-items: center;
    }

    .about__content {
        padding-left: 1rem;
    }

    .our-friends__container {
        gap: 6rem;
        margin: 0 auto;
        padding-left: 5rem;
        max-width: 76.8rem;
    }


    .our-friends__slider {
        max-width: 70.8rem;
        width: 100%;
    }


    .slider__cards {
        display: flex;
        gap: 4rem;
        margin: 0 auto;
    }

    .slider__arrows {
        max-width: 70.8rem;
        left: 3rem;
        gap: 40rem;
    }


    .slider__card:nth-child(3) {
        display: none;
    }


    .help__container {
        max-width: 76.8rem;
        padding-left: 1rem;
        margin-bottom: 9rem;
    }

    .help__list {
        max-width: 63rem;
        gap: 5.5rem 6rem;
    }

    .help__img {
        margin: 0 5.5rem;
    }


    .in-addition__container {
        max-width: 76.8rem;
        flex-direction: column-reverse;
        gap: 6rem;
        width: 100%;
        padding-left: 1rem;
        padding-top: 8.5rem;
    }
    .in-addition {
        padding-bottom: 10rem;
    }

    .in-addition__title {
        font-size: 3.5rem;
        max-width: 29rem;
    }

    .in-addition__img {
        max-width: 100%;
        margin-left: 5rem;
    }

    .footer {
        padding-top: 1.2rem;
    }

    .footer__container {
        max-width: 76.8rem;
        gap: 6.5rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .footer__contacts {
        max-width: 29rem;
        padding-left: 1rem;
    }

    .footer__location {
        max-width: 30.2rem;
    }

    .footer__title {
        font-size: 3.5rem;
    }

    .footer__contacts-list {
        margin-left: 1rem;
    }

    .footer__link {
        font-size: 2rem;
    }

    .footer__link--location {
        padding-left: 4rem;
    }

    .our-friends__container.pets {
        gap: 3rem;
    }

    .our-friends__card:nth-child(7),
    .our-friends__card:nth-child(8) {
        display: none;
    }

    .our-friend__pagination {
        margin: 2.5rem auto 0;
        padding-bottom: 7.5rem;
    }


}

@media (max-width:661px) {

    .not-only {
        flex-direction: column;
        gap: 6rem;
        padding: 0 2rem;
        margin-top: 4rem;
        max-width: 100%;
    }

    .not-only__container {
        padding-top: 0;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .not-only__container-title {
        font-size: 3.2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .not-only__container-text {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .not-only__container-btn {
        margin: 0 auto;
        width: 18rem;
        height: 4.8rem;
        font-size: 1.5rem;
        margin-bottom: 10rem;
    }

    .not-only__img {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    .about__container {
        flex-direction: column-reverse;
        gap: 5rem;
        padding: 0 2rem;
        max-width: 100%;
        margin: 5rem auto;
    }

    .about__title {
        font-size: 2.8rem;
        text-align: center;
        max-width: 100%;
    }

    .about__text {
        font-size: 1.4rem;
        text-align: center;
    }

    .about__pets {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    .our-friends__container {
        padding: 0 2rem;
        max-width: 100%;
    }

    .our-friends__title {
        font-size: 2.8rem;
        max-width: 100%;
    }

    .our-friends__slider {
        flex-direction: column;
        gap: 3rem;
        max-width: 100%;
    }

    .slider__cards {
        gap: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slider__card {
        max-width: 27rem;
    }
    .slider__card:nth-child(2),
    .slider__card:nth-child(3) {
        display: none;
    }

    .slider__arrows {
        position: relative;
        transform: translateY(0);
        max-width: 100%;
        gap: 4rem;
        justify-content: center;
        left: 0;
    }

    .slider__arrow-left,
    .slider__arrow-right {
        width: 4.8rem;
        height: 4.8rem;
        position: static;
    }

    .our-friends__container-btn {
        margin-bottom: 5rem;
    }


    .modal-content {
        max-width: 27rem;
        width: 100%;
        max-height: 39.3rem;
    }

    .modal-body {
        width: 100%;
    }

    .modal-pet {
        gap: 0;
    }


    .modal-pet-image img {
        display: none;


    }

    .modal-pet-info {
        max-width: 22rem;
        margin: 1rem;
        text-align: center;
    }



    .pet-description {
        text-align: start;
    }
}

@media (max-width: 320px) {
    .navigation {
        display: none;
    }
    .navigation.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: #292929;
        z-index: 1000;
        animation: slideIn 0.3s ease;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 3rem;
        width: 100%;

    }
    .burger-menu__line {
        display: block;
        height: 0.2rem;
        background-color: #F1CDB3;
        padding: 0;
    }

    .burger-menu__line.dark {
        background-color: #000000;
    }

    .header__wrapper {
        padding-top: 3rem;
        padding-right: 0;
        max-width: 28rem;

    }

    .not-only {
        max-width: 32rem;
        gap: 0.5rem;
        margin-top: 6rem;
        padding: 0;
    }

    .not-only__img {
        width: 26rem;
        height: auto;
        margin: 0;
        margin-left: 5rem;
    }

    .not-only__container {
        max-width: 32rem;
        margin: 0 auto;
    }

    .not-only__container-title {
        font-size: 2.5rem;
        max-width: 30rem;
        letter-spacing: 6%;
        text-align: center;
        padding: 0 2rem;
    }

    .not-only__container-text {
        text-align: center;
        font-size: 1.5rem;
        padding: 0;
    }

    .not-only__container-btn {
        width: 20.7rem;
        height: 5.2rem;
        font-size: 1.7rem;
    }



    .about__container {
        gap: 4.2rem;
        max-width: 32rem;
        margin: 4.2rem auto;
        padding: 0;
    }

    .about__content {
        padding: 0;
        padding-left: 1rem;
    }

    .about__title {
        font-size: 2.5rem;
        text-align: center;
        padding: 0 2rem;
    }

    .about__text  {
        width: 100%;
        max-width: 27rem;
        margin: 0 auto;
        text-align: justify;
        padding-top: 2.8rem;
        font-size: 1.5rem;
    }

    .about__text.two {
        padding-top: 2rem;
    }

    .about__pets {
        width: 26rem;
        height: auto;
        margin: 0 auto;
    }

    .our-friends__container {
        gap: 4.2rem;
        max-width: 32rem;
        padding: 0;
    }

    .our-friends__title {
        margin-top: 4.2rem;
        font-size: 2.5rem;
        margin-left: 1.4rem;
    }


    .our-friends__slider {
        max-width: 32rem;
        flex-direction: column-reverse;
        gap: 0;
    }

    .our-friends__container-btn {
        margin-bottom: 4.2rem;
    }

    .slider__card:nth-child(2) {
        display: none;
    }

    .slider__card {
        margin-bottom: 2rem;
    }

    .slider__arrows {
        position: relative;
        max-width: 32rem;
        margin: 0 auto;
        left: 0;
        gap: 8rem;
        justify-content: center;
        transform: translateY(0);
    }

    .slider__arrow-left,
    .slider__arrow-right {
        width: 5.2rem;
        height: 5.2rem;
    }
    .card__btn {
        margin-bottom: 3rem;
    }


    .help__container {
        max-width: 32rem;
        margin: 4.2rem auto;
        padding-left: 2rem;
    }

    .help__list {
        max-width: 29rem;
        gap: 3rem;
        justify-content: flex-start;
    }

    .help__img {
        margin: 0 3.5rem;
        width: 5rem;
        height: 5rem;
    }

    .help__title {
        margin-bottom: 4.2rem;
        font-size: 2.5rem;
        padding: 0 1.5rem;
    }

    .help__text {
        font-size: 1.5rem;
        margin: 0 auto;
        margin-top: 2rem;
        padding-left: 0.5rem;
    }

    .help__item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 13rem;
    }

    .in-addition__content {
        margin: 0 auto;
    }
    .in-addition__container {
        max-width: 32rem;
        gap: 4.2rem;
        padding: 0;
        padding-top: 4.2rem;
    }
    .in-addition {
        padding-bottom: 4.5rem;
    }

    .in-addition__title {
        font-size: 2.5rem;
        text-align: center;
        padding: 0 3.5rem;
    }

    .in-addition__subtitle {
        text-align: center;
        line-height: 160%;
        letter-spacing: 0;
        margin: 0 auto;
    }

    .in-addition__credit-card {
        font-size: 1.5rem;
        line-height: 110%;
    }

    .in-addition__credit-card::before {
        top: 50%;
        transform: translateY(-50%);
    }

    .in-addition__img {
        width: 26rem;
        margin: 0 auto;
    }

    .in-addition__text {
        text-align: justify;
        margin: 0 auto;
        max-width: 28rem;
    }

    .footer {
        padding-top: 0;
    }

    .footer__container {
        max-width: 30rem;
        gap: 4rem;
        width: 100%;
        flex-wrap: wrap;
        padding: 0;
        padding-top: 3rem;
        margin: 0 auto;

    }

    .footer__contacts {
        max-width: 30rem;
        margin: 0 auto;
        padding-left: 1rem;
    }

    .footer__title {
        font-size: 2.5rem;
        text-align: center;
        max-width: 27.8rem;
        margin: 0 auto;
    }

    .footer__contacts-item {
        margin: 0 auto;
    }

    .footer__location {
        max-width: 30rem;
        margin: 0 auto;
        padding-left: 0.8rem;
    }

    .footer__location-list {
        margin-top: 3.2rem;
        gap: 4rem;
        max-width: 30rem;
        width: 100%;
    }

    .footer__link {
        letter-spacing: 5%;
    }

    .footer__link--location {
        padding-left: 4rem;
    }


    .footer__image {
        width: 26rem;
        max-width: 100%;
    }

    .our-friends__container.pets {
        gap: 3rem;
    }
    .our-friends__card:nth-child(4),
    .our-friends__card:nth-child(5),
    .our-friends__card:nth-child(6),
    .our-friends__card:nth-child(7),
    .our-friends__card:nth-child(8) {
        display: none;
    }

    .our-friend__pagination {
        max-width: 32rem;
        margin: 2.5rem auto 0;
        margin-left: 1rem;
        padding-bottom: 5rem;
        gap: 1rem;
    }.our-friends__cards.pets {
        margin-top: 1.4rem;
    }

}