html {
    box-sizing: border-box;
    overflow-x: hidden;
}

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

body {
    font-style: normal;
    font-weight: 400;

}

h1 {
    overflow: hidden;
    width: 1px;
    height: 1px;
}



h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 35px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #545454;
}

h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    line-height: 115%;
    color: #F1CDB3;
}

h5 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 15px;
    line-height: 110%;
    color: #545454;
    ;
}


p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 160%;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}


.header {
    width: 100vw;
    height: 120px;
    background: #FFFFFF;
}

.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 31px;
}

.logo {
    display: flex;
    flex-direction: column;
    /* max-width: 184px;
    max-height: 60px; */
}

.logo__title {
    color: #545454;
    font-size: 32px;
    letter-spacing: 0.06em;
    line-height: 110%;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
}

.logo__subtitle {
    color: #292929;
    font-family: Arial;
    font-size: 13px;
    letter-spacing: 10%;
    line-height: 15px;
    margin-top: 8px;
    padding-left: 5px;
    letter-spacing: 0.1em;
    text-decoration: none;
}



.menu {
    display: flex;
    width: 443px;
    padding-bottom: 5px;
}

.list {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.list__item {
    display: flex;
    align-items: center;
}

.list__link {
    color: #545454;
    font-family: Arial;
    font-size: 15px;
    line-height: 160%;
}

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

.list__link_disabled {
    color: #292929;
}

/* pets */
.pets {
    padding-left: 4px;
    background: #F6F6F6;
}



.pets__title {
    color: #545454;
    text-align: center;
    max-width: 400px;
    margin: 80px auto 59px;
    /* padding-left: 55px; */
}

.pets__cards {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    grid-column-gap: 40px;
    grid-row-gap: 31px;
    /* height: 930px; */
    /* margin-top: 59px; */

}

.pets__button {
    width: 187px;
    border-radius: 100px;
    border: 2px solid #F1CDB3;
    color: #292929;
    font-family: Georgia;
    font-size: 17px;
    line-height: 130%;
    letter-spacing: 0.06em;
    background: #FAFAFA;
    padding: 13px 15px;
    margin-bottom: 30px;
    margin-right: 2px;
    text-align: center;
}

.pets__button:hover {
    cursor: pointer;
    background: #FDDCC4;
}

.pets__name {
    padding-top: 27px;
    padding-bottom: 30px;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 0.06em;
}

.Katrine,
.Jennifer,
.Woody,
.Charly,
.Timmy,
.Scarlett,
.Freddie,
.Sophia {
    border-radius: 9px;
    background: #FAFAFA;
    /* border: 2px solid red; */
    text-align: center;
}

.Katrine:hover .pets__button,
.Jennifer:hover .pets__button,
.Woody:hover .pets__button,
.Charly:hover .pets__button,
.Timmy:hover .pets__button,
.Scarlett:hover .pets__button,
.Freddie:hover .pets__button,
.Sophia:hover .pets__button {
    cursor: pointer;
    background-color: #FDDCC4;
}


.Katrine:hover,
.Jennifer:hover,
.Woody:hover,
.Charly:hover,
.Timmy:hover,
.Scarlett:hover,
.Freddie:hover,
.Sophia:hover {
    cursor: pointer;
    background-color: #FFFFFF
}


/* popup */
#popup_more {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(41, 41, 41, 0.6);
    z-index: 2;
    text-align: center;
    color: #353a3f;
}

#popup_more.visible {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;

    
}


#more_content {
    display: flex;
    flex-direction: column;
    width: 900px;
    height: 500px;
    background: #FAFAFA;
    border-radius: 9px;
    position: relative;
    margin: 0 auto;
   
}

.close_result {
    /* position: absolute;
    top: -10%;
    right: -4%; */
    border-radius: 100px;
    width: 52px;
    height: 52px;
    align-self: center;
    margin-right: 100px;
}

.close_result:hover {
    cursor: pointer;
    background-color: #FDDCC4;
    border-radius: 100px;
    width: 52px;
    height: 52px;
    text-align: center;
}

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

.description_image {
    width: 500px;
}

.description_image img {
    width: 500px;
}

.description_content {
    width: 351px;
    padding: 50px 20px 88px 29px;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #000000;
    text-align: left;
}

.description_name {
    font-size: 35px;
    line-height: 130%;
}

.description_type {
    font-size: 20px;
    line-height: 115%;
    padding-top: 10px;
    padding-bottom: 40px;

}

.description_more {
    font-size: 15px;
    line-height: 110%;
    margin-bottom: 40px;
}

li {
    color: #F1CDB3;
    ;
    list-style-type: disc;
    padding-bottom: 11px;

}

