* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
.dimming {
  display: none;
}
.dimming.active {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

body {
  font-family: Noto Sans Georgian;
  font-style: normal;
  font-family: 16px;
  line-height: 1.2;
  font-weight: normal;
  color: #545454;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container-body {
  margin: 0 auto;
}

.header-house {
  display: flex;
  justify-content: center;
}

.header {
  width: 1280px;
  height: 120px;
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.header__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 40px 30px 40px;
}

.link-logo {
  text-decoration: none;
}

.logo {
  text-align: center;
}

.logo:hover {
  cursor: pointer;
}

.title {
  font-family: Georgia;
  font-size: 32px;
  font-weight: 400;
  line-height: 35.2px;
  letter-spacing: 0.06em;
  margin: 0;
  color: #545454;
}

.subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 14.95px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #292929;
  margin: 0;
  padding-top: 10px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.nav-item {
  margin-right: 35px;
  top: 16px;
  bottom: 20px;
  transition: 0.2s;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-link-our {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: #545454;
  text-decoration: none;
  text-align: left;
}

.nav-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: #545454;
  text-decoration: none;
  text-align: left;
  transition: 1s;
}

.nav-link:hover {
  color: #292929;
}

.menu-btn{
  display: none;
  }
.nav-item:nth-child(2) {
  border-bottom: 3px solid #f1cdb3;
}

.pets {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6f6f6;
}

.pets-content {
  max-width: 1200px;
  margin: 80px 40px 100px 40px;
}

.main-title {
  text-align: center;

  font-family: Georgia;
  font-size: 35px;
  font-weight: 400;
  line-height: 45.5px;
  letter-spacing: 0.06em;
  margin: 0px auto 60px auto;
}

.pets-wrapper {
  display: flex;
  flex-wrap: wrap;
  text-align: center;

  gap: 30px 40px;
  margin: 0 auto;
}

.cards {
  width: 270px;
  height: 435px;
  background-color: #fafafa;
  border-radius: 9px;
  transition: 0.5s;
}

.cards:hover {
  transition: 0.5s;
  cursor: pointer;
  box-shadow: 0px 2px 35px 14px #0d0d0d0a;
  background-color: #fff;
}

.cards:hover .button_secondary {
  transition: 0.5s;
  cursor: pointer;
  background-color: #fddcc4;
  border: 2px solid #fddcc4;
}

.katrine {
  margin: 15px 40px 30px 0px;
}

.freddie {
  margin: 15px 0px 30px 0px;
}

.no-margin-top {
  margin-top: 0px;
}

.cards-name {
  padding: 25px 93px 30px 94px;
  font-family: Georgia;
  font-size: 20px;
  font-weight: 400;
  line-height: 22.72px;
  letter-spacing: 0.06em;
  margin: 0%;
}

.button_secondary {
  width: 187px;
  height: 52px;
  border-radius: 100px;
  border: 2px solid #f1cdb3;
  padding: 0%;
  gap: 10px;
  background-color: #fafafa;
  transition: 1s;
}

.button-text {
  font-family: Georgia;
  font-size: 17px;
  font-weight: 400;
  line-height: 22.1px;
  letter-spacing: 0.06em;
  margin: 0%;
}

.pets-pagination {
  width: 27vw;
  margin: 0 auto;
  margin-top: 28px;
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
}


.button {
  border-radius: 100px;
  padding: 8px 0px 15px 0px;
  border: 0;
  background-color: #f1cdb3;
  transition: 0.5s;
  margin-top: 5px;
  height: 52px;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 17px;
  font-weight: 400;
  font-size: 1.2em;

}

.button:hover {
  background-color: #fddcc4;
  cursor: pointer;
  transform: scale(1.05);
  border: none;
  transition: 0.5s;
}
.our-friend-button {
  width: 100%;
  margin-top: 29px;
  border-radius: 100px;
  border: 2px solid #f1cdb3;
  background-color: transparent;
  padding: 0;
  text-align: center;
  transition: 0.5s;
}
#our-friends .heading {
  margin: 0 auto;
  margin-top: 81px;
  font-size: 3.5em;
}

#our-friends .pets-heading {
  font-size: 2em;
  margin-top: 31px;
}

.heading {
  width: 60%;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 2.2em;
  line-height: 130%;
  letter-spacing: 0.06em;
  color: #545454;
}
.pets-heading {
  width: 100%;
  margin-top: 16px;
  font-size: 1.3em;
  text-align: center;
}
.item{

  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fafafa;
  padding-bottom: 30px;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 9px;
  
 }
