html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: .3s;
  background: linear-gradient(90deg, #5B483A, #211F20);
}


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

::-webkit-scrollbar {
  width: 0;
}

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

.wrapper {
  padding: 0 40px;
  margin: auto;
}

.btn {
  cursor: pointer;
}

h1 {
  font-family: 'Georgia';
  font-weight: 400;
  font-size: 32px;
  line-height: 35px;
  letter-spacing: 0.06em;
  color: #F1CDB3;
  margin-bottom: 8px;
}

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



/* Header style start */

header {
  background: url('../../assets/images/start-screen-gradient-background.jpg');
  padding: 40px 0 0 0;
}


header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-active {
  display: none;
}


.subtitle {
  font-family: 'Arial';
  font-weight: 400;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: 0.1em;
  color: #fff;
  margin-top: 0;
}

.nav {
  margin-left: auto;
}

.nav_list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  list-style: none;
  align-items: center;
}

.nav_item {
  margin-right: 40px;
  list-style-type: none;
  margin-right: 36px;
}

.nav-link {
  font-size: 15px;
  line-height: 24px;
  font-family: 'Arial';
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  color: #CDCDCD;
  padding-bottom: 7px;
}

.nav_item:last-child {
  margin-right: 0;
}

.link_active {
  border-bottom: #F1CDB3 solid 2px;
}

.link_active:hover {
  border-bottom: none;
}

.nav-link:hover {
  border-bottom: #F1CDB3 solid 2px;
}

/* Header style end */

/* Main style start*/


/* section_content style start*/


.section_content {
  background: url('../../assets/images/start-screen-gradient-background.jpg');
  background-position: center -90px;
}

.section_content .wrapper {
  display: flex;
  padding-top: 45px;
  justify-content: space-between;
}


.start-content {
  padding-top: 127px;
  max-width: 39%;
}


.content-titel {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 44px;
  line-height: 57px;
  color: #fff;
}

.content-text {
  font-family: 'Arial';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
  display: flex;
  align-items: center;
  color: #CDCDCD;
  padding: 6px 0;
  margin: 0;
}




.button-content {
  background: #F1CDB3;
  padding: 15px 45px;
  border-radius: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-dark-3xl);
  outline: none;
  border: none;
  cursor: pointer;
  font-family: 'Georgia';
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0.06em;
  margin-top: 35px;
}

.button-content:hover {
  background: #FDDCC4;
}

.content_img {
  background-image: url('../../assets/images/start-screen-puppy.png');
  width: 693px;
  height: 730px;
  background-position: bottom right;
  background-repeat: no-repeat;
}

/* section_content style end*/


/* section_about style start*/

.section_about .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 120px;
  padding: 80px 40px 90px;
  background: #FFFFFF;
}

.about_img {
  background-image: url('../../assets/images/about-pets.png');
  background-repeat: no-repeat;
  background-position: center;
  width: 300px;
  height: 408px;
}

.about_item {
  max-width: 430px;
  padding-top: 14px;
}

.text_about {
  font-family: 'Arial';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #4C4C4C;
  margin-bottom: 25px;
  margin-top: 25px;
}

/* section_pets style start*/

.section_pets {
  background-color: #F6F6F6;
  padding: 79px 0 100px;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.06em;
}

.pets {
  width: 400px;
  height: 90px;
  color: #545454;
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.pets-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.slider {
  display: flex;
  max-width: 990px;
  overflow: hidden;
}

@keyframes move-left {
  from {
    left: 0;
  }

  to {
    left: -100%;
  }
}


@keyframes move-right {
  from {
    left: 100%;
  }

  to {
    left: 0;
  }
}

.to-left {
  animation-name: move-left;
  animation-duration: 2s;
}

.to-right {
  animation-name: move-right;
  animation-direction: reverse;
  animation-duration: 2s;
}

.from-left {
  animation-name: move-left;
  animation-direction: reverse;
  animation-duration: 2s;
}

.from-right {
  animation-name: move-right;
  animation-duration: 2s;
}

.next {
  position: absolute;
  top: 0;
  width: 100%;
}


.pet-card.show,
.pet-card.next {
  display: block;
}



.pet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 270px;
  height: 435px;
  background: #FAFAFA;
  cursor: pointer;
  margin-right: 90px;
  border-radius: 9px;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  text-align: center;
  display: none;
  position: relative;
}



