html {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

h1, h2, h3, p {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #CDCDCD;
    cursor: auto;
}

h1 {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 110%;
    display: flex;
    align-items: center;
    letter-spacing: 0.06em;
    color: #545454;
}

.hamburger-menu {
    display: none;
}

.header__nav {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.header {
    height: 120px;
    display: flex;
    justify-content: space-between;
    padding-top: 0;
}

.header__logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.header__logo > span {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 0.1em;
    color: #292929;
}

.header__nav {
    display: flex;
    gap: 35px;
    align-items: center;
    font-family: 'Arial';
    font-size: 15px;
    color: #CDCDCD;
}

.header__nav > a {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #545454;
}

.header__nav > a:nth-child(2)::after {
    color: #FAFAFA;
    content: "";
    display: block;
    border: 1px solid #FBD38D;
    background: #F1CDB3;
    width: 100%;
}

.gray-wrapper {
    background: #F6F6F6;
}

.brown-container {
    background: url(./../images/noise_transparent@2x.png), radial-gradient(100% 215.42% at 0% 0%, #5B483A 0%, #262425 100%)
}

h2 {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 44px;
    line-height: 130%;
    color: #FFFFFF;
    padding-bottom: 42px;
}

h3 {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #545454;
}

.not-only__content__text > p {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #CDCDCD;
    padding-bottom: 42px;
}

.not-only__content__img {
    background-image: url("./../images/not-only-dog.png");
    width: 58%;
    height: 728px;
}

.not-only__content {
    display: flex;
    justify-content: space-between;
}

button {
    background: #F1CDB3;
    border: none;
    border-radius: 100px;
    padding: 15px 45px;
    font-size: 17px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #292929;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
}

.btn {
    background: #F1CDB3;
    border: none;
    border-radius: 100px;
    padding: 15px 45px;
    font-size: 17px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #292929;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
}

.footer {
    padding: 40px 40px 0;
    display: flex;
    justify-content: space-between;
}

.footer__title {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #FFFFFF;
}

.footer__description {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: 0.06em;
    color: #F1CDB3;
}

.footer__contacts {
    max-width: 279px;
    padding-top: 16px;
}

.footer__address {
    max-width: 303px;
    padding-top: 16px;
}

.footer__icon-email {
    background: url('./../images/icon-email.png');
    width: 40px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer__icon-phone {
    background: url('./../images/icon-phone.png');
    width: 40px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer__icon-metka {
    background: url('./../images/icon-marker2.png');
    width: 22px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer__image-dog {
    background: url('./../images/footer-puppy.png');
    width: 300px;
    height: 310px;
    background-repeat: no-repeat;
    background-size: contain;
    /* background-position: right; */
}

.footer__address__line {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pd40 {
    padding: 40px 0;
}

.pd3432 {
    padding: 34px 0 32px;
}

.header__nav > a:not(.active):hover {
    color: #292929;    
    cursor: pointer;
    transition: 1s;
}

.active {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #FAFAFA;
}

.our-friends__slider__card--button:hover {
    cursor: pointer;
    transition: 1s;
}

/* .our-friends__slider__card--hidden {
    display: none;
}

.our-friends__slider__card--hidden:hover {
    display: block;
} */

.our-friends__slider__card--image:hover {
    cursor: pointer;
    background-image: url('./../images/icon-marker2.png');
}

.our-friends__slider__card--button {
    background: none;
    border: 2px solid #F1CDB3;
}

.not-only__content__text > a:hover, 
.our-friends__slider ~ a:hover, 
.our-friends__slider > button:hover {
    background: #FDDCC4;
    transition: 1s;
}

.footer__description:hover {
    color: #FDDCC4;
    transition: 1s;
}

.our-friends {
    background-color: #F6F6F6;
    text-align: center;
    padding: 80px 40px 100px;
}

.our-friends__slider {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
}

.our-friends__slider__card--button {
    background: none;
}

.our-friends__slider__card {
    background: #FAFAFA;
    border-radius: 9px;
    padding-bottom: 30px;
    cursor: pointer;
}

.our-friends__slider__cards > div:nth-of-type(1) > div {
    background-image: url("./../images/pets-katrine111.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(2) > div {
    background-image: url("./../images/pets-jennifer.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(3) > div {
    background-image: url("./../images/pets-woody.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(4) > div {
    background-image: url("./../images/pets-sof4.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(5) > div {
    background-image: url("./../images/pets-timmy.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(6) > div {
    background-image: url("./../images/pets-charly.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(7) > div {
    background-image: url("./../images/pets-scarlet.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(8) > div {
    background-image: url("./../images/pets-freddie.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__cards > div:nth-of-type(9) > div {
    background-image: url("./../images/pets-fredkot.png");
    width: 270px;
    height: 270px;
}

.our-friends__slider__card--name {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
    letter-spacing: 0.06em;
    color: #545454;
    padding: 30px 0;
}

.our-friends__slider__cards {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 30px;
}

.our-friends__slider__card--image:hover {
    cursor: pointer;
    filter: contrast(0.9);
    transition: 1s;
}

.our-friends__slider__card--button:hover {
    cursor: pointer;
    background: #FDDCC4;
    transition: 1s; 
}

.our-friends__slider__card:hover > .our-friends__slider__card--image {
    cursor: pointer;
    filter: contrast(0.9);
    transition: 1s;
}

.our-friends__slider__card:hover > .our-friends__slider__card--button {
    cursor: pointer;
    background: #FDDCC4;
    border: 2px solid #FDDCC4;
    transition: 1s; 
}

.our-friends__slider__card--button {
    background: none;
    border: 2px solid #F1CDB3;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pagination__item {
    box-sizing: border-box;
    border: 2px solid #F1CDB3;
    border-radius: 100px;
    width: 52px;
    height: 52px;
    padding-top: 12px;
}

.left, .left-end, .right, .right-end {
    border: 2px solid #CDCDCD;
    color: #CDCDCD;
}


.current {
    background-color: #F1CDB3;
    font-size: 20px;
    padding-top: 10px;
}

.activePaginationItem {
    box-sizing: border-box;
    border: 2px solid #F1CDB3;
    border-radius: 100px;
    width: 52px;
    height: 52px;
    padding-top: 12px;
    color: #000000;
    cursor: pointer;
}

/* .pagination > div:nth-child(4), .pagination > div:nth-child(5) {
    cursor: auto;
} */

.activePaginationItem:hover {
    background-color: #F1CDB3;
    transition: 1s;
    cursor: pointer;
}

.footer__description:hover {
    color: #FDDCC4;
    transition: 1s;
    cursor: pointer;
}

@media (min-width: 770px) and (max-width: 1279px) {
    .our-friends__slider__cards {
        column-gap: 30px;
        justify-content: center;
    }
}



@media (min-width: 770px) and (max-width: 963px) {
    .footer {
        padding: 14px 64px 0;
        flex-wrap: wrap;
        row-gap: 65px;
    }

    .footer__image-dog {
        margin: 0 auto;
    }
}

@media screen and (max-width: 860px) {
    .modal-window__content {
        justify-content: center;
    }

    .modal-window__content--description--title {
        padding-top: 0px !important;
    }

    .modal-window__krestik {
        left: unset;
    }

    .modal-window__content--description {
        width: auto;
        padding: 0 9px 0 9px !important;
        
    }

    .modal-window__content--description--text {
        padding: 20px 0 !important;
        max-width: 260px;
    }

    .modal-window__content--image {
        max-height: 373px;
    }
}

@media (min-width: 332px) and (max-width: 429px) {
    .footer {
        padding: 30px 10px 0;
        justify-content: center;
        row-gap: 40px;
    }

    .footer__contacts {
        padding: 0;
    }

    .footer__title {
        font-family: 'Georgia';
        font-style: normal;
        font-weight: 400;
        font-size: 25px;
        line-height: 130%;
        text-align: center;
        letter-spacing: 0.06em;
        color: #FFFFFF;
    }

    .footer__address__line {
        justify-content: center;
    }

    .footer__address {
        padding: 0;
    }

    .footer__address > p {
        width: 270px;
        display: flex;
        margin: 0 auto;
    }

    .footer__address > div:nth-child(3) {
        justify-content: start;
    }

    .footer__image-dog {
        background: url(./../images/footer-puppy.png);
        width: 100%;
        height: 200px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    .pagination {
        gap: 10px;
    }
}


@media screen and (max-width: 769px) {
    .footer {
        padding: 14px 64px 0;
        flex-wrap: wrap;
        row-gap: 65px;
    }

    .footer__image-dog {
        margin: 0 auto;
    }

    .our-friends {
        padding: 60px 30px 70px;
    }

    .our-friends__slider {
        padding: 30px 0 40px;
    }

    .our-friends__slider__cards {
        justify-content: center;
    }

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

    button {
        padding: 13px 45px;
    }

    .header-container > .container {
        padding: 0 30px;
    }

    .our-friends {
        padding: 80px 94px 76px;
    }
}

@media (min-width: 331px) and (max-width: 767px) {
    .modal-window__content--image {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }

    .header__nav {
        display: none;
    }

    .footer {
        padding: 14px 64px 0;
        flex-wrap: wrap;
        row-gap: 65px;
    }

    .footer__image-dog {
        margin: 0 auto;
    }

    .our-friends {
        padding: 60px 30px 70px;
    }

    .our-friends__slider {
        padding: 30px 0 40px;
    }

    .our-friends__slider__cards {
        justify-content: center;
        column-gap: 20px;
    }

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

    button {
        padding: 13px 45px;
    }

    .header-container > .container {
        padding: 0 30px;
    }

    .our-friends {
        padding: 80px 10px 76px;
    }
}

@media (min-width: 331px) and (max-width: 712px) {
    .footer {
        padding: 14px 64px 0;
        flex-wrap: wrap;
        row-gap: 65px;
        justify-content: center;
    }
}

@media screen and (max-width: 330px) {
    .hamburger-menu {
        display: block;
    }

    .header__nav {
        display: none;
    }

    .footer {
        padding: 30px 10px 0;
        justify-content: center;
        row-gap: 40px;
    }

    .footer__contacts {
        padding: 0;
    }

    .footer__title {
        font-family: 'Georgia';
        font-style: normal;
        font-weight: 400;
        font-size: 25px;
        line-height: 130%;
        text-align: center;
        letter-spacing: 0.06em;
        color: #FFFFFF;
    }

    .footer__address__line {
        justify-content: center;
    }

    .footer__address {
        padding: 0;
    }

    .footer__address > p {
        width: 270px;
        display: flex;
        margin: 0 auto;
    }

    .footer__address > div:nth-child(3) {
        justify-content: start;
    }

    .our-friends {
        padding: 42px 10px;
    }

    .our-friends > h3 {
        font-family: 'Georgia';
        font-style: normal;
        font-weight: 400;
        font-size: 25px;
        line-height: 130%;
        display: flex;
        align-items: center;
        text-align: center;
        letter-spacing: 0.06em;
        color: #545454;
        justify-content: center;
    }

    .our-friends__slider {
        padding: 42px 0;
    }

    .our-friends__slider__cards {
        justify-content: center;
        margin: 0 auto;
    }

    .our-friends__slider__cards > div:nth-child(4), 
    .our-friends__slider__cards > div:nth-child(5), 
    .our-friends__slider__cards > div:nth-child(6), 
    .our-friends__slider__cards > div:nth-child(7), 
    .our-friends__slider__cards > div:nth-child(8) {
        display: none;
    }

    button {
        padding: 13px 45px;
    }

    .header-container > .container {
        padding: 0 30px;
    }

    .header-container > .container {
        padding: 0 20px;
    }

    .pagination {
        gap: 10px;
    }
}





/* burger menu */
/* скрываем чекбокс */
#menu__toggle {
    opacity: 0;
  }
  /* стилизуем кнопку */
  .menu__btn {
    display: flex; /* используем flex для центрирования содержимого */
    align-items: center;  /* центрируем содержимое кнопки */
    cursor: pointer;
    margin-top: 40px;
    z-index: 3;
  }
  /* добавляем "гамбургер" */
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #000000;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
    position: absolute;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }

  /* контейнер меню */
.menu__box {
    /* display: flex; */
    /* display: none; */
    /* flex-direction: column;
    gap: 40px;
    position: absolute;
    visibility: hidden;
    top: 0; */
    /* right: -100%; */
    /* right: 0;
    width: 320px;
    height: 100vh;
    margin: 0;
    padding-top: 248px;
    list-style: none;
    text-align: center;
    background: #292929;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition: 1s;
    z-index: 2; */

    padding-top: 248px;
    list-style: none;
    text-align: center;
    flex-direction: column;
    display: flex;
    position: fixed;
    list-style:none;
    margin: 0;
    gap: 40px;
    box-sizing: border-box;
    width: 320px;
    background: #292929;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    height: 100vh;
    top: 0;
    right: -320px;
    transition: left 1s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }

  .menu__box > a {
    font-size: 32px;
  }

  .menu__btn > span {
    z-index: 3;
    position: absolute;
  }

  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    right: 0;
    transition: 1s;
    width: 320px;
    z-index: 2;
  }

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    transition-duration: 1s;
}

.menu__item {
    transition-duration: 1s;
}

.hamburger-menu {
    margin-right: 10px;
}

.menu__box> a:nth-child(2)::after {
    color: #FAFAFA;
    content: "";
    display: block;
    border: 1px solid #FBD38D;
    background: #F1CDB3;
    max-width: 243px;
    margin: 0 auto;
}

.overflow-hidden-class {
    overflow: hidden;
}

.shadow-bg {
    display: none;
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: #232121;
    top: 0;
    left: 0;
    opacity: 0.7;
    transition: 1s;
}


.modal-window {
    display: none;
    position: fixed;
    top: 136px;
    left: 15%;
    right: 15%;
    top: 25%;
    bottom: 25%;
    max-width: 952px;
    margin: 0 auto;
    flex-direction: column;
    z-index: 4;
}

.modal-window__content {
    display: flex;
    /* max-width: 70%; */
    background: #FAFAFA;
    border-radius: 9px;
}

.modal-window__content--image {
    background-image: url("./../images/pets-katrine111.png");
    width: 55%;
    max-width: 500px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-window__content--description {
    width: 45%;
    max-width: 900px;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 110%;
    letter-spacing: 0.06em;
    color: #000000;
    padding: 0 20px 0 29px;
}

.modal-window__content--description--text {
    padding: 40px 0;
    max-width: 350px;
}

.modal-window__content--description--title {
    padding: 50px 0 10px;
    font-weight: 400;
    font-size: 35px;
    line-height: 130%;

}

.modal-window__content--description--subtitle {
    font-size: 20px;
    line-height: 115%;
}

.modal-window__krestik {
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    font-size: 28px;
    padding-top: 5px;
    text-align: center;
    border: 2px solid #F1CDB3;
    border-radius: 100px;
    align-self: end;
    position: absolute;
    left: unset;
    top: -52px;
    cursor: pointer;
}

.modal-window__krestik:hover {
    background-color: #B2B2B2;
}

.modal-window__content--description--list {
    padding: 0;
    margin: 0;
    color: #F1CDB3;
    padding-left: 16px;
}

.modal-window__content--description--list > li {
    padding-bottom: 10px;
}


.modal-window__content--description--list > li > span {
    color: #000000;
}

.modal-bg {
    display: none;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 1;
    background: #232121;
    top: 0;
    left: 0;
    opacity: 0.7;
    transition: 1s;
}