@charset "UTF-8";
@font-face {
  font-family: Arial;
  src: url(../../assets/fonts/arial-regular.ttf);
}

@font-face {
  font-family: Georgia;
  src: url(../../assets/fonts/georgia-regular.ttf);
}

/* ////////// basic normalize ////////// */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ////////// wrapper, header ////////// */
html {
  scroll-behavior: smooth;
}

body {
  background: url(../../assets/img/noise_transparent@2x.png), #F1CDB3;
}

body.open {
  overflow: hidden;
}

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

.header {
  position: absolute;
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 0px 40px;
  left: 0;
  right: 0;
  height: 180px;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .header {
    padding: 31px 30px 0 30px;
    height: 150px;
    transition: 0.5s;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 31px 10px 0 10px;
  }
}

.logo {
  display: block;
  width: 190px;
  text-decoration: none;
}

.logo__title {
  font-family: Georgia;
  font-weight: 400;
  font-size: 32px;
  line-height: 35px;
  letter-spacing: 2px;
  color: #F1CDB3;
}

.logo__description {
  padding-top: 10px;
  font-family: Arial;
  font-weight: 400;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #FFFFFF;
}

.burger-menu {
  text-decoration: none;
  width: 30px;
  height: 22px;
  display: none;
  transition: 0.4s;
  z-index: 2;
  cursor: pointer;
}

@media (max-width: 767px) {
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: auto;
    margin-top: 19px;
    margin-right: 43px;
  }
  .burger-menu.open {
    transform: rotate(90deg);
  }
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: #F1CDB3;
}

.main-menu {
  margin-left: auto;
  transition: 0.4s;
}

@media (max-width: 767px) {
  .main-menu {
    position: fixed;
    z-index: 1;
    top: 0;
    right: -320px;
    padding: 30px 10px;
    width: 320px;
    height: 100vh;
    background-color: #292929;
  }
  .main-menu.open {
    right: 0;
    overflow: auto;
  }
}

.menu-logo {
  display: none;
  transition: 0.4s;
}

@media (max-width: 767px) {
  .menu-logo {
    display: block;
    opacity: 0;
  }
  .menu-logo.open {
    opacity: 1;
  }
}

.overlay {
  display: none;
}

@media (max-width: 767px) {
  .overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(41, 41, 41, 0.7);
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  .overlay.open {
    opacity: 1;
    visibility: visible;
  }
}

.menu__container {
  display: flex;
  padding-top: 16px;
  gap: 2.25em;
  list-style: none;
}

@media (max-width: 767px) {
  .menu__container {
    height: 80vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 41px;
  }
}

.menu__link {
  position: relative;
  text-decoration: none;
  font-family: Arial;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #CDCDCD;
  transition: 0.8s;
  cursor: pointer;
}

.menu__link:hover {
  color: #FAFAFA;
  text-shadow: 0 0 5px #FAFAFA;
  transition: 0.8s;
}

.menu__link:hover.active {
  text-shadow: 0 0 0 #FAFAFA;
}

@media (max-width: 767px) {
  .menu__link {
    font-size: 32px;
    line-height: 51px;
  }
}

.active {
  position: relative;
  color: #FAFAFA;
}

.active::before {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 100%;
  right: 0;
  height: 3px;
  background-color: #F1CDB3;
}

