:root {
    --font-color: #604a4a;
    ;
    --bg-color: #FEFFE9;
    --font-form-color: #fcdfa1;
    --bg-form-color: #fcdfa1;
    --font-form-color: #604a4a;
}

htmlб,body,.question-container, .booking-container {
    max-width: 1600px;
}


/*menu*/
.menu-container a {
    font-family: 'Anonymous Pro', monospace;
}


.menu-container {
    position: fixed;
    padding: 10px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100vw;
    border: 1px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(51, 51, 51, 0.56);
    z-index: 11;

}
.menu-container a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    margin: 0 10px;
}
/*end menu*/

.link-nav a {
    position: relative;
    margin: auto 2px;
    padding: 11px 12px;
    transition: all 0.5s ease;
    border: none;
    background: none;
}

.link-nav a:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    display: block;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    transition: all .5s ease;
}

.link-nav a span {
    position: relative;
}

.link-nav a:hover:before {
    width: 100%;
    background: #eaafaf47;
}

.link-nav a:active {
    transform: scale(0.95);
}



.cbx {
    position: relative;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 1px solid #f06;
    border-radius: 3px;
    vertical-align: middle;
    transition: background 0.1s ease;
    cursor: pointer;
    display: block;
    margin-top: 10px;
}

.cbx:after {
    content: '';
    position: absolute;
    top: -0px;
    left: 5px;
    width: 7px;
    height: 10px;
    opacity: 0;
    transform: rotate(45deg) scale(0);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: all 0.3s ease;
    transition-delay: 0.15s;
}

.lbl {
    margin-left: 5px;
    vertical-align: middle;
    cursor: pointer;
}

#cbx:checked~.cbx {
    border-color: transparent;
    background: #ff0065;
    animation: jelly 0.6s ease;
}

#cbx:checked~.cbx:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.cntr {
    position: relative;
    display: flex;
    align-items: baseline;
    margin-top: 10px;
}

.cntr>label {
    margin-right: 7px;
}

.hidden-xs-up {
    display: none !important;
}

* {
    line-height: 1.4;
}

p,
h1,
h2,
h3,
h4,
h5,
span,
ul,
li {
    color: var(--font-color);
    font-family: 'Andika', sans-serif;
}

body {
    background-color: var(--bg-color);
}

a,
.form-link {
    color: var(--font-color);
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'Andika', sans-serif;
}

.hero-title {
    font-size: 45px;
    margin: 15px 0;
}

.hero-subtitle {
    font-size: 25px;
    margin: 15px 0;
}

.hero-container {
    height: 100vh;
    margin-bottom: 100px;

}

.hero-info {
    display: grid;
    grid-template-columns: 3fr 2fr;
    margin-top: 20px;
    padding: 50px;
}

.hero-info ul {
    list-style-image: url(../images/icons/paw.png);
}
.hero-info ul li{
    margin-top: 5px;
}
.hero-text-container {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
}

.link {
    background-color: #f06;
    color: #ffeded;
    text-decoration: none;
    padding: 10px 20px;
    width: 200px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-link {
    font-size: 18px;
    margin-top: 20px;
}
.hero-image-container img{
    width: 100%;
}
.hero-link:hover {
    background-color: #604a4a;
}

.link>img {
    padding-left: 10px;
}

.dog-services,
.cat-services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    align-items: center;
    padding: 5px 50px;
}

.dog,
.cat {
    display: flex;
}

.item-info {
    height: 80px;
}

.item-price {
    height: 20px;
    float: right;
}

.services-container {
    background-color: #fad0ab;
    border-radius: 100px;
    padding: 60px 0;

}

.service-animate-info {
    text-orientation: upright;
    writing-mode: sideways-lr;
    text-align: center;
    margin: 0;
}

.pet-item {
    width: 200px;
    height: 235px;
    background-color: #FEFFE9;
    border-radius: 25px;
    font-size: 17px;
    padding: 25px;
    display: grid;
    justify-content: center;
    justify-items: center;

}

.pet-item>p {
    margin: 10px 0;
}

.pet-item>p>span {
    color: #f06;
    font-size: 24px;
    padding: 0 3px;
}

.item-link {
    text-decoration: none;
    color: var(--font-color);
}

.item-link:hover svg {
    transform: translateX(4px);
}

.item-link svg {
    transform: translateX(0);
    transition: all 0.3s ease;
}

.swiper {
    width: 70vw;
    height: 300px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.booking-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    justify-content: center;
    align-items: center;
    width: 80vw;
    height: 350px;
    margin: 100px auto;
    background-color: var(--bg-form-color);
    border-radius: 20px;
}