li span {
    color: #000000;
    ;
}


.add_information {
    font-size: 15px;
    line-height: 110%;
    color: #000000;
    margin-left: 11px;
}

.add_information-title {
    font-weight: bold;
}






.pagination {
    display: flex;
    justify-content: center;
    /* margin-top: 60px;
    margin-bottom: 98px; */
    width:340px;
    margin: 60px auto 98px;
}


.arrows {
    border-radius: 100px;
    width: 52px;
    height: 52px;
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: 0.06em;
    margin-right: 20px;
    background: #F6F6F6;
}

.arrows:last-child {
    margin-right: 0px;
}

.arrow-left,
.double-left {
    border: 2px solid #CDCDCD;
    color: #CDCDCD;
}

.arrow-left {
    padding: 11px 18px 13px 16px;
}

.arrow-right {
    padding: 10px 19px 13px 17px;
}

.number {
    padding: 13px 20px 12px 21px;
}

.double-left {
    padding: 10px 8px 13px 9px;
}

.double-right {
    padding: 10px 10px 13px 9px;
}


.double-right,
.arrow-right {
    border: 2px solid #F1CDB3;
    color: #292929;
}

.double-right:hover,
.arrow-right:hover {
    cursor: pointer;
}

.number {
    background: #F1CDB3;
}



/* footer */

/* footer */
.footer {
    background: url(../../assets/images/noise_transparent@2x.png),
        radial-gradient(100% 215.42% at 0% 0%, #5B483A 0%, #262425 100%),
        #211F20;
    /* height: 350px; */
}

.footer-wrapper {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    margin-top: 40px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 300px;
    max-height: 234px;
    color: #FFFFFF;
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer__contacts h3 {
    color: #FFFFFF;
}

.footer__svg {
    margin-right: 20px;
}

.mail {
    display: flex;
    align-items: center;
    margin: 40px auto 35px 0;
}

.mail__title,
.phone__title {
    padding-bottom: 5px;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: 0.06em;
}

.phone {
    display: flex;
    align-items: center;
}



.footer__location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    display: inline;
    /* max-width: 302px; */
    /* max-height: 234px; */
    margin-top: 19px;
    margin-bottom: 60px;
    margin-left: 139px;
    margin-right: 150px;
    color: #FFFFFF;
}

.footer__location h3 {
    color: #FFFFFF;
}

.uk__title,
.usa__title {
    font-size: 20px;
    line-height: 115%;
    letter-spacing: 0.06em;
}

.footer__location-USA {
    display: flex;
    align-items: center;
    margin: 30px auto 31px 0px;

}

.footer__location-UK {
    display: flex;
    align-items: center;
}


.footer__image-wrapper {
    width: 100%;
    max-width: 300px;
    /* max-height: 310px; */
}


a {
    text-decoration: none;
    color: #F1CDB3;
}

a:hover {
    cursor: pointer;
}


/* burger menu */
.body__overflow {
    overflow-y: hidden;
}

.burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3;
    margin-right:43px;
}


.burger_close {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    flex-wrap: wrap;
    width: 443px;
    padding-bottom: 5px;
}


.logo__container {
    display: none;
}




/* responsive */
@media (min-width: 768px) and (max-width: 1279.98px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

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

    .pets__title {
        margin: 80px auto 29px;
    }

    .pets__cards {
        max-width: 580px;
        margin: 0 auto;
    }

    .Scarlett,
    .Freddie {
        display: none;
    }


    /* popup */

    #more_content {
        width: 630px;
        height: 350px;
    }

    .close_result {
        top: -12%;
        right: -7%;
    }


    .description_image {
        width: 350px;
    }

    .description_image img {
        width: 350px;
    }

    .description_content {
        width: 280px;
        padding: 10px 9px 37px 11px;
    }

    .description_type {
        padding-bottom: 20px;
    }

    .description_more {
        font-size: 13px;
        line-height: 110%;
        margin-bottom: 20px;
    }

    li {
        padding-bottom: 6px;
    }


    .pagination {
        margin-top: 38px;
        margin-bottom: 77px;
    }

    .footer-wrapper {
        flex-wrap: wrap;
        margin: 30px 34px 0px;
    }


    .footer__contacts {
        margin-top: 2px;
        margin-bottom: 10px;
    }

    .footer__location {
        margin: 0px 0px 60px 0px;
        /* max-width: 280px; */
    }

    .footer__location h3 {
        max-width: 280px;
    }

    .uk__title,
    .usa__title {
        max-width: 260px;
        padding-bottom: 0px;
    }

    .usa__title {
        padding-top: 13px;
        padding-bottom: 14px;
    }


    .footer__location-USA {
        margin: 20px auto 0px 0px;
    }

    .footer__location-UK {
        margin: 17px auto 0px 0px;
    }


    .footer__image-wrapper {
        margin: 0 auto;
    }
}