/* ////////// section welcome (not only) ////////// */
.welcome {
  display: flex;
  gap: 42px;
  padding: 180px 40px 0px 40px;
  background: url(../../assets/img/noise_transparent@2x.png), linear-gradient(120deg, #5b483a 0%, #262425 70%, #211f20 100%);
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .welcome {
    padding: 152px 30px 0 30px;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    transition: 0.5s;
  }
}

@media (max-width: 767px) {
  .welcome {
    padding: 150px 10px 0 10px;
    gap: 105px;
  }
}

.welcome-description {
  margin-top: 163px;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .welcome-description {
    margin-top: 0;
    max-width: 60vw;
    transition: 0.5s;
  }
  .welcome-description .welcome__form {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .welcome-description {
    text-align: center;
  }
}

@media (max-width: 350px) {
  .welcome-description {
    max-width: 100vh;
  }
}

.welcome__title {
  font-family: Georgia;
  width: 310px;
  font-weight: 400;
  font-size: 44px;
  line-height: 57px;
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .welcome__title {
    margin: 0 auto;
    max-width: 200px;
    letter-spacing: 0.06em;
    font-size: 25px;
    line-height: 32px;
  }
}

.welcome__text {
  margin-top: 41px;
}

.welcome__button {
  margin-top: 42px;
}

.paragraph__text, .about-description__text {
  font-family: Arial;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #CDCDCD;
}

.button {
  width: 207px;
  height: 52px;
  border-radius: 100px;
  border-style: none;
  background-color: #F1CDB3;
  font-family: Georgia;
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0.06em;
  color: #292929;
  cursor: pointer;
  transition: 0.5s;
}

.button:hover {
  background-color: #FDDCC4;
  transition: 0.5s;
}

.welcome-puppy {
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .welcome-puppy {
    width: 569px;
    height: 593px;
  }
}

@media (max-width: 800px) {
  .welcome-puppy {
    align-self: flex-end;
  }
}

@media (max-width: 767px) {
  .welcome-puppy {
    width: 80%;
    height: 80%;
  }
}

@media (max-width: 400px) {
  .welcome-puppy {
    width: 260px;
    height: 272px;
  }
}

/* ////////// section about ////////// */
.about {
  padding: 80px 40px 100px 40px;
  display: flex;
  justify-content: center;
  gap: 120px;
  background-color: #FFFFFF;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .about {
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 43px 10px 42px 10px;
    gap: 42px;
  }
}

.section-title {
  width: 370px;
  font-family: Georgia;
  font-weight: 400;
  font-size: 35px;
  line-height: 45px;
  letter-spacing: 0.06em;
  color: #545454;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 25px;
    line-height: 32px;
    width: 287px;
  }
}

@media (max-width: 767px) {
  .about-title {
    width: 270px;
    text-align: center;
    margin: 0 auto;
  }
}

.about-description {
  width: 430px;
  padding-top: 14px;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .about-description {
    order: -1;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .about-description {
    width: 55vw;
    text-align: justify;
  }
}

@media (max-width: 500px) {
  .about-description {
    width: 270px;
  }
}

.about-description__text {
  padding-top: 25px;
  color: #4C4C4C;
}

@media (max-width: 767px) {
  .about-description__text-two {
    padding-top: 22px;
  }
}

@media (max-width: 767px) {
  .about-pets {
    width: 260px;
    height: 354px;
  }
}

/* ////////// section our friends ////////// */
.our-friends {
  padding: 80px 40px 100px 40px;
  background-color: #F5F5F5;
  text-align: center;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .our-friends {
    padding: 80px 10px 100px 10px;
    transition: 0.5s;
  }
}

@media (max-width: 767px) {
  .our-friends {
    padding: 42px 8px 42px 8px;
  }
}

.our-friends-title {
  margin: 0 auto;
  width: 400px;
  text-align: center;
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .our-friends-title {
    width: 287px;
    margin-bottom: 42px;
  }
}

.our-friends__slider {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 53px;
  transition: 0.5s;
}

@media (max-width: 900px) {
  .our-friends__slider {
    column-gap: 12px;
  }
}

@media (max-width: 767px) {
  .our-friends__slider {
    width: 270px;
    margin: 0 auto;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 20px;
  }
}

.slider__button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #F1CDB3;
  width: 52px;
  height: 52px;
  border-radius: 100px;
  background-color: #F5F5F5;
  cursor: pointer;
  transition: 0.5s;
}

.slider__button:hover {
  border: 2px solid transparent;
  background-color: #FDDCC4;
  transition: 0.5s;
}