.pet-card:hover {
  background: #F6F6F6;
  box-shadow: 0px 2px 35px 14px rgba(13, 13, 13, 0.04);
}

.pet-card_title {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  margin: 30px 0;
}


.button-pet {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 43px;
  height: 52px;
  border: 2px solid #F1CDB3;
  box-sizing: border-box;
  border-radius: 100px;
  background-color: transparent;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.06em;
  margin: 0 auto;
}

.pet-card:hover .button-pet {
  background: #FDDCC4;
  border-radius: 100px;
  border: none;
}


.button-arrow {
  width: 52px;
  height: 52px;
  border: 2px solid #F1CDB3;
  box-sizing: border-box;
  border-radius: 100px;
  background-color: transparent;
  margin-top: auto;
  margin-bottom: auto;
  transition: 0.75s;
}


.button-arrow:hover {
  background: #FDDCC4;
  border: none;
}

.button-primary {
  width: 261px;
  height: 52px;
  background: #F1CDB3;
  border-radius: 100px;
  border: none;
  color: #292929;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
}

.button-primary:hover {
  background: #FDDCC4;
}


/* section_pets style end*/


/* section_help style start*/

.section_help {
  background: #FFFFFF;
}

.wrapper-help {
  padding: 80px 0 63px 0;
}

.title-help {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 35px;
  line-height: 130%;
  letter-spacing: 0.06em;
  color: #545454;
  text-align: center;
  margin-bottom: 60px;
}

.icons-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 85px;
  gap: 36px 120px
}


