body {
    font-family: "Montserrat", sans-serif;
}
html {
    font-size: 18px;
}

h2 {
    font-size: 3.5em;
    color: #40331a;
    text-align: center;
    margin: 25px 15px;
}

.container__description {
    text-align: center;
    margin-bottom: 25px;
    padding: 0 25px;
}

.strong {
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-decoration: none;
    color: #000000;
}
.logo__text {
    font-size: 2em;
    font-weight: 300;
    text-transform: uppercase;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    box-sizing: border-box;
}

.top {
    display: flex;
    flex-wrap:wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding:  15px;
}

.about {
    background: #a6e1ff;
}

.about__text {
    font-size: 1.5em;
    text-align: center;
}

.about__text p {
    padding: 15px 9%;
    line-height: 1.2;
}

.pets {
    background: #ffcc66;
    position: relative;
}

.pets::before {
    content: "";
    position: absolute;
    background: url(image/ball-1.png);
    width: 238px;
    height: 366px;
    top: 50%;  
    animation-name: bounce-1;
    animation-timing-function: linear;  
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

   

@keyframes bounce-1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}



.navigation {
    flex-grow: 1;
}

.navigation__list {
    display: flex;
    justify-content: space-between;
}

.phone {
    text-align-last: right;
    flex-grow: 1;
    font-weight: bold;
   
}

.phone__link {
    color:#FF59BA;
    font-size: 1.4em;
    text-decoration: none;
    cursor: pointer;
}

.phone__link:hover {
    color:#da4b9e;
}

.header {
    display: flex;
    background-image: url(image/main-pet.jpg);
    background-repeat: no-repeat;
    background-position: right;
    padding: 0 15px;
}

.header_thanks {
    background-image: url(image/main-pet-thanks.jpg);
}

.header__content {
    width: 70%;
}

.header__title {
    margin: 150px 0 50px;
    font-size: 2.66em;
    font-weight: 600;
    color: #ff59ba;
}

.header__description {
    display: block;
}
.header__button {
    display: inline-flex;
    margin: 100px 0;
}

.button {   
    padding: 1em 2em;
    background: #ffcc66;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    border: 0;
}

.button:hover {   
    -webkit-box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    background: #FF9E59;
  
}

.advantages__wrapper {
    display: flex;
    margin-top: 150px;
   
}
.advatages__item {
    border-top: 1px solid #eeeeee;
    width: 33%;
    padding: 15px 25px 25px;
    margin: 0 15px;
    -webkit-box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 12px -5px rgba(34, 60, 80, 0.2);
    box-sizing: border-box;
}

.advantage__title {
    font-size: 1.33em;
    font-weight: bold;
    text-align: center;
    padding: 15px 25px;
}

.advantage__description {
    margin-top: 25px;
    line-height: 1.4;
}

.advantage__list {
    padding: 15px 15px;
    list-style-type: square;    
}

.advantage__img {
    text-align: center;
    position: relative;
    top: -55px;
}

.pets__wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 45px 0;
}

.pets__item {
    width:33%;    
    margin: 5px auto 30px;
    padding: 15px;
    box-sizing: border-box;
    min-width: 386px;
    cursor: pointer;
}

.pets-item__bg {
    margin: 0 auto;

}

.pets-item__name {
    margin: 25px auto 0;
    text-align: center;
}

.pets__item:hover .pets-item__bg {
    border: 10px solid #59ACB3;
}


.pets-item__pic {
    position:relative;
}

.pets-item__bg {
    background: #ffffff;
    width: 220px;
    height: 220px;
    border-radius: 220px;
    border: 10px solid salmon;
}

.pets-item__img {
    position: absolute;    
    top: -80px;
}



.pets__button {
    margin: 0 auto;
    width: 250px;
    display: block;
    text-align: center;
}

.button_light {
    background: #ffffff;
}

.rooms {
    position: relative;
}

.rooms::before {
    content: "";
    position: absolute;
    background: url(image/ball-2.png);
    width: 105px;
    height: 157px;
    top: 20%;
    right:0;
    animation-name: bounce-1;
    animation-timing-function: linear;  
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.rooms__wrapper {
    display: flex;
}

.rooms__item {
    width: 33%;
    margin:15px;
}

.price__wrapper {
    display: flex;
    flex-direction: column;
    margin: 45px 0;
    padding: 0 15px;
}

.price__line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}

.price {
    position: relative;
}

