@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 400;
}

:root {
  font-size: 10px;
}

.shelter-content {
  width: 128rem;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 1279px) {
  .shelter-content {
    width: 768px;
  }
}
@media (max-width: 767px) {
  .shelter-content {
    width: 32rem;
  }
}

.header {
  position: fixed;
  background: white;
  margin: 0 auto;
  width: 128rem;
  height: 12rem;
  display: flex;
  align-items: center;
}
.header__burger {
  display: none;
}
@media (max-width: 1279px) {
  .header {
    width: 768px;
  }
}
@media (max-width: 767px) {
  .header {
    width: 32rem;
  }
}

.z_index {
  z-index: 1;
}

.wrapper {
  margin: 0 auto;
  width: 120rem;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1279px) {
  .wrapper {
    width: 708px;
  }
}
@media (max-width: 767px) {
  .wrapper {
    width: 32rem;
  }
}

.menu {
  display: flex;
  width: 44.288rem;
}

.list {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.list__item {
  display: flex;
  align-items: center;
}
.list__link {
  color: #545454;
  font-size: 1.5rem;
  font-family: Arial;
  line-height: 150%;
}
.list__link:hover {
  color: #292929;
}
.list .dis:hover {
  cursor: auto;
}

.list__link_active {
  border-bottom: 3px solid #F1CDB3;
  color: #292929;
}

@media (max-width: 767px) {
  .header {
    padding-left: 1rem;
    width: 32rem;
  }
  .header__burger {
    display: block;
    position: relative;
    width: 3rem;
    height: 2rem;
    top: 4.5rem;
    right: 5.3rem;
    z-index: 3;
  }
  .header__burger:before, .header__burger:after {
    transition: 0.5s ease;
    content: "";
    background-color: black;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
  }
  .header__burger:before {
    top: 0;
  }
  .header__burger:after {
    bottom: 0;
  }
  .header span {
    transition: 0.5s ease;
    position: absolute;
    background-color: black;
    width: 100%;
    height: 2px;
    left: 0;
    top: 9px;
  }
  .header .header__burger.active-burger:before {
    margin-left: -1rem;
    transition: 0.5s ease;
    transform: rotate(90deg);
    top: 9px;
  }
  .header .header__burger.active-burger:after {
    margin-left: 1rem;
    transition: 0.5s ease;
    transform: rotate(90deg);
    bottom: 9px;
  }
  .header .header__burger.active-burger span {
    transition: 0.5s ease;
    transform: rotate(90deg);
  }
}
@media (max-width: 767px) {
  .menu.active-burger {
    position: absolute;
    width: 103%;
    height: 82.3rem;
    left: -1rem;
    top: -3rem;
    padding-top: 24.8rem;
    padding-bottom: 24.8rem;
    background: #292929;
  }

  .list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .list__link {
    font-family: Arial;
    font-size: 32px;
    line-height: 160%;
    align-items: center;
    white-space: nowrap;
    color: #CDCDCD;
  }

  .list__link_active {
    color: white;
  }
}
@media (max-width: 767px) {
  .header .wrapper {
    position: relative;
  }

  .menu {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 100%;
    overflow: hidden;
    width: 0;
    height: 800px;
    transition: 0.5s ease;
    padding-top: 24.8rem;
    padding-bottom: 24.8rem;
  }

  .list__link {
    font-family: Arial;
    font-size: 32px;
    line-height: 160%;
  }

  .logo {
    z-index: 4;
  }
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo__title {
  color: #545454;
  font-family: Georgia;
  font-size: 3.2rem;
  line-height: 110%;
  letter-spacing: 0.2rem;
}
.logo__subtitle {
  margin-top: 10px;
  text-align: center;
  color: #292929;
  font-family: Arial;
  font-size: 1.3rem;
  line-height: 1.5rem;
  letter-spacing: 0.13rem;
}

@media (max-width: 767px) {
  .header .logo {
    margin-top: 3rem;
    margin-left: 1rem;
  }
}
.our_pets {
  padding-top: 12rem;
  background: #F6F6F6;
  height: 146.2rem;
}

.pets_content {
  height: 116.2rem;
  width: 100%;
  margin-top: 8rem;
}
.pets_content__heading {
  font-family: Georgia;
  font-size: 3.5rem;
  line-height: 130%;
  letter-spacing: 0.06em;
  text-align: center;
}
.pets_content__heading span {
  display: block;
}
.pets_content__cards-container {
  text-align: center;
  margin-top: 4.5rem;
  padding-bottom: 1.5rem;
  height: 93rem;
  display: flex;
  flex-wrap: wrap;
}
.pets_content__cards-container .cards {
  cursor: pointer;
  width: 27rem;
  height: 43.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAFAFA;
  border-radius: 9px;
}
.pets_content__cards-container .cards__title {
  padding-top: 3rem;
  color: #545454;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 23px;
  letter-spacing: 0.11rem;
}
.pets_content__cards-container .cards__button {
  margin-top: 3rem;
  color: #4C4C4C;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  width: 18.7rem;
  height: 5rem;
  border: 2px solid #F1CDB3;
  border-radius: 100px;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}

.pets_content__cards-container .cards:hover .cards__button:hover {
  background: #FDDCC4;
  border: 2px solid #FDDCC4;
}

.pets_content__cards-container .cards:nth-child(4) {
  margin-top: 1.5rem;
}
.pets_content__cards-container .cards:nth-child(-n+3) {
  margin-top: 1.5rem;
  margin-right: 4rem;
}
.pets_content__cards-container .cards:nth-child(1n+5) {
  margin-top: 3rem;
  margin-right: 4rem;
}
.pets_content__cards-container .cards:last-child {
  margin-right: 0;
}
.pets_content__cards-container .cards:hover {
  transition: 0.1s;
  cursor: pointer;
  box-shadow: 0px 9px 30px 0px rgba(0, 0, 0, 0.4);
}
.pets_content__cards-container .cards:hover {
  background: white;
}
.pets_content__cards-container .cards:hover .cards__button {
  background: white;
}
.pets_content__navigation {
  width: 34rem;
  height: 5.2rem;
  margin: 0 auto;
  margin-top: 4.5rem;
  display: flex;
}
.pets_content__navigation .navigation-item {
  width: 5.2rem;
  height: 5.2rem;
  border: 2px solid #CDCDCD;
  border-radius: 50%;
  margin-left: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pets_content__navigation .navigation-item:first-child {
  margin-left: 0;
}
.pets_content__navigation .active {
  border: 2px solid #F1CDB3;
}

.nav {
  width: 5.2rem;
  height: 5.2rem;
  border: 2px solid #CDCDCD;
  border-radius: 50%;
  margin-left: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav:first-child {
  margin-left: 0;
}

@media (max-width: 768px) {
  .nav {
    margin-left: 1rem;
  }
}
.navigation-item__value {
  background: #F1CDB3;
}

@media (max-width: 1279px) {
  .our_pets {
    height: 185.3rem;
  }

  .pets_content {
    margin: 0 auto;
    margin-top: 6rem;
    width: 58rem;
    height: 136.5rem;
  }
  .pets_content__heading {
    margin-top: 2rem;
  }

  .pets_content__cards-container {
    margin: 0 auto;
    height: 136.5rem;
    width: 58rem;
    margin-top: 3rem;
  }
  .pets_content__cards-container .cards:nth-child(-n+3) {
    margin-top: 0;
    margin-right: 0;
  }
  .pets_content__cards-container .cards:nth-child(1n+5) {
    margin-top: 0;
    margin-right: 0;
  }
  .pets_content__cards-container .cards:nth-child(1n+7) {
    margin-top: 0;
    margin-right: 0;
    display: none;
  }
  .pets_content__cards-container .cards:nth-child(even) {
    margin-left: 4rem;
  }
  .pets_content__cards-container .cards:nth-child(4) {
    margin-top: 0;
  }
  .pets_content__cards-container .cards:nth-child(1n+3) {
    margin-top: 3rem;
  }

  .pets_content__navigation {
    margin-top: 4rem;
  }
}
@media (max-width: 767px) {
  .our_pets {
    height: 176.9rem;
  }

  .pets_content {
    margin-top: 4.2rem;
    height: 156.5rem;
    width: 100%;
  }

  .pets_content__heading {
    margin-top: 0;
    font-family: Georgia;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0.06em;
  }

  .pets_content__cards-container {
    margin-top: 4.2rem;
    width: 27rem;
  }
  .pets_content__cards-container .cards:nth-child(1n+4) {
    display: none;
  }
  .pets_content__cards-container .cards:nth-child(-n+3) {
    margin-top: 3rem;
    margin-right: 0;
    margin-left: 0;
  }
  .pets_content__cards-container .cards:first-child {
    margin-top: 0;
  }

  .pets_content__navigation {
    margin-top: 4.2rem;
    width: 30rem;
    height: 5.2rem;
  }
  .pets_content__navigation .navigation-item {
    margin-left: 1rem;
  }
}
.footer {
  overflow: hidden;
  height: 35rem;
  background: url(../../assets/images/footer-gradient-background.png);
}

.footer-content {
  width: 100%;
  height: 35rem;
  display: flex;
  align-items: center;
  color: #F1CDB3;
}
.footer-content__contancts {
  width: 28rem;
  height: 23.4rem;
}

.contacts__title {
  color: #fff;
  font-family: Georgia;
  font-size: 3.5rem;
  line-height: 130%;
  letter-spacing: 0.06em;
}

.contacts-mail {
  display: flex;
  align-items: center;
  margin-top: 4rem;
  color: #F1CDB3;
}
.contacts-mail__mail {
  margin-left: 2rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  letter-spacing: 0.12rem;
}

.contacts-phone {
  display: flex;
  align-items: center;
  margin-top: 4.3rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  letter-spacing: 0.12rem;
  color: #F1CDB3;
}
.contacts-phone__phone {
  margin-left: 2rem;
}

.location {
  margin-left: 16rem;
  width: 30.2rem;
  height: 23.4rem;
}
@media (max-device-width: 1279px) {
  .location {
    width: 30.2rem;
    height: 23.4rem;
    margin-top: -36rem;
    margin-left: 40.2rem;
  }
}
.location__title {
  color: #fff;
  font-family: Georgia;
  font-size: 3.5rem;
  line-height: 130%;
  letter-spacing: 0.06em;
}

.location-boston {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  letter-spacing: 0.12rem;
}
.location-boston__text {
  margin-left: 1.9rem;
}

.location-london {
  display: flex;
  align-items: center;
  margin-top: 3.3rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  letter-spacing: 0.12rem;
}
.location-london__text {
  margin-left: 1.9rem;
}

.footer-content-puppy {
  margin-top: 4rem;
  margin-left: 16rem;
}

@media (max-device-width: 1279px) {
  .footer {
    height: 63.9rem;
    background: url(../../assets/images/noise_transparent@2x.png), radial-gradient(110.67% 538.64% at 5.73% 50%, #513D2F 0%, #1A1A1C 100%), #211F20;
  }

  .footer-content {
    height: 63.9rem;
    position: relative;
  }
  .footer-content__contancts {
    position: absolute;
    margin-top: -36rem;
    margin-left: 1rem;
  }

  .footer-content-puppy {
    position: absolute;
    margin-top: 32.4rem;
    margin-left: 20.4rem;
  }
}
@media (max-device-width: 767px) {
  .footer {
    height: 80.9rem;
  }

  .wrapper {
    height: 100%;
    width: 100%;
  }

  .footer-content {
    margin: 0 auto;
    margin-top: 3rem;
    height: 100%;
    width: 30rem;
    display: flex;
    flex-direction: column;
  }

  .footer-content__contancts {
    margin: 0;
    position: static;
    width: 27.8rem;
    height: 20.8rem;
  }
  .footer-content__contancts .contacts__title {
    font-family: Georgia;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .footer-content__contancts .contacts-mail {
    margin: 0 auto;
    margin-top: 4rem;
    width: 25.1rem;
    height: 3.2rem;
  }
  .footer-content__contancts .contacts-phone {
    margin: 0 auto;
    margin-top: 4rem;
    width: 24rem;
    height: 3.2rem;
  }

  .location {
    margin: 0;
    margin-top: 4rem;
    position: static;
    width: 30rem;
    height: 22.2rem;
  }
  .location__title {
    font-family: Georgia;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-align: center;
    margin-top: 0;
  }
  .location__title span {
    display: block;
  }
  .location .location-boston {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .footer-content-puppy {
    margin: 0;
    margin-top: 3.6rem;
    position: static;
    width: 26rem;
    height: 26.9rem;
  }
  .footer-content-puppy img {
    width: 100%;
  }
}
.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease 0s;
}

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

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.modal__content {
  border-radius: 10px;
  display: flex;
  position: relative;
  background-color: white;
  color: black;
  width: 900px;
  height: 500px;
}

.content__img {
  width: 200rem;
  height: 50rem;
}

.pet-img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.modal__close {
  width: 52px;
  height: 52px;
  border: 2px solid #F1CDB3;
  box-sizing: border-box;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -45px;
  top: -45px;
}
.modal__close:hover {
  background: #F1CDB3;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.content__description {
  margin-left: 3rem;
}
.content__description .name {
  margin-top: 5rem;
  font-family: Georgia;
  font-size: 3.5rem;
  line-height: 130%;
  letter-spacing: 0.06em;
}
.content__description .type {
  margin-top: 1rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  letter-spacing: 0.12rem;
}
.content__description .description {
  margin-top: 4rem;
  margin-right: 2rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 110%;
  letter-spacing: 0.09rem;
}
.content__description .propertys {
  margin-top: 4rem;
  font-family: Georgia;
  font-style: normal;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 110%;
  letter-spacing: 0.09rem;
}
.content__description .propertys span {
  font-family: Georgia;
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 16, 5px;
  letter-spacing: 6%;
}
.content__description .propertys li::before {
  content: "•";
  padding-right: 8px;
  color: #F1CDB3;
}

@media (max-device-width: 1279px) {
  .modal__content {
    width: 630px;
    height: 350px;
  }

  .content__img {
    height: 35rem;
  }

  .content__description .name {
    margin-top: 1rem;
    font-family: Georgia;
    font-size: 3.5rem;
    line-height: 130%;
    letter-spacing: 0.06em;
  }
  .content__description .description {
    margin-top: 2rem;
    margin-right: 2rem;
    font-family: Georgia;
    font-style: normal;
    font-weight: normal;
    font-size: 1.5rem;
    line-height: 110%;
    letter-spacing: 0.09rem;
  }
  .content__description .propertys {
    margin-top: 2rem;
  }
}
@media (max-device-width: 767px) {
  .modal__content {
    width: 240px;
    height: 341px;
  }
  .modal__content .content__img {
    display: none;
  }

  .content__description {
    width: 220px;
    margin: 0 auto;
  }
  .content__description .name {
    text-align: center;
    margin-top: 0;
  }
  .content__description .type {
    text-align: center;
  }
  .content__description .description {
    margin-right: 0;
    height: 112px;
    text-align: justify;
    font-size: 13px;
  }
}

/* animation */
.animate2{
  animation-name: animation2;
  animation-duration: 0.3s;
  animation-timing-function: linear;
}

@keyframes animation2 {
  0%{
    transform-origin: left top;
    transform: rotate(0deg);
  }

  25%{
    transform-origin: left top;
    transform: rotate(1deg);
  }

   50%{
    transform-origin: left top;
    transform: rotate(0deg);
  }


  75%{
    transform-origin: left top;
    transform: rotate(-1deg);
  }

  100%{
    transform-origin: left top;
    transform: rotate(0deg);
  }
}
