@font-face {
    font-family: Arial;
     src: url("../../assets/fonts/arial/arial-regular.ttf");
   }
   @font-face {
    font-family: Georgia;
     src: url("../../assets/fonts/georgia/georgia-regular.ttf");
   }
   html{
    scroll-behavior: smooth; 
   }
* {
    box-sizing: border-box;
  }
  :root {
    --color-primary: #F1CDB3;
    --color-dark:#CDCDCD;
    --color-dark-title: #545454;
    --color-dark-text:#4C4C4C;
    --color-primary-light:#FDDCC4;
    --color-light:#F6F6F6;
    --color-subtitle:#292929;
  }
  

  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    background-color: #fff;  
  }
  .wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  .title{
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;  
    color:var(--color-dark-title); 
  }
  .subtitle{
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
     letter-spacing: 0.1em;
    color: var(--color-subtitle);
  }
  /*header*/
  .header{
      padding-top: 30px;
      padding-bottom: 30px;
      position: sticky;
      top:0px;
      background-color: #fff;
  }
.header-body{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

  .logo_link{
    text-decoration: none;
  }
  .logo__title{    
    font-size: 32px;
    line-height: 35px;    
    margin-top: 0px; 
    margin-bottom: 10px;
  }
 .logo__subtitle{
    font-size: 13px;
    line-height: 15px;
  }

  .nav__list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;   
}
.nav__link{ 
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;       
    color: var(--color-dark-title);
    text-decoration: none;
    margin-left: 35px;
    transition: 0.3s;
}
.nav__item{
text-decoration: none;
}
.nav__link_active{
border-bottom:3px solid var(--color-primary);
 color: var(--color-subtitle);
}
.nav__link:hover{
   color: var(--color-subtitle);
}
.blackout{
  position:fixed;
  top:0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  display: none;
}
.blackout-active{
  display: block;
  background-color:rgba(41, 41, 41, 0.8); 
}
/*pets*/
.pets{
    background-color: var(--color-light);
}
.pets-body{
    padding-top: 80px;
    padding-bottom: 101px;
    display: flex;
    flex-direction:column;
    align-items: center;
}
.pets-title{
    font-size: 35px;
line-height: 130%;
text-align: center;
margin: 0px;
letter-spacing: 0.06em;
}
.cards_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
      column-gap:  40px;
   row-gap: 30px;
    margin-top: 55px;
}
.pets__card{
    width: 270px;
    height: 435px;
    background-color: #FAFAFA;
    border-radius: 9px;
    cursor: pointer;
    text-align: center;
   
    }
    .pets__card:hover{
    background-color: #fff; 
    box-shadow: 0px 2px 25px 15px rgba(15, 15, 15, 0.1);    
    }
    .pets_name{
        font-size: 20px;
        margin-top: 25px;
      margin-bottom:0px;
         }
    .pets__img{
        width: 270px;
        height: 270px;
        object-fit: cover;
        border-radius: 9px;
    }
    .button_secondary{
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 130%;
    color: var(--color-subtitle);
    align-items: center;
    padding: 15px 45px;
    width: 187px;
    height: 52px;
    background-color: #FAFAFA;
    border: 2px solid var(--color-primary);
    border-radius: 100px;
    transition: .3s;
    margin-top: 30px;
    }
    .pets__card:hover .button_secondary {
        background-color: var(--color-primary-light);  
        }
    .pets__button{
       width: 261px;
       
    }
    /*popup*/
/*popup*/
.pop__position{
  position: relative;
}

.pop{
  width: 80%;
  max-width: 900px;
  max-height: 500px;    
  position: absolute;    
  display: none;
  opacity: 0;
  
}
.pop-active{
  display:block;  
  position: fixed;
  top:50% ;
  left: 50%;
  transform: translate(-50%, -50%); 
  z-index: 20;
  opacity: 1;  
}
.pop__close{
  position: absolute;
  top: -52px;
  right: -26px;
}

.button-close{
width: 52px;
height: 52px;
border: 2px solid #F1CDB3;
box-sizing: border-box;
border-radius: 100px;	
background: transparent;
}