.price::before {
    content: "";
    position: absolute;
    background: url(image/ball-3.png);
    width: 318px;
    height: 313px;
    top: 20%;
    right:0;
    animation-name: bounce-1;
    animation-timing-function: linear;  
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.price__icon {
    padding: 5px;
}

.price__text {
    flex-grow: 1;
    padding-left: 25px;    
}

.price__cost {
    background: #FF9E59;
    width: 100px;
    padding: 20px;
    font-weight: 600;   
}

.price__line:hover .price__cost {
    background:#FFCC66;
}

.present {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price__present {
    margin: 25px;
}

.present__info {
    color:#D53650;
    font-size: 2.66em;
    margin-left: 25px;
}

.review {
    display: flex;
    align-items: center;
}


.review__img {
    border-radius: 175px;
    overflow: hidden;
    width: 270px;
    height: 270px;
    border: 2px solid #ffffff;
    box-shadow: 10px 0px 0px 1px rgb(34 60 80 / 90%)
}

.review__img  img {
    width: 100%;
}

.btn-cont {
    text-align: center;
    padding: 15px;
}

.btn-rew {
   margin: 25px auto;
        padding: 1em 2em;
        background: #ffcc66;
        border-radius: 25px;
        text-align: center;
        cursor: pointer;
        border: 0;
        margin-top: 30px;
        width: 100%;
        color: #000000;
        text-decoration: none; 
}

.btn-rew:hover {
    margin: 25px auto;
      
         background: #e0b04f;
   
 }

.reviews__wrapper {
    padding: 40px 0px;
}
.review__card {
    width:25%;
    min-width: 278px;
}

.review__context {
    padding: 25px 35px;
    line-height: 1.4;
}

.review__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}

.review__date {
color: #747474;
}

.review__name {
color: #FE5694;
margin-left: 25px;
}
.reviews {
    position:relative;
}
.reviews::before {
    content: "";
    position: absolute;
    background: url(image/ball-4.png);
    width: 99px;
    height: 139px;
    top: 20%;
    left:0;
    animation-name: bounce-1;
    animation-timing-function: linear;  
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.reviews__title {
    position: relative;
}

.reviews__title::after {
    content: "";
    position: absolute;
    width: 445px;
    height: 166px;
    background: url(image/title__bg.png);
    z-index: -2;
    left: 30%;
    top: -50px;
}

.contacts .form {
    display: flex;
    flex-direction: column;
    background:#ffffff ;
    position: relative;
}

.contacts .form::after {
    content: "";
    position: absolute;
    background: url(image/dog-width-phone.png);
    width: 190px;
    height: 500px;
    left: -190px;
    background-repeat: no-repeat;
    top: 0;
}

.column-contact {
width: 33%;
margin: 15px;
padding: 15px;
}
.column-form {
    width: 33%;
    margin: 15px;
    padding: 15px;
    }

.contacts {
    background: #DCE2D0;  
}

.contacts__wrapper {
    display: flex;
    justify-content: space-between;  
}

.contacts__info-title {
text-align: center;
}

.contact__form {
    padding: 35px ;
}

.contacts__phone, .contacts__lead, .contacts__addres {
    padding: 5px 5px;
}

.form__title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 35px;
}

.form__input {
    margin: 15px 0;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #A6A6A6;
    outline: none;
    box-sizing: border-box;
    width: 100%;
}

.form__button {
    margin-top: 30px;
    width:100%;
 
}

.contacts__info {
    font-size: 1.3em;
    line-height: 1.3;
}

.strong__new-line {
    display: block;
}

.advertis {
    text-align: center;
}

.navigation__link {
    color: #FF9E59;
    text-decoration: none;
    font-weight: 600;
}

.navigation__link:hover {
    color: #FFCC66;
}

.advertis__link {
    text-decoration: none;
    color:#4636B3;
}

.advertis__link:hover {
    color:#5641da;
}
.rooms__item img {
    width:100%;
}

@media screen and (max-width: 960px){
 .advantages__wrapper, .rooms__wrapper, .price__wrapper, .reviews__wrapper {
   flex-wrap:wrap;
   font-size: 18px;
 }
.advatages__item, .rooms__item {
    flex-grow: 1;
}

.top, .present, .review {
    flex-direction: column;
    align-items: center;
}
.logo, .navigation, .phone, .navigation__item {
  
    padding: 15px ;
}

.navigation__list {
    flex-direction: column;
    text-align: center;
}
.header__content {
    width: 100%;
    text-align: center;
    background-image: 
  linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),

 
}
.header__title {
    color: #40331a;
}
.present__info {
    text-align: center;
}
.present__icon {
    padding: 20px;
}
.reviews__title::after {
   display: none;
}
.form__title {
    font-size: 1.2em;
}

}

@media screen and (max-width: 1740px){
    .reviews::before, .price::before, .pets::before, .rooms::before {
        display: none;
    }
}



@media screen and (max-width: 1140px){
    .form__title {
        font-size: 1.4em;
    }
}


@media screen and (max-width: 780px){
    .form::after {
       display: none;
    }
    .column-form {
        width: 60%;
       
    }
    .column-contact {
        width: 40%;
    }
   
}
@media screen and (max-width: 640px){
 .review__meta {
     flex-direction: column;
 }
 .advatages__item {
    width:100%;
}
.contacts__wrapper {
 flex-wrap: wrap;
}
.column-contact, .column-form {
    width:100%;
}
#price {
    font-size: 3em;
}
.present__info {
  font-size: 1.6em;
    margin-left: 0;
}
.container h2 {
    font-size: 3em;
}
}