.item:hover .learn-more{
  transition: 0.5s;
  background-color: #fddcc4;
  border: 2px solid #fddcc4;
  cursor: pointer;
 }
.item:hover{
  box-shadow: 0px 2px 35px 14px rgba(34, 60, 80, 0.2);
  
}
.item-img {
  width: 97%;
}
.our-friend-button {
  width: 100%;
  margin-top: 29px;
  border-radius: 100px;
  border: 2px solid #f1cdb3;
  background-color: transparent;
  padding: 0;
  text-align: center;
  transition: 0.5s;
}
.our-friends-form {
  width: 67%;
}


.arrow {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
  font-family: Georgia;
  line-height: 115%;
  letter-spacing: 0.06em;
  border-width: 2px;
  width: 52px;
  height: 52px;
  border: 1px solid #f1cdb3;
    border-radius: 100%;
    z-index: 100;
    transition: 0.5s;
 }


.arrow-active:hover {
  background-color: #fddcc4;
}
.arrow-inactive,
.arrow-inactive:hover {
  border-color: black;
  opacity: 0.2;
  background-color: transparent;
  cursor: default;
}

.arrow-current,
.arrow-current:hover {
  background-color: #f1cdb3;
  border: none;
  cursor: default;
}



.button_paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #f1cdb3;
  border-radius: 100px;
  padding: 0%;
  margin: 0%;
  margin-right: 20px;
  transition: 0.5s;
}

.button_paginator:hover {
  cursor: pointer;
  border: 2px solid #fddcc4;
  background-color: #fddcc4;
}



.button_paginator-last {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #f1cdb3;
  border-radius: 100px;
  padding: 0%;
  transition: 0.5s;
}

.button_paginator-last:hover {
  cursor: pointer;
  border: 2px solid #fddcc4;
  background-color: #fddcc4;
}