.icon-help {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-help {
  margin-bottom: 9px;
}

.text-help {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 115%;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
  color: #545454;
}

/* section_help style end*/


/* section_donation style start*/

.section_donation .wrapper {
  padding-top: 75px;
  padding-bottom: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F6F6F6;
  gap: 30px;
}

.donation-dog {
  background: url('../../assets/images/donation-dog.png');
  width: 505px;
  height: 261px;
}

.donation-content {
  max-width: 380px;
}

.title-donation {
  margin-top: 6px;
}

.subheading-donation {
  margin: 20px 0;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 17px;
  letter-spacing: 0.06em;
  color: #545454;
}

.card {
  width: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.06em;
  background: #F1CDB3;
  margin-bottom: 20px;
  padding: 10px 15px;
  border-radius: 9px;
  cursor: pointer;
}

.card:hover {
  background: #FDDCC4;
}

.number-card {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  box-sizing: border-box;
  line-height: 115%;
  display: flex;
  align-items: center;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #545454;
}

.donation-description {
  font-family: 'Arial';
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  display: flex;
  align-items: center;
  color: #B2B2B2;
}

/* section_donation style end*/


/* Main style end*/


/* Footer style start*/

footer {
  background-image: url('../../assets/images/footer-background.png');
  background-repeat: no-repeat;
  padding-top: 40px;
}

footer .wrapper {
  display: flex;
  justify-content: space-between;
}



.contacts,
.location {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F1CDB3;
  padding-bottom: 60px;
}

.location {
  margin-right: 10px;
}

.footer-puppy {
  background-image: url('../../assets/images/footer-puppy.png');
  width: 300px;
  height: 310px;
}

.title-contacts,
.title-location {
  color: #fff;
  margin: 0;
}

.title-contacts {
  width: 279px;
}

.title-location {
  width: 278px;
}

.icon {
  margin-right: 20px;
  width: 40px;
  height: 32px;
}

.icon:hover {
  filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}


.link {
  text-decoration: none;
  color: #F1CDB3;
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  margin-top: 15px;
}


.link:hover {
  color: #FDDCC4;
}

.mail_icon {
  background-image: url('../../assets/icons/icon-email.svg');

}

.phone_icon {
  background-image: url('../../assets/icons/icon-phone.svg');
}

.map_icon {
  background: url('../../assets/icons/icon-marker.svg');
  background-repeat: no-repeat;
  margin-right: 0;
}


/* footer style end*/


/* Modal window start */

.modal {
  position: fixed;
  z-index: 1;
  padding-top: 104px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgba(41, 41, 41, 0.6);
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

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

.modal-content.modal-open {
  visibility: visible;
}


.modal-content {
  display: none;
  background: #FAFAFA;
  margin: auto;
  border-radius: 9px;
  opacity: none;
  cursor: default;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 82%;
  height: 350px;
  margin-top: 50px;
}

.modal-close {
  color: #292929;
  border: 2px solid #F1CDB3;
  border-radius: 50px;
  width: 52px;
  height: 52px;
  position: fixed;
  margin-left: 40%;
}

.modal-close:hover {
  background: #FDDCC4;
  cursor: pointer;
}

.modal-pet-img {
  width: 350px;
  height: 350px;
  background: url('../../assets/images/pets-katrine.png');
  background-size: cover;
  border-radius: 9px;
}

.modal-pet-img:nth-child(2) {
  background: url('../../assets/images/pets-jennifer.png');
}

.nonscroll {
  overflow: hidden;
  height: 100vh;
}

.modal-description {
  max-width: 260px;
  height: 330px;
  text-align: left;
  margin-left: 10px;
}

.name {
  font-size: 35px;
  line-height: 130%;
  letter-spacing: 0.06em;
}

.type {
  margin-top: 10px;
}

.modal-list {
  padding-left: 16px;
}

.modal-list::marker {
  color: #F1CDB3;
}

.about-pet {
  font-size: 13px;
  line-height: 110%;
  margin-bottom: 0;
}

.list {
  font-size: 15px;
  line-height: 110%;
  margin: 0;
}



/* Modal window end */



@media (min-width: 768px) and (max-width: 1279px) {



  header {
    padding: 11px 0 0 0;
  }

  .nav-link {
    padding-bottom: 5px;
  }

  .wrapper {
    padding: 0 30px;
    margin: auto;
  }

  .section_content,
  header {
    background: none;
  }

  .section_content .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 70px 0 69px;
  }

  .start-content {
    padding: 0;
    margin: 0 auto;
    max-width: 460px;
  }

  .form-start {
    margin-left: 27%;
  }

  .content_img {
    width: 569px;
    height: 593px;
    background-size: cover;
    margin-top: 100px;
    margin-left: 16%;
  }

  .section_about .wrapper {
    flex-direction: column-reverse;
    gap: 55px;
    align-items: center;
    padding-bottom: 100px;
  }

  .about_item {
    padding-top: 0px;
    padding-left: 2px;
    margin: auto 0;
  }

  .wrapper .section_pets {
    max-width: 275px;
  }

  .pet-card {
    margin: 0;
  }



  .slider {
    max-width: 580px;
    overflow: hidden;
  }


  .pet-card {
    margin-right: 40px;
  }

  .wrapper-help {
    padding-top: 80px;
    padding-bottom: 11%;
  }

  .icons-help {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 40px;
    gap: 36px 63px;
    margin: 0;
  }

  .section_donation .wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding-top: 9%;
    padding-bottom: 13%;
  }

  .donation-dog {
    margin-top: 3%;
  }

  footer {
    padding-top: 30px;
    background: radial-gradient(110.67% 538.64% at 5.73% 50%, #513D2F 0%, #1A1A1C 100%);
  }

  footer .wrapper {
    max-width: 708px;
    flex-wrap: wrap;
  }

  .footer-puppy {
    margin: 0 auto;
  }

  .contacts,
  .location {
    padding-top: 0;
    padding-bottom: 63px;
    justify-content: flex-start;
  }

  .link {
    margin-top: 39px;
  }

  .location .link {
    margin-top: 32px;
  }



}


@media (min-width: 319px) and (max-width: 767px) {

  h3 {
    font-size: 25px;
    line-height: 130%;
    text-align: center;
  }

  .section_content,
  header {
    background: none;
  }

  .wrapper {
    padding: 0 10px;
  }

  header {
    padding-top: 10px;
  }

  header .wrapper {
    padding-right: 53px;
  }

  .hamburger {
    padding-top: 10px;
    transition: 2s all;
  }

  .wrapp.active {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: rgba(41, 41, 41, 0.6);
    z-index: 2;
  }

  .hamburger .line {
    width: 30px;
    height: 2px;
    background-color: #F1CDB3;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .line:nth-child(3) {
    margin-bottom: 0;
  }

  .line:nth-child(1) {
    margin-top: 0;
  }

  .hamburger:hover {
    cursor: pointer;
  }

  #hamburger.active {
    position: fixed;
    right: 50px;
    top: 45px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    transition-duration: 2s;
  }

  .logo-active {
    z-index: 1;
    position: absolute;
    top: 10px;
    margin-right: 112px;
    display: block;
  }

  .nav {
    display: flex;
    position: fixed;
    height: 100vh;
    background: #211F20;
    padding: 0;
    top: 0;
    left: 0;
    right: -100%;
    justify-content: center;
    max-width: 320px;
  }

  .nav.show {
    animation-duration: 2s;
    animation-name: slidein;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .disable-scroll {
    overflow: hidden;
    height: 100vh;
  }

  @keyframes slidein {
    from {
      right: -320px;
    }

    to {
      right: 0;
    }
  }


  .nav_list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 210px;
  }

  .nav-link {
    font-size: 32px;
    line-height: 160%;
  }

  .nav_item {
    margin-bottom: 40px;
  }


  .section_content .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
  }

  .start-content {
    max-width: 300px;
    padding-top: 27px;
    margin: 0 auto;
  }

  .content-titel {
    font-size: 25px;
    line-height: 130%;
    text-align: center;
    letter-spacing: 0.06em;
    margin-bottom: 35px;
  }

  .content-text {
    text-align: center;
  }

  .button-content {
    margin: 35px auto;
  }


  .content_img {
    width: 260px;
    height: 271.77px;
    background-size: cover;
    margin-top: 71px;
    margin-left: 14%;
  }

  .section_about .wrapper {
    flex-direction: column-reverse;
    align-items: center;
    padding: 41px 0px;
    gap: 20px;
  }

  .about_item {
    max-width: 271px;
    padding-top: 0px;
    padding-left: 2px;
    margin: auto 0;
  }

  .text_about {
    text-align: justify;
    margin-bottom: 22px;
    margin-top: 25px;
  }

  .text_about:last-child {
    margin-top: 0px;
  }

  .about_img {
    width: 260px;
    height: 353.6px;
    background-size: cover;
  }


  .section_pets {
    padding: 29px 0 41px;
  }

  .pets {
    margin-bottom: 30px;
    width: 300px;
    padding-left: 8px;
  }

  .pets-cards {
    justify-content: center;
    max-width: 350px;
    margin: 0 auto;
  }


  .slider {
    max-width: 276px;
    overflow: hidden;
    margin: 0 auto;
  }

  .pet-card {
    width: 100%;
    margin: 0 3px;
  }

  .modal-pet-img {
    display: none;
  }

  .modal-content {
    max-width: 80%;
  }


  .button-arrow {
    margin-top: 20px;
    order: 2;
  }

  .button-arrow:first-child {
    margin-right: 80px;
  }

  .button-primary {
    margin-top: 42px;
  }

  .wrapper-help {
    padding: 43px 10px 20px;
  }

  .title-help {
    font-size: 25px;
    line-height: 130%;
    text-align: center;
    margin-bottom: 35px;
  }

  .icons-help {
    display: grid;
    padding: 5px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    margin: 0;
  }

  .text-help {
    font-size: 15px;
    line-height: 110%;
    margin-top: 12px;
  }

  .img-help {
    width: 50px;
    height: 50px;
  }

  .section_donation .wrapper {
    padding-top: 36px;
    flex-direction: column;
    padding-bottom: 42px;
  }

  .donation-content {
    margin-bottom: 13px;
  }

  .subheading-donation {
    font-size: 15px;
    line-height: 160%;
    letter-spacing: normal;
    text-align: center;
  }

  .donation-dog {
    width: 260px;
    height: 135.2px;
    background-size: cover;
    order: 2;
  }

  .card {
    width: 281px;
    margin: 0 auto;
  }

  .number-card {
    font-size: 15px;
    line-height: 110%;
  }

  .donation-description {
    margin-top: 19px;
    margin-bottom: 0px;
    text-align: justify;
    max-width: 280px;
  }

  footer {
    background: none;
    padding-top: 30px;
  }

  footer .wrapper {
    flex-direction: column;
  }

  .contacts,
  .location {
    padding-top: 0;
    padding-bottom: 40px;
    justify-content: flex-start;
    margin: 0 auto;
  }

  .link {
    margin: 39px auto 0;
    justify-content: flex-start;
  }

  .title-location {
    margin: 0 7px;
  }

  .location .link {
    margin-left: 0;
  }

  .footer-puppy {
    width: 260px;
    height: 269px;
    background-size: cover;
    margin: 0 auto;
  }


}