.booking-form,
.booking-animation {
    padding: 25px;
}

form {
    display: flex;
}

.form-el-container,
.form-el-link {
    display: grid;
    height: 80px;
    align-content: end;
    gap: 10px;
    margin-right: 20px;
}

.form-el-container input,
.form-el-container select {
    background-color: var(--bg-form-color);
    color: var(--font-form-color);
    border: none;
}

.booking-form>h2 {
    font-size: 45px;
    margin: 0 0 15px 0;
}

#booking-form>* {
    color: var(--font-form-color)
}

.date-input,
.time-input,
.tel-input {
    display: flex;
    align-items: center;
    height: 30px;
}

#tel {
    width: 140px;
}

.date-input>img,
.time-input>img,
.tel-input>img {
    margin-right: 5px;
}

#tel:target,
#tel:active,
#tel:focus {
    outline: none !important;
}


.form-link {
    padding: 10px 20px;
    background-color: var(--font-form-color);
    color: var(--bg-form-color);
    border: none;
    border-radius: 20px;
}

.cntr a {
    font-size: 17px;
    letter-spacing: 0px;
    border-bottom: 1px solid #ff00664f;
}

.cntr a:hover {
    border-bottom: 1px solid #ff0066;
}

/* news */
.article-container>h2 {
    text-align: center;
    font-size: 45px;
}

.news-container {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    justify-content: center;
    gap: 50px;
}

.news-container img {
    width: 100%;
    border-radius: 40px;
    transition: all 0.5s ease;
}

.news-container img:hover {
    transform: scale(1.02);
}

.news {
    color: #083b06;
}

.news>h3 {
    height: 45px;
}

.news>p {
    height: 65px;
}

.news>a {
    align-self: end;
}


/* about  */
.about-container {
    margin-top: 100px;
    padding: 20px 50px;
    text-align: center;
}

.about-container>h2 {
    text-align: center;
    font-size: 45px;
}


.about-container>p {
    text-align: center;
    margin: 0 auto;
    width: 900px;
}

.about {
    display: grid;
    grid-template-columns: repeat(6, 170px);
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* question */
.question-container {
    padding: 0 50px;
    background-color: #ffb964;
    position: relative;
    height: 500px;
    width: 80vw;
    margin: 0 auto;
    border-radius: 20px;

}

.question-container * {
    color: rgb(64, 64, 64);
}

.question-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

}

.question-image img {
    position: absolute;
    bottom: 0;
    right: 20px;
}

.question-container>h2 {
    text-align: center;
    font-size: 45px;
    padding-top: 35px;
}

details {
    margin-top: 20px;

}

/* Убираем стандартный маркер Chrome */
details summary::-webkit-details-marker {
    display: none
}

/* Убираем стандартный маркер Firefox */
details>summary {
    list-style: none;
    display: grid;
    grid-template-columns: auto 10px;
    font-size: 17px;
}

details>p {
    padding: 10px 5px;
    font-size: 16px;
    color: #333 !important;
}

/* Добавляем собственный маркер для закрытого состояния */
details summary:before {
    content: url('../images/icons/plus.png');
    order: 1;
}

/* Добавляем собственный маркер для открытого состояния */
details[open] summary:before {
    content: url('../images/icons/unchecked.png');
}


/* footer */
footer * {
    color: white;
}

.subscribe input {
    color: #333;
}