.footer {
  display: flex;
  justify-content: center;

  background: url("assets/img/noise_transparent@2x.png"),
    radial-gradient(100% 215.42% at 0% 0%, #5b483a 0%, #262425 100%), #211f20;
}

.footer-content {
  width: 1200px;
  height: 310px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 40px 40px 0px 40px;
}

.contacts {
  margin: 16px 160px 60px 0px;
}

.questions {
  white-space: nowrap;
  font-family: Georgia;
  font-size: 35px;
  font-weight: 400;
  line-height: 45.5px;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0%;
  margin: 0px 0px 40px 0px;
}

.locations-title {
  font-family: Georgia;
  font-size: 35px;
  font-weight: 400;
  line-height: 45.5px;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0%;
  margin: 0px 0px 34px 0px;
}

.locations-pin:last-of-type {
  margin-bottom: 0;
}

.contacts-email {
  text-decoration: none;
  width: 251px;
  height: 32px;
  display: flex;
  align-items: center;
  font-family: Georgia;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.06em;
  color: #f1cdb3;
  margin: 0px 0px 40px 0px;
}

.contacts-phone {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: Georgia;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.06em;
  color: #f1cdb3;
  margin: 0%;
}

.locations-pin {
  text-decoration: none;
  width: 302px;
  display: flex;
  align-items: center;
  font-family: Georgia;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.06em;
  color: #f1cdb3;
  margin: 0px 0px 32px 0px;
}

.icon-email {
  margin-right: 20px;
}

.locations {
  margin: 16px 160px 60px 0px;
}

.footer-puppy {
  width: 300px;
  height: 310px;
}
.popup_burger_menu {
  display: none;
}
.hamb {
  display: none;
}

.popup {
  display: none;
}


  .popup_burger_menu {
    display: flex;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
   
    width: 100%;
    max-width: 320px;
    background: #f1cdb3;
    transform: translateX(200%);
    transition: 0.8s;
  }
  

  .menu {
    display: flex;
    flex-direction: column;
    margin: 248px 38px;
    padding: 0;
    gap: 40px;
    align-items:center;
    z-index: 200;
    transform:translateX(200%)
    transition: 0.8s;
  }
  .menu > li > a {
    text-decoration: none;
    list-style: none;

    font-family: Arial;
    font-size: 32px;
    font-weight: 400;
    line-height: 51.2px;
    text-align: left;
  }
  .menu > li {
    list-style: none;
  }

  .navbar__wrap .menu > li > a {
    display: flex;
    justify-content: center;
  }
  .menu-about:nth-child(2) >a{
    border-bottom: 3px solid #292929;
    text-align: left;
  }
  .menu-about > a {
    color: #fafafa;
    padding-bottom: 8px ;
  }
  .menu-link > a {
    color: #292929;
  }



  .modal {
    display: none;
    position: fixed;
    top: 0;
    z-index: 999999;
    width: 100vw;
    height: 100vh;
  }
  
  .modal-active {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.5s;
  }
  
  .modal-page {
    position: relative;
    width: 70vw;
    height: 38.5vw;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    background-color:#fafafa;
   
  }

  .cross {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -50px;
    right: -40px;
    width: 52px;
    height: 52px;
    border: 2px solid  #f1cdb3;
    border-radius: 100%;
    transform: translate(50% 50%);
    transition: 0.5s;
  }
  
  .cross:hover {
    transform: scale(1.1);
    background-color:  #fddcc4;
  }
  
  .cross img {
    transform: translateY(18%);
  }
  .modal-img {
    width: 55%;
  }
  
  .modal-img img {
    width: 100%;
    border-radius: 10px;
  }
  
  .modal-info {
    width: 41%;
    display: flex;
    flex-direction: column;
    font-family: "Georgia", sans-serif;;
    font-weight: 400;
    font-size: 1.0rem;
    line-height: 110%;
    letter-spacing: 0.06em;
    color: #000;
  }
  
  .pets-name {
    margin-top: 21%;
    font-size: 2.3rem;
    line-height: 0%;
    letter-spacing: 0.06em;
  }
  
  .pets-type {
    margin-top: 0%;
    font-size: 1rem;
    line-height: 115%;
    letter-spacing: 0.06em;
  }
  
  .pets-description {
    width: 98%;
    margin-top: -6%;
  }
  
  
  .pets-about li {
    margin-bottom: 12px;
    color:  #f1cdb3;
  }
  
  .pets-about {
    margin-top: 7%;
    margin-left: -35px;
    font-size: 1.0rem;
    line-height: 70%;
    letter-spacing: 0.06em;
  }
  
  .pets-about li span {
    color: black;
  }
  .our-friends-form {
    width: 70%;
  }
  
  .age,
  .inoculations,
  .diseases,
  .parasites {
    font-weight: 700;
  }
  @media (max-width: 1270px) and (min-width: 769px){
    .pets-description {
      margin-top: 3%;
  }
  .pets-about {
    margin-top: 0%;
}
.pets-name {
  margin-top: 4%;
}
.pets-type {
  margin-top: 2%;
}
  .modal-info {
    font-size: 1.3rem;
}
  }






  @media(max-width: 940px) {
    .pets-pagination {
        width: 34vw;
    }
  }

@media (max-width: 785px) {
  .main-title {
    margin: 0px auto 30px auto;
  }
}

@media (max-width: 785px) {
  .header__wrapper {
    padding-left: 31px;
    padding-right: 30px;
  }

  .hide-tablet {
    display: none;
  }
  .cards {
    margin: 0px 0px 0px 0px;
  }
  /* .pets-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
    max-width: 768px;
    margin: 0px 94px 0 94px;
  } */
  /* .pets-pagination {
    display: flex;
    flex-direction: row;
    margin: 40px 214px 0px 214px;
  } */
  .pets-content {
    margin: 80px 0px 76px 0px;
  }
}

@media (max-width: 785px) {
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 768px;
    height: auto;
    margin: 30px 60px 0 60px;
  }
  .contacts {
    margin: 0 auto;
  }
  .locations {
    margin: 0 auto;
  }
}


@media (max-width: 769px) {

  .our-friends-form {
    width: 100%;
}
}
/* редактирование */
@media (max-width: 768px){
.pets-pagination {
  width: 48.5%;
  margin-bottom: 77px;
}

.pets-wrapper {
  width: 78%;
  height: 179vw;
  margin-top: 30px;
  overflow: hidden;
}
.our-friend-button {
  display: block;
  margin: 0 auto;
  margin-top: 0px;
  width: 69%;
}
.button {
  margin-left: 21.5%;
      margin-top: 41px;
      width: 207px;
}

  .item {
      width: 36.3vw;
      height: 57.2vw;
  }
  .item-img {
    width: 97%;
}
#our-friends .pets-heading {
  margin-top: 3.6vw;
}
.our-friend-button {
  width: 69%;
  height: 6.7vw;
  margin-top: 0.8vw;
  font-size: 2.2vw;
  margin-left: auto;
}
}

@media(max-width: 768px){
  .modal-page {
    width: 82vw;
    height: 45.5vw;
    .modal-info {
      width: 42.5%;
      font-size: 1.68vw;
  }
}
}


@media(max-width: 638px){
  .modal-page {
    width: 75vw;
    height: max-content;
}
.modal-img {
  display: none;
}
.modal-info {
  width: 93%;
  margin: 0 auto;
  text-align: center;
}
}
@media (max-width: 638px) {
  .item {
      width: 100%;
      height: 136vw;
      margin-bottom: 0vw;
  }
}
@media (max-width: 638px) {
  .pets-wrapper {
      width: 100%;
      height: 431vw;
      margin-top: 41px;
  }
}



@media (max-width: 767px) {
  .nav-list {
    display: none;
  }
  .menu-btn{
    display: flex;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 800;
    /* transition: all 0.5s; */
  }
  .menu-btn span{
    width: 30px;
    height: 2px;
    background-color: #292929;
    position: absolute;
    top: 50%;
    left: 0%;
    transition: all 0.8s;
  }
  .menu-btn span:nth-of-type(2){
    top: calc(50% - 10px);
    /* transition: all 0.5s; */
  }
  .menu-btn span:nth-of-type(3){
    top: calc(50% + 10px);
    left: calc(50% - 15px);
    /* transition: all 0.5s; */
  }
  .menu-btn.active span:first-of-type{
transform: rotate(90deg);
top: calc(50% + 0px);
left: calc(50% - 26px);
  }
  .menu-btn.active span:nth-of-type(2){
    transform: rotate(90deg);
    left: calc(50% - 16px);
    top:calc(50% + 0px); 
  }
  .menu-btn.active span:nth-of-type(3){
    transform: rotate(90deg);
    left:  calc(0% + 9px);
    top:calc(50% + 0px); 
  }
  .menu.active{
    transform: translateX(0);
    transition: all 2s;
  }
  .popup_burger_menu.active {
    transform: translateX(0);
    transition: all 0.8s;
  }
  .menu-about.active{
    transform: translateX(0%);
  }
  
  .dimming.active {
    /* filter: brightness(40%);
       background: black;
    opacity: 0.1; */
    
  }
  body.noscroll {
    overflow: hidden;
  }
}
@media (max-width: 638px){
.pets-pagination {
  width: 300px;
  margin-bottom: 43px;
}
.our-friend-button {
  height: 16vw;
  margin-top: 2.8vw;
  font-size: 5.3vw;
}
.item-img {
  width: 85vw;
}
#our-friends .pets-heading {
  margin-top: 28px;
  font-size: 6.2vw;
}
.our-friends-form {
  width: 89%;
}
}

@media (max-width: 337px) {
  .header__wrapper {
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
  }

  .nav-list {
    display: none;
  }
  .main-title {
    text-align: center;

    font-size: 25px;
    line-height: 35.2px;
    letter-spacing: 0.06em;
    margin: 80px auto 30px auto;
  }
  
  .hide-mobile {
    display: none;
  }
  .pets-content {
    margin: 45px 25px 0;
  }
  .main-title {
    margin: 80px auto 30px auto;
  }
  /* .pets-pagination {
    display: flex;
    flex-direction: row;
    margin: 40px auto 42px;
  } */
  .button_paginator_inactive {
    margin-right: 10px;
  }
  .button_paginator_active {
    margin-right: 10px;
  }
  .button_paginator {
    margin-right: 10px;
  }
}

@media (max-width: 337px) {
  .questions {
    font-size: 25px;
    white-space: wrap;
    line-height: 32.5px;
  }
  .locations-title {
    font-size: 25px;
    line-height: 32.5px;
    text-align: center;
    white-space: wrap;
    margin: 0 25px 40px 25px;
  }
  .locations {
    margin: 0 auto;
  }
  .locations-pin {
    margin: 0 10px 40px 10px;
    width: auto;
  }

  .contacts {
    text-align: center;
    margin: 0 auto;
  }
  .contacts-email {
    justify-content: center;
    width: auto;
  }
  .contacts-phone {
    justify-content: center;
  }
  .questions > br {
    display: none;
  }
  .footer-content {
    width: 100%;
    gap: 40px;
    margin: 30px 0 0 0;
  }
  .locations-title > br {
    display: none;
  }
  .footer-puppy {
    width: 260px;
    height: 269px;
    margin: 0;
  }
  .main-title {
    line-height: 32.5px;
    margin: 0 0 42px 0;
  }
}

@keyframes hide {
  from {
      opacity: 1;
  }

  to {
      opacity: 0;
  }
}

.disappearance {
  animation-name: hide;
  animation-duration: 0.75s;
}

.appearance {
  animation-name: hide;
  animation-duration: 0.5s;
  animation-direction: reverse;
}