@media (max-width: 767px) {
  .slider__button.left {
    order: 1;
  }
  .slider__button.right {
    order: 2;
  }
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.cards-container {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  gap: 90px;
  transition: 0.7s;
}

@media (max-width: 1279px) {
  .cards-container {
    gap: 40px;
  }
}

.cards-container.prev {
  position: absolute;
  top: 0;
  left: -1150px;
}

.cards-container.next {
  position: absolute;
  top: 0;
  left: 1150px;
}

.card {
  text-align: center;
  width: 270px;
  height: 435px;
  background-color: #FAFAFA;
  transition: 0.5s;
}

.card:hover {
  background-color: #FFFFFF;
  cursor: pointer;
}

.card:hover .card-button {
  border: 2px solid transparent;
  background-color: #FDDCC4;
  transition: 0.5s;
}

@media (max-width: 767px) {
  .card:nth-child(2) {
    display: none;
  }
}

@media (max-width: 1279px) {
  .card:nth-child(3) {
    display: none;
  }
}

.item-title {
  font-family: Georgia;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.06em;
  color: #545454;
}

.card-button {
  margin-top: 30px;
  width: 187px;
  background-color: #FAFAFA;
  border: 2px solid #F1CDB3;
}

.card-title {
  margin-top: 25px;
}

.our-friends__button {
  width: 261px;
  margin-top: 59px;
}

@media (max-width: 767px) {
  .our-friends__button {
    margin-top: 42px;
  }
}

/* ////////// section help ////////// */
.help {
  padding: 80px 40px 100px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  background-color: #FFFFFF;
}

@media (max-width: 767px) {
  .help {
    padding: 42px 10px 42px 10px;
    gap: 42px;
  }
}

.help-title {
  text-align: center;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  height: 113px;
}

@media (max-width: 1279px) {
  .item {
    width: 170px;
  }
}

@media (max-width: 767px) {
  .item {
    width: 130px;
    height: 87px;
  }
}

@media (max-width: 767px) {
  .item-image {
    width: 50px;
    height: 50px;
  }
}

.help-items {
  display: flex;
  flex-wrap: wrap;
  column-gap: 120px;
  row-gap: 55px;
  justify-content: center;
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .help-items {
    column-gap: 15%;
  }
}

@media (max-width: 900px) {
  .help-items {
    column-gap: 60px;
  }
}

@media (max-width: 767px) {
  .help-items {
    width: 350px;
    column-gap: 50px;
    margin: 0 auto;
    justify-content: flex-start;
  }
}

@media (max-width: 500px) {
  .help-items {
    width: 290px;
    column-gap: 30px;
    row-gap: 30px;
  }
}

@media (max-width: 310px) {
  .help-items {
    width: auto;
    column-gap: 0;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .help-item-title {
    font-size: 15px;
    line-height: 17px;
  }
}

/* ////////// section in addition ////////// */
.in-addition {
  padding: 80px 40px 100px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-color: #F5F5F5;
}

@media (max-width: 1279px) {
  .in-addition {
    flex-direction: column;
    gap: 60px;
  }
}

@media (max-width: 767px) {
  .in-addition {
    padding: 42px 10px 42px 10px;
    gap: 42px;
  }
}

.addition-info {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1279px) {
  .addition-info {
    order: -1;
  }
}

@media (max-width: 767px) {
  .addition-info {
    align-items: center;
    width: 280px;
  }
}

@media (max-width: 767px) {
  .addition-title {
    text-align: center;
  }
}

.addition-description-title {
  font-family: Georgia;
  font-weight: 400;
  font-size: 15px;
  line-height: 17px;
  letter-spacing: 0.06em;
  color: #545454;
}

@media (max-width: 767px) {
  .addition-description-title {
    text-align: center;
    line-height: 24px;
    letter-spacing: normal;
  }
}

.addition-link {
  text-decoration: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 349px;
  height: 43px;
  background-color: #F1CDB3;
  border-radius: 9px;
  cursor: pointer;
  transition: 0.8s;
}

.addition-link:hover {
  background-color: #FDDCC4;
  transition: 0.8s;
}

@media (max-width: 767px) {
  .addition-link {
    width: 280px;
  }
}

@media (max-width: 767px) {
  .addition-link-text {
    font-size: 15px;
    line-height: 17px;
  }
}

.addition-text {
  font-family: Arial;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #B2B2B2;
}

@media (max-width: 767px) {
  .addition-text {
    text-align: justify;
  }
}

@media (max-width: 767px) {
  .addition-pet {
    width: 260px;
    height: 135px;
  }
}

/* ////////// section footer ////////// */
.footer {
  padding: 40px 40px 0 40px;
  display: flex;
  gap: 140px;
  background: url(../../assets/img/noise_transparent@2x.png), linear-gradient(120deg, #5b483a 0%, #262425 70%, #211f20 100%);
  transition: 0.5s;
}

@media (max-width: 1279px) {
  .footer {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20%;
  }
}

@media (max-width: 900px) {
  .footer {
    justify-content: center;
    padding: 30px 30px 0 30px;
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 65px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 30px 20% 0 20%;
  }
}

@media (max-width: 500px) {
  .footer {
    padding: 30px 10px 0 10px;
    row-gap: 40px;
  }
}

.footer-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.5s;
}

.footer-link:hover {
  text-shadow: 0 0 5px #F1CDB3;
  transition: 0.5s;
}

.contacts-title,
.address-title {
  padding-top: 18px;
  width: 300px;
  color: #FFFFFF;
}

@media (max-width: 1279px) {
  .contacts-title,
  .address-title {
    padding-top: 0px;
  }
}

@media (max-width: 767px) {
  .contacts-title,
  .address-title {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .address-title {
    width: 294px;
    padding-left: 5px;
  }
}

.footer-item-title {
  color: #F1CDB3;
}

.contacts-info,
.address-info {
  width: 300px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1279px) {
  .contacts-info,
  .address-info {
    width: 290px;
    height: 235px;
  }
}

@media (max-width: 767px) {
  .contacts-info {
    align-items: center;
    height: 207px;
  }
}

.address-info {
  width: 320px;
}

@media (max-width: 1279px) {
  .address-info {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .address-info {
    height: 222px;
  }
}

@media (max-width: 767px) {
  .footer-pet {
    width: 260px;
    height: 269px;
  }
}

/* ////////// modal window ////////// */
.modal-container {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  transition: 0.5s;
}

.modal-container.modal-active {
  opacity: 1;
}

.modal {
  position: relative;
  display: flex;
  text-align: left;
  width: 900px;
  height: 500px;
  border-radius: 9px;
  background-color: #FAFAFA;
  top: calc(50% - 250px);
  left: calc(50% - 450px);
  color: #000;
  z-index: 2;
  transition: 0.5s;
}

@media (max-height: 625px) {
  .modal {
    top: 52px;
  }
}

@media (max-width: 1279px) {
  .modal {
    width: 680px;
    height: 400px;
    top: calc(50% - 200px);
    left: calc(50% - 340px);
  }
}

@media (max-width: 1279px) and (max-height: 550px) {
  .modal {
    top: 52px;
  }
}

@media (max-width: 767px) {
  .modal {
    width: 240px;
    max-height: 430px;
    top: calc(50% - 215px);
    left: calc(50% - 120px);
  }
}

@media (max-width: 767px) and (max-height: 550px) {
  .modal {
    top: 52px;
  }
}

.modal-pet {
  width: 500px;
  height: 500px;
  border-radius: 9px;
}

@media (max-width: 1279px) {
  .modal-pet {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .modal-pet {
    display: none;
  }
}

.modal-button {
  position: absolute;
  top: calc(50% - 305px);
  left: calc(50% - -420px);
  border: 2px solid transparent;
  background-color: #FDDCC4;
  transition: 0.5s;
}

@media (max-height: 625px) {
  .modal-button {
    top: 0;
  }
}

@media (max-width: 1279px) {
  .modal-button {
    top: calc(50% - 252px);
    left: calc(50% - -315px);
  }
}

@media (max-width: 1279px) and (max-height: 550px) {
  .modal-button {
    top: 0;
  }
}

@media (max-width: 767px) {
  .modal-button {
    top: calc(50% - 270px);
    left: calc(50% - -95px);
  }
}

@media (max-width: 767px) and (max-height: 550px) {
  .modal-button {
    top: 0;
  }
}

.modal-button.modal-on {
  border: 2px solid #F1CDB3;
  background-color: transparent;
  transition: 0.5s;
}

.modal-info {
  width: 351px;
  margin-left: 29px;
  margin-right: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 1279px) {
  .modal-info {
    width: 265px;
    margin-left: 11px;
    margin-right: 9px;
  }
}

@media (max-width: 767px) {
  .modal-info {
    width: 220px;
    margin: 0 10px 10px 10px;
  }
}

.modal-title {
  margin-top: 50px;
  margin-bottom: 10px;
}

@media (max-width: 1279px) {
  .modal-title {
    margin: 10px 0;
  }
}

@media (max-width: 767px) {
  .modal-title {
    font-size: 35px;
    line-height: 45px;
    width: 220px;
  }
}

.modal-breed-title, .modal-text {
  margin-bottom: 40px;
}

@media (max-width: 1279px) {
  .modal-breed-title, .modal-text {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .modal-title, .modal-breed-title {
    text-align: center;
  }
}

.modal-text {
  font-family: Georgia;
  font-weight: 400px;
  font-size: 15px;
  line-height: 17px;
  letter-spacing: 0.9px;
}

@media (max-width: 1279px) {
  .modal-text {
    font-size: 13px;
    line-height: 14px;
    letter-spacing: 0.78px;
  }
}

@media (max-width: 767px) {
  .modal-text {
    text-align: justify;
  }
}

.modal-li {
  font-family: Georgia;
  font-weight: 400px;
  font-size: 15px;
  line-height: 17px;
  letter-spacing: 0.9px;
  margin-bottom: 10px;
  list-style: none;
}

.modal-li::before {
  content: "•";
  color: #F1CDB3;
  padding-right: 10px;
}

.modal-li-span {
  font-weight: bold;
}

.modal-title, .modal-breed-title, .modal-text {
  color: #000;
}