.social {
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.social h3 {
    margin-bottom: 10px;
}

.social div {
    margin-bottom: 5px;
}

.social img {
    margin: 5px;
}

.subscribe {
    display: grid;
}

.subscribe>input {
    padding: 8px 0;
    text-align: center;
    border-radius: 20px;
    border: none;
}

.subscribe>input[placeholder] {
    color: rgb(0, 0, 0);
}

.subscribe a {
    margin-top: 20px;
    padding: 8px 0;
    color: white;
    border-radius: 20px;
    Box-shadow: 0px 1px 0px rgb(255, 255, 255), 0px -1px 0px rgb(255, 255, 255), 1px 0px 0px rgb(255, 255, 255), -1px 0px 0px rgb(250, 250, 250);
}

.subscribe a:hover {
    background-color: #f06;
    color: white;
    border: none;
    Box-shadow: none;
}

.footer-link {
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: end;
    justify-items: end;
}

.footer-link a {
    margin: 7px 0;
}

.copyright {
    text-align: center;
}

footer {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: var(--font-color);
    margin-top: 100px;
    padding: 5px 50px;
    justify-content: space-evenly;
}


.copyright p {
    margin-top: 10px;
}

.copyright svg {
    fill: #fa3e3e;
    margin: 0 0.5rem;
    width: 16px;
    animation: pound 0.35s infinite alternate;
    -webkit-animation: pound 0.35s infinite alternate;
}


/* media */

@media (max-width: 1230px) {
    .hero-info {
        grid-template-columns: 1fr 1fr;
    }
    .booking-container {
        width: 95vw;
    }
    .question-container {
        padding: 0 20px;
        background-color: #ffb964;
        position: relative;
        height: 550px;
        width: auto;
        margin: 0 auto;
        border-radius: 0;
      }
}

@media (max-width: 1120px) {
    .pet-item {
        width: 160px;
    }
    .booking-animation {
        display: none;
    }
    .booking-container {
        display: grid;
        grid-template-columns: 1fr;
    }
    .about {
        grid-template-columns: repeat(3, auto);
      }
      .answers {
        z-index: 1;
      }
}
@media (max-width: 1025px) {
    .hero-info {
        grid-template-columns: 1fr;
    }
    .hero-image-container {
        display: none;
    }
    
    .dog-services, .cat-services {
        grid-template-columns: 80px auto;
      }
      .dog > lottie-player, .cat > lottie-player {
          display: none;
      }
      .news-container {
        display: grid;
        grid-template-columns: 30vw 30vw 30vw;
        gap: 10px;
      }
      .about-container > p {
          width: auto;
      }
}





@media (max-width: 920px) {
    footer {
        grid-template-columns: 1fr;
        
    }
    .footer-anim {
        display: none;
    }
    .social{
        width: 70vw;
        margin: 0 auto;        
    }
    .footer-link {
        display: flex;
        justify-content: space-evenly;
        flex-flow: row wrap;
        margin: 10px;
      }
}

@media (max-width: 880px) {
    .news-container {
        display: grid;
        grid-template-columns: 90vw;
        gap: 10px;
      }
    .news {
        padding-bottom: 50px;
    }
    .news > h3,.news > p {
        height: auto;
      }
      .hero-title, .hero-subtitle {
        margin: 5px auto;
    }
    .hero-container {
        height: auto;
    }
    .question-image {
        grid-template-columns: 1fr;
      }
      .question-image > div:nth-child(2) {
          display: none;
      }
}

@media (max-width: 680px) {
    .booking-container {
        height: auto;
        width: auto;
        border-radius: 0;
    }
    .booking-form form {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .about {
        grid-template-columns: repeat(2, auto);
      }
}

@media (max-width: 600px) {
    .hero-info {
        padding: 50px 10px;
    }
    .dog-services, .cat-services {
        grid-template-columns: 30px auto;
      }
      .hero-title, .hero-subtitle {
          text-align: center;
      }
      .hero-link {
        justify-self: center;
      }
      .services-container {
          border-radius: 0;
      }
      .cntr{
        display: grid;
        grid-template-columns: 20px auto;
        gap: 5px;
      }
      .booking-form > h2, .booking-form > p {
          text-align: center;
      }
      .article-container > h2 {
          padding: 10px;
      }
    .about-container {

        margin-top: 10px;
        padding: 20px 10px;
    }
      .about {
        grid-template-columns: repeat(1, auto);
      }
      

     .question-container {
          height: auto;
          padding: 20px;
      }
      .question-container > h2 {
          padding-top: 10px;
          margin-top: 10px;
      }
}
@media (max-width: 380px) {
    .booking-form form {
        display: grid;
        grid-template-columns: 170px 140px;
      }
}


@-webkit-keyframes pound {
    to {
        transform: scale(1.1);
    }
}

@keyframes pound {
    to {
        transform: scale(1.1);
    }
}

@keyframes jelly {
    from {
        transform: scale(1, 1);
    }

    30% {
        transform: scale(1.25, 0.75);
    }

    40% {
        transform: scale(0.75, 1.25);
    }

    50% {
        transform: scale(1.15, 0.85);
    }

    65% {
        transform: scale(0.95, 1.05);
    }

    75% {
        transform: scale(1.05, 0.95);
    }

    to {
        transform: scale(1, 1);
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #f06 !important;
}
/* !!!!!!! */
@media (min-width: 920px) {
    .footer-anim {
        grid-area: 1 / 1 / 2 / 2;
    }
    
    .social {
        grid-area: 1 / 2 / 2 / 3;
    }
    
    .subscribe {
        grid-area: 1 / 3 / 2 / 4;
    }
    
    .copyright {
        grid-area: 2 / 1 / 3 / 4;
        border-top: 1px solid #ffffff24;
    } 
}
/* !!!!!!! */