@media (min-width: 320px) and (max-width: 767.98px) {
    .wrapper {
        max-width: 300px;
        margin: 0 auto;
    }


    .pets__title {
        margin: 42px auto 40px;
        max-width: 300px;
    }

    .pets__title h3 {
        font-size: 25px;
    }

    .pets__cards {
        max-width: 270px;
        margin: 0 auto;
    }

    .Charly,
    .Timmy,
    .Scarlett,
    .Freddie,
    .Sophia {
        display: none;
    }


        /* popup */

        #more_content {
            width: 240px;
            height: 370px;
        }
    
        .close_result {
            top: -15%;
            right: -12%;
        }
    
        .description_image {
            display: none;
        }
    
    
        .description_content {
            width: 240px;
            padding: 10px 10px 0 10px;
    
        }
    
        .description_name {
            text-align: center;
        }
    
        .description_type {
            padding-top: 10px;
            padding-bottom: 20px;
            text-align: center;
        }
    
        .description_more {
            font-size: 13px;
            line-height: 110%;
            margin-bottom: 20px;
            text-align: justify;
        }
    
        li {
            padding-bottom: 6px;
        }

        


    .pagination {
        width:300px;
        margin: 42px auto 40px;
    }


    .arrows {
        margin-right: 10px;
    }

    .footer-wrapper {
        flex-wrap: wrap;
        margin: 0 auto;
    }


    h3 {
        font-size: 25px;
    }

    .footer__contacts {
        text-align: center;
        margin-top: 30px;
    }

    .mail {
        padding-left: 24px;
    }

    .mail,
    .phone {
        justify-content: center;
    }

    .footer__location {
        max-width: 300px;
        margin-top: 24px;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;

    }

    .footer__location h3 {
        text-align: center;
        max-width: 270px;
        padding-left: 30px;
    }



    .footer__location-USA {
        text-align: left;
        margin: 40px auto 0px 0px;
    }

    .footer__location-UK {
        margin: 37px auto 38px 0px;
    }


    .footer__image-wrapper {
        margin: 0 20px;

    }

    .footer__image {
        max-width: 260px;
        max-height: 269px;
    }

    /* burger menu */

    .nav {
        position: fixed;
        top: 0;
        right: -320px;
        flex-direction: column;
        width: 320px;
        height: 100vh;
        background-color: #292929;
        z-index: 3;
      
        
    }

    .burger_link{
        margin-left: 38px
    }


   

    .logo__container {
        display: block;
        margin: 1.875rem 3.75rem 9.375rem 0;
    }

    
    .list__link {
        position: relative;
        font-family: "Arial", sans-serif;
        font-size: 32px;
        line-height: 160%;
        color: #cdcdcd;
        transition: 0.3s;
        /* padding-bottom: 40px; */
    }


    .list__link::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 100%;
        height: 3px;
        background-color: #f1cdb3;
        opacity: 0;
        transition: 0.3s;
    }


    .list__link::after {
        bottom: -0.625rem;
    }


    .list__link:hover {
        color: #fafafa;
        transition: 0.3s;
        cursor: pointer;
    }


    .list__link {
        font-size:32px;
        text-align: center;
    }

    .burger {
        display: flex;
    }


    .burger__line {
        display: block;
        width: 1.875rem;
        height: 2px;
        background-color: #f1cdb3;
    }


    @keyframes rotateIn {
        0% {

            transform: rotate(0deg);
        }

        100% {

            transform: rotate(-90deg);
        }
    }

    .burger__rotateIn {
        animation: rotateIn 1s forwards;
    }


    @keyframes rotateOut {
        0% {
            transform: rotate(-90deg);
        }

        100% {
            transform: rotate(0deg);
        }
    }

    .burger__rotateOut {
        animation: rotateOut 1s forwards;
    }


    @keyframes slideIn {
        0% {
            right: -320px;
        }

        100% {
            right: 0;
        }
    }



    @keyframes slideOut {
        0% {
            right: 0;
        }

        100% {
            right: -320px;
        }
    }


    .nav__slidein {
        animation: slideIn 1s forwards;
    }

    .nav__slideout {

        animation: slideOut 1s forwards;
    }

    .shadow {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        content: "";
        width: 100vw;
        height: 100vh;
        background-color: rgba(41, 41, 41, 0.6);
        z-index: -1;
    }

    .shadow__active {
        display: block;
    }

}
