body {
    font-family: Georgia, Arial, sans-serif;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
/* первый блок */
.header_background {
    background: linear-gradient(to right, #4B3B31, #232122);
    background-size: cover;
    /* width: 100%; */
}
.container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box; 
    /* что бы внутрение отступы не добавляли ширины */
    max-width: 1280px;
    margin: 0 auto; /*центровка*/
    flex-shrink: 0;
    padding: 30px 40px 0px;
    gap: 90px;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .container {
        padding: 30px 30px 0px;
        height: auto;
        /* flex-direction: column; */
        gap: 60px;
    }
    .header {
        max-width: 708px;
        /* gap: 81px; */
    }
}
@media (max-width: 320px) {
    .html {
        overflow: hidden;
    }
    .container {
        padding: 30px 10px 0px;
    }
    .header {
        gap: 46px;
        width: 280px;
    }
}
/* хедер */
header {
    display: flex;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-direction: row;
    justify-content: space-between;
}
.logo_text {
    text-decoration: none;
}
.logo {
    display: flex;
    width: 184px;
    height: 60px;
    flex-shrink: 0;
    flex-direction: column;
    margin: 0;
    justify-content: space-between;
}
.title {
    color: var(--color-primary, #F1CDB3);
    font-family: Georgia;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: 1.7px;
    margin: 0;
}
.subtitile {
    color: var(--color-light-xl, #FFF);
    font-family: Arial;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.3px;
    margin: 0;
}
.navigation {
    display: flex;
    max-width: 443px;
    gap: 35px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
}
.navigation a {
    text-decoration: none;
    align-items: center;
    font-family: Arial;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}
.adaptive_header_menu {
    display: none;
}
@media (max-width: 767px) {
    .adaptive_header_menu {
        display: flex;
    }
    .navigation {
        display: none;
    }
    .header {
        width: 100%;
        padding: 0px 10px;
        box-sizing: border-box;
    }
}
.burger_menu {
    display: flex;
    width: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    z-index: 3;
}
.line {
    width: 30px;
    height: 2px;
    background-color: #F1CDB3;
}
.link {
    color: #CDCDCD;
    transition-duration: 0.5s;
}
.link:hover {
    color: #FAFAFA;
}
.link_active {
    color: #FAFAFA;
    border-bottom: 3px solid #F1CDB3;
}
/* блок only people */
.not_only {
    display: flex;
    max-width: 1200px;
    flex-shrink: 0;
    justify-content: space-between;
}
.not_only__content {
    display: flex;
    max-width: 460px;
    flex-direction: column;
    margin-top: 163px;
    align-items: flex-start;
    gap: 42px;
}
@media (max-width:768px) {
    .not_only {
        flex-direction: column;
        width: 708px;
        height: auto;
        align-items: center;
        gap: 100px;
        margin: 0px;
    }
    .not_only__content {
        margin: 0px;
    }
    .images-start img {
        width: 569px;
        height: 593px;
        float: right;
    }
    .images-start {
        width: 708px;
    }
    .button_primary_not_only {
        justify-content: center;
        width: 460px;
    }
}
@media (max-width:320px) {
    .navigation {
        display: none;
    }
    .not_only {
        width: 300px;
    }
    .not_only__content {
        width: 300px;
        justify-content: center;
        align-items: center;
    }
    .button_primary_not_only {
        width: 300px;
    }
    .images-start {
        width: 300px;
    }
    .images-start img {
        width: 260px;
        height: 271px;
    }
}
.not_only_h2 {
    color: var(--color-light-xl, #FFF);
    font-family: Georgia;
    font-size: 44px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
    max-width: 310px;
    letter-spacing: 0px;
}
@media (max-width:320px) {
    .not_only_h2 {
        text-align: center;
        font-size: 25px;
        letter-spacing: 1.5px;
        width: 200px;
    }
    .not_only__content p {
        text-align: center;
        line-height: 160%;
    }
}
p {/* p для всех на странице */
    font-family: Arial;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0;
    color: var(--color-dark-xl, #4C4C4C);
}
.not_only__content > p {
    color: var(--color-dark-s, #CDCDCD);
}
.button_primary_not_only {
    display: flex;
}
.button_primary {
    display: flex;
    padding: 15px 45px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: var(--color-primary, #F1CDB3);
    cursor: pointer;
    transition-duration: 0.5s;
}
.button_primary:hover {
    background: #FDDCC4;
}
a.button {
    color: var(--color-dark-3xl, #292929);
    font-family: Georgia;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; 
    letter-spacing: 1.02px;
    text-decoration: none;
    user-select: none;
    display: flex;
    align-items: center;
}
.about {
    display: flex;
    max-width: 1280px;
    box-sizing: border-box;
    padding: 80px 40px 100px 40px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: var(--color-light-xl, #FFF);
}
.about-content {
    display: flex;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 0px 175px;
    justify-content: center;
    align-items: center;
    gap: 120px;
    flex-shrink: 0;
}
.content {
    display: flex;
    max-width: 430px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex-shrink: 0;
}
@media (max-width:768px) {
    .about {
        height: auto;
        width: 100%;
        /* padding: 0px; */
        padding: 80px 0px 100px;
    }
    .about-content {
        flex-direction: column-reverse;
        gap: 80px;
        padding: 0px;
        width: 430px;
    }
    .content {
        height: auto;
    }
}
@media (max-width:320px) {
    .about {
        padding: 42px 10px;
    }
    .about-content {
        width: 300px;
        height: auto;
        gap: 42px;
    }
    .content {
        width: 270px;
        text-align: justify;
    }
    .content h2 {
        font-size: 25px;
        letter-spacing: 1.5px;
        width: 220px;
        text-align: center;
        padding-left: 25px;
    }
    .about-content img {
        width: 260px;
        height: 353px;
    }
}
h2 { /* h2 для всех */
    max-width: 370px;
    font-family: Georgia;
    color: var(--color-dark-l, #545454);
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; 
    letter-spacing: 2.1px;
    margin: 0;
}
/* блок Our friends */
.our_friends_background {
    background: var(--color-light-l, #F6F6F6);
    background-size: cover;
    width: 100%;
}
.our_friends { 
    display: flex;
    max-width: 1280px;
    box-sizing: border-box;
    padding: 80px 40px 100px;
    margin: 0 auto;
}
.pets_content {
    display: flex;
    max-width: 1200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-shrink: 0;
}
.slider {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    width: 1200px;
    /* height: 435px; */
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
@media (max-width:768px) {
    .our_friends {
        height: auto;
        width: 100%;
        padding: 80px 30px 100px;
    }
    .pets_content {
        width: 100%;
    }
    .cards {
        gap: 40px !important;
    }
    .slider {
        height: auto;
        width: 708px;
    }
    .card:last-child {
        display: none;
    }
}
@media (max-width:320px) {
    .our_friends h2 {
        font-size: 25px;
        letter-spacing: 1.5px;
    }
    .pets_content {
        gap: 42px;
    }
    .our_friends {
        padding: 42px 10px;
    }
    .card:nth-last-child(-n+2) {
        display: none;
    }
    .slider {
        width: 300px;
        flex-wrap: wrap;
        row-gap: 20px;
        column-gap: 80px;
        justify-content: center;
    }
    .button_arrow {
        order: 2;
    }
}
.our_friends h2 {
    text-align: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    max-width: 400px;
}
.cards {
    display: flex;
    gap: 90px;
    overflow: hidden;
    justify-content: flex-start;
    position: relative;
    /* padding-left: 53px; */
}
.card {
    display: flex;
    width: 270px;
    box-sizing: border-box;
    padding-bottom: 30px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--color-light-s, #FAFAFA);
    transition-duration: 0.3s;
}
/* .card:nth-last-child(-n+5) {
    display: none;
} */
@keyframes move-right {
    from {left: -990px;}
    to {left: 0px;}
}
.transition-right {
    animation-name: move-right;
    animation-duration: 5s;
}
@keyframes move-left {
    from {left: -990px;}
    to {left: -1980px;}
}
.transition-left {
    animation-name: move-left;
    animation-duration: 5s;
}
.card:hover {
    background: #FFF;
    box-shadow: 0px 35px 35px 14px rgba(13, 13, 13, 0.04);
}
.card:hover .button_secondary {
    background: #FDDCC4;
}
.button_arrow {
    display: inline-flex;
    padding: 23px 19px;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border-radius: 100px;
    border: 2px solid #F1CDB3; 
    transition-duration: 0.5s;
}
.button_arrow:hover {
    background: #FDDCC4;
}
.card p {
    color: var(--color-dark-l, #545454);
    text-align: center;
    font-family: Georgia;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.2px;
}
.button_secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 15px 45px;
    border-radius: 100px;
    border: 2px solid #F1CDB3;
    text-decoration: none;
    gap: 10px;
    color: var(--color-dark-3xl, #292929);
    font-family: Georgia;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; 
    letter-spacing: 1.02px;
    transition-duration: 0.3s;
}
.help {
    display: flex;
    max-width: 1280px;
    box-sizing: border-box;
    padding: 80px 40px 100px 40px;
    justify-content: center;
    align-items: center;
    background: var(--color-light-xl, #FFF);
    margin: 0 auto;
}
.help_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}
.help_list {
    display: flex;
    flex-wrap: wrap;
    gap: 55px 120px;
    justify-content: center;
}
@media (max-width:768px) {
    .help {
        width: 100%;
        height: auto;
        padding: 80px 69px 100px;
    }
    .icon_text {
        width: 170px;
    }
    .help_list {
        gap: 55px 60px;
    }
}
@media (max-width:320px) {
    .help {
        padding: 42px 15px;
    }
    .help_list {
        gap: 30px 30px;
        justify-content: flex-start;
    }
    .help_content h2 {
        width: 240px;
        font-size: 25px;
        letter-spacing: 1.5px;
    }
    .icon_text {
        width: 130px;
        gap: 20px !important;
    }
    .icon_text img {
        width: 50px !important;
        height: 50px !important;
    }
    .icon_text p {
        font-size: 15px !important;
        line-height: 110%;
        letter-spacing: 0.9px;
    }
    .help_content {
        gap: 42px;
    }
}
.help_content h2 {
    text-align: center;
}
.icon_text {
    display: flex;
    /* height: 113px; */
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.icon_text img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.icon_text p {
    font-family: Georgia;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 115%; 
    letter-spacing: 1.2px;
    color: var(--color-dark-l, #545454);
    text-align: center;
}
.donation_background {
    background: var(--color-light-l, #F6F6F6);
    background-size: cover;
    width: 100%;
}
.donation {
    display: flex;
    box-sizing: border-box;
    max-width: 1280px;
    padding: 80px 182px 100px 183px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.donation_content {
    display: flex;
    max-width: 915px;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}
@media (max-width:768px) {
    .donation {
        width: 100%;
        padding: 80px 0px 100px;
    }
    .donation_content {
        flex-direction: column-reverse;
        height: auto;
        width: 100%;
        gap: 60px;
    }
}
@media (max-width:320px) {
    .donation {
        padding: 42px 10px;
    }
    .donation_content {
        gap: 42px;
    }
    .content_info h2 {
        font-size: 25px;
        line-height: 130%;
        letter-spacing: 1.5px;
        text-align: center;
        width: 220px !important;
        padding-left: 30px;
    }
    .content_info {
        width: 280px !important;
    }
    .donation_content_dog {
        width: 260px;
        height: 135.2px;
        flex-shrink: 0;
    }
    .content_info p {
        font-size: 13px !important;
        text-align: center !important;
    }
    .donation_text p {
        width: 280px;
        font-size: 12px !important;
    }
    .credit_card {
        width: 281px !important;
    }
    .credit_card p {
        font-size: 15px !important;
    }
}
.content_info {
    display: flex;
    max-width: 380px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
}
.content_info h2 {
    max-width: 300px;
}
.content_info p {
    font-family: Georgia;
    line-height: 110%; 
    font-size: 15px;
    letter-spacing: 0.9px;
    color: var(--color-dark-l, #545454);
}
.credit_card p {
    font-size: 20px;
}
.credit_card {
    display: flex;
    max-width: 349px;
    box-sizing: border-box;
    padding: 10px 15px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    background: var(--color-primary, #F1CDB3);
    transition-duration: 0.5s;
}
.credit_card:hover {
    background: #FDDCC4;
}
.donation_text p {
    color: var(--color-dark-m, #B2B2B2);
    font-family: Arial;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
}
.footer_background {
    background: linear-gradient(to right, #4B3B31, #232122);
    background-size: cover;
    width: 100%;
}
footer {
    display: flex;
    max-width: 1280px;
    height: 350px;
    flex-shrink: 0;
    margin: 0 auto;
    justify-content: center;
    box-sizing: border-box;
    padding: 40px 40px 0px;
}
.footer_content {
    max-width: 1200px;
    height: 310px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 160px;
    justify-content: space-between;
}
@media (max-width:768px) {
    .footer {
        padding: 30px 64px 0px;
        height: auto;
        width: 100%;
    }
    .footer_content {
        height: auto;
        width: 100%;
        gap: 60px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .image-footer {
        display: flex;
        padding-top: 5px;
    }
    .contacts,
    .locations {
        margin-top: 0px !important;
}
}
@media (max-width:320px) {
    .footer h2 {
        font-size: 25px;
        height: auto;
        text-align: center;
    }
    .footer_content {
        gap: 40px;
    }
    .image-footer img {
        width: 260px;
        height: 269px;
    }
    .image-footer {
        padding-top: 0px;
    }
    .locations {
        height: auto !important;
        align-items: center !important;
        gap: 40px !important;
    }
    .contacts {
        align-items: center !important;
    }
}
.contacts {
    display: flex;
    max-width: 278px;
    padding-right: 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
} 
.footer h2 {
    max-width: 278px;
    color: var(--color-light-xl, #FFF);
    letter-spacing: 2.0px;
}
.email {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.phone {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.footer_content a {
    color: var(--color-primary, #F1CDB3);
    font-family: Georgia;
    font-size: 20px;
    font-style: normal;
    line-height: 115%;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition-duration: 0.3s;
}
.email:hover a {
    color: #FFF;
}
.phone:hover a {
    color: #FFF;
}
.boston:hover a {
    color: #FFF;
}
.london:hover a {
    color: #FFF;
}
.locations {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 302px;
    flex-shrink: 0;
    gap: 32px;
}
.locations h2 {
    margin-bottom: 3px;
}
.boston,
.london {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    align-items: center;
    gap: 20px;
}
.contacts,
.locations {
    margin-top: 16px;
}