.pop__body{
  display: flex;
  justify-content: space-between;
  height: 500px;
  background-color: #FAFAFA;
  box-shadow: 0px 2px 35px 14px rgba(13, 13, 13, 0.04);
  padding-right: 20px;
  border-radius: 10px;
}
.pop__img{
  max-width: 500px;
  width: 52%;
  align-items: center;
}
.pop__content{
  width: 37%;
  max-width: 351px;
  margin-right: 20px;
}
.pop__title{
  color:#000;
  font-size: 35px;
  line-height: 130%;
  letter-spacing: 0.06em;
  margin-bottom: 0px;
  margin-top: 50px;
}
.pop__subtitle{
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.06em;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: justify;
}
.pop__text{
  margin-top: 40px;
  margin-bottom: 0px;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 110%;
  letter-spacing: 0.06em;
  color: #000000;
  text-align: justify;
}
.pop__list{
  margin-top: 40px;
  margin-bottom: 0px;
  padding-left: 14px;
  list-style-type:disc;

}
.list-item{
  color: var(--color-primary);
  font-family: 'Georgia',Verdana, Tahoma, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 110%;
  letter-spacing: 0.06em;
  margin-top: 11px;
}
li span{
  color: #000000;
}
/*pagina*/
    .navigation{
        display: flex;
        margin-top: 60px;
        width: 340px;
        justify-content: space-between;
    }
    .button_arrow{
        width: 52px;
        height: 52px;
        font-family: 'Georgia';
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
       line-height: 24px;
       letter-spacing: 0.05em;
        border: 2px solid var(--color-primary);
        background-color: var(--color-light);
        box-sizing: border-box;
        border-radius: 100px;
        text-align: center;
        cursor: pointer;
        transition: .3s;
        }
     .button_number{
      font-family: 'Georgia';
      font-style: normal;
      font-weight: 400;
      font-size: 20px;
      line-height: 23px;
      letter-spacing: 0.06em;
      background-color: var(--color-primary);

      width: 52px;
      height: 52px;
      border: 2px solid var(--color-primary);
      box-sizing: border-box;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
     }
  .button_number span{
         user-select: none;
    }
  
        .active-arrow:hover{
          background-color: var(--color-primary-light);
        }
 
    /*footer*/
.footer{
    background: url(../../assets/images/noise_transparent.png), radial-gradient(110.67% 538.64% at 5.73% 50%, #513D2F 0%, #1A1A1C 100%) #211F20;
}
.footer-content{
    display: flex;
 justify-content: space-between;
  
}
.footer-contact{
    display: grid;
    column-gap:  20px; 
    row-gap: 40px;
   margin-bottom: 50px;
   align-self:center;
   grid-template-columns: 40px 1fr; 
   width: 278px;
}
.footer-locations{
    display: grid;
    row-gap: 30px;
    column-gap:  20px;
      margin-bottom: 50px;
    align-self:center;
    grid-template-columns: 22px 1fr; 
    width: 302px;
}
.email__link{
    text-decoration: none;
    align-self:center;
}

.footer-content__title{
    font-size: 35px;
line-height: 130%;
    color: #FFFFFF;
   grid-column: span 2;  
   margin-top: 55px;
   margin-bottom: 0px;
   letter-spacing: 0.05em;
}
.footer__img{
    width: 300px;
align-self:flex-end; 
display: flex; 
align-items: flex-end;
} 
.img{
  width: 100%;
}


.footer__text{
    font-size: 20px;
line-height: 115%;
    color: var(--color-primary);
    font-size: 20px;
    line-height: 23px;
    align-self:center;  
   margin:0;
}

.blackout:hover ~ .pop button { 
  background-color: var(--color-primary-light);
  background:  var(--color-primary-light);
  cursor: pointer;
  }
.button-close:hover {
  background-color: var(--color-primary-light);
  background:  var(--color-primary-light);
  cursor: pointer;
  }
.look{
  overflow: hidden;      
}
@keyframes opaque-window {
  from { opacity: 0;}
  to { opacity: 1;}
}
@keyframes opacity-window {
  from { opacity: 1;}
  to { opacity: 0;}
}

.transition-opaque {
  animation-name: opaque-window;
  animation-duration: 0.3s;
  
}
.transition-opacity {
  animation-name: opacity-window;
  animation-duration: 0.3s;
}
@media screen and (max-width: 1279px) {
  .header{
    padding-bottom: 27px;
  }
  
  .wrapper{   
     min-width: 708px; 
     margin: 0 auto; 
    }
    .logo{
      margin-left: 30px;
    }
    .nav{
      margin-right: 30px;
    }
    .nav__list{
      padding-left: 0px;
    }
    .pets-body{
      padding-top: 80px;
      padding-bottom: 75px;
      justify-content: center;
      align-items: center;
      width: 560px;
      margin: 0 auto;
    }
    .cards_container{
      display: grid;
      grid-template-columns: 1fr 1fr;
      margin-top: 30px;
     /* column-gap: 40px;*/
      row-gap: 30px;
   justify-items:start;
    justify-content:space-between;
    }
    [data-name="scarlett"]{
      display: none;
    }
    [ data-name="freddie"]{
      display: none;
    }
    .navigation{
      margin-top: 40px;
 
    }
 .footer{
   padding-top: 30px;
 }
 .footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;       
justify-content: center;
justify-items: center;
column-gap:42px ;
width: 640px;
margin: 0 auto;
}
.footer-content__title{
margin-top: 0px;

}
.footer-contact{
row-gap: 35px;
margin-bottom: 58px;
justify-self:start;
align-self: start;
}
.footer-locations{
row-gap: 33px;
justify-self:start;
margin-bottom: 58px;
}
.footer__img{
  grid-column : span 2;
}
}
@media screen and (max-width: 1000px){
  .pop{
    width: 88%;
    max-width: 630px;    
      }
.pop__body{
    height:auto;
    padding-right: 9px;

}
.pop__img{
    max-width: 350px;
}
.pop__content{
    width: 260px;
     margin-right: 9px;
     margin-bottom: 20px;
}
.pop__title{
  margin-top: 10px;
}
.pop__text{
    margin-top: 10px;
}
.pop__list{
    margin-top: 10px;
}
.list-item{
    margin-top: 5px;
}
}
@media screen and (max-width: 767px) {
  .wrapper {
      width: 100%;
    min-width: 300px; 
    margin: 0 auto;
  }
  .logo{
    margin-left: 10px;
  }
  
  .burger{
    display: block;
    position:relative;
    width: 30px;
    height: 22px;
    z-index: 15;
    transition: 0.5s all ease 0s;
    margin: 0px 53px 0px 10px;
    cursor: pointer;    
}
.burger::before, .burger::after{
    background-color:#000000;
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
}
.burger::before{
    top:0px;    
}
.burger::after{
    bottom: 0px;
}
.burger span{
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    top: 10px;
    background-color:#000000;
}
.nav{
    position: fixed;
    z-index: 13;
    top:-100%;
    right: 0px;
    width: 320px;
    height: 100%;
    background-color:white;
    display: flex;
    justify-content: center;
    align-items: center;  
    transition: 0.5s all ease 0s;
    margin: 0px;
}
.nav-active{
    top: 0;
}
.logo{
    position: relative;
    z-index: 15;
}
.nav__list {
    flex-direction: column;
    padding: 0px;  
}
.nav__item{
    margin-top: 40px;
}
.nav__link{
font-family: 'Arial';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 160%;
margin:0 auto;
}

  .burger-active::before {
    transform: rotate(90deg);
    left:-10px;
    top: 15px;
  }
.burger-active::after {
    transform: rotate(90deg);
    top:15px;
    left: 10px;

      }
      .burger-active span{
        transform: rotate(90deg);
        top:15px;
        left: 0px;
      }
      .burger-active{
        position: fixed;
        top: 45px;
        right: 53px;
        margin: 0;
      }
      .logo-active{
        position: fixed;
        z-index: 15;
        right: 126px;
        top:30px;
        margin: 0;
      }

      .pets-body{
        padding: 42px 10px;
        width: 100%;
      }
      .pets-title{
        font-size: 25px;
line-height: 32px;
letter-spacing: 0.06em;
      }
      .cards_container{
        width: 100%;
        margin-top: 42px;
        grid-template-columns: 1fr;
        justify-content: center;
      }
     
      .pets__card{
        justify-self:center;
      }
      /*pop*/
      .pop {
        width:80%;
        min-width: 220px;
               }
      .pop__img{
        display: none;
    }
    .pop__body{
        padding: 10px;
           }
    .pop__content{
        width: 100%;
        margin: 0 auto;
    }
     .pop__title{
        margin-top: 0px;
        text-align: center;
      }
      .pop__subtitle{
        text-align:center;
    }
   .navigation{
     max-width:340px;
     width: 100%;
   }
   .footer-content{
    grid-template-columns: 1fr;
    width: 100%;
   }
   .footer__img{
     grid-column: span 1;
   }
   .footer-content__title{
    font-size: 25px;
    line-height: 32px;
        text-align: center;
    letter-spacing: 0.06em;
    max-width: 278px; ;
    margin: 0 auto;
    }
    .footer-contact{
      justify-self:center;
      margin: 0 auto;
      margin-bottom: 35px;
      row-gap: 39px;
      column-gap: 15px;
      justify-content: center;
    }
    .email__link{
      align-self: center;
      justify-self:center;
    }
 .ico_email{
   margin-left: 22px;
   margin-top: 0px;
 }
 .ico_tel{
  margin-left: 32px;
  margin-top: 0px;
 }
    .footer-locations{
      justify-self:center;
      margin-bottom: 38px;
      row-gap: 38px;
     
    }
    .locotion2{
      justify-self:start;
    }
 
    .footer__img{
      width: 260px;
      justify-self:center;
    }
}