/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    box-sizing: border-box;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
b {
    font-weight: 600;
}

/* ==================== */
.wrapper {
    width: 100%;
    max-width: 992px;
}
.text-nowrap {
    white-space: nowrap;
}
[data-action] {
    cursor: pointer;
}
/* ==================== */
body {
    background-color: rgb(250, 249, 245);
}
@media screen and (min-width: 1300px) {
    body {
        background: rgb(250, 249, 245) url("/img/strichka.jpg") 20px 0 repeat-y;
        background-size: 80px;
    }
}

.body-wrapper {
    display: flex;
    height: 100vh;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.header {
    display: flex;
    position: fixed;
    top: 0;
    z-index: 100;
    background: rgb(250, 249, 245);
    width: 100%;
    max-width: 992px;
}

.header-menu {
    display: flex;
    column-gap: .5rem;
    align-items: center;
    justify-content: center;
    padding-top: .75rem;
    padding-bottom: .75rem;
    width: 100%;
    border-bottom: 1px solid #eee;
}
.header-menu--options {
    border-radius: 5px;
    border: 1px solid #eee;
}
.header-menu--option {
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: .5rem;
    padding: .5rem 1rem;
    color: #333333;
}
.header-menu--option.active,
.header-menu--option:active,
.header-menu--option:hover {
    background-color: rgb(230, 229, 225);
    border-color: rgb(220, 219, 215);
    color: #333333;
}

.content-wrapper {

}

.content {
    /*background: antiquewhite;*/
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
    margin-top: 70px;
}
.main-title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 3rem;
    text-align: center;
    padding: .5rem 0 1.5rem;
}
.main-title > span {
    white-space: nowrap;
}
.section-title {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.socials {
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    padding: 1rem;
}
.socials--link {

}
.socials--link img {
    width: 50px;
    height: 50px;
}
.about-info,
.photo-gallery {
    min-height: 200px;
    background: rgb(240, 238, 230);
    border-radius: 1rem;
}

.about-info {
    display: flex;
    column-gap: 2rem;
    background: none;
}
.about-info--motivation {
    flex: 1;
    padding: .5rem 1rem .5rem 0;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    row-gap: 1rem;
}
.about-info--greetings {
    font-size: 1.5em;
}
.about-info--text {
    font-size: 1.25em;
}
.about-info--image-wrapper {
    width: 200px;
    border-radius: .5rem;
    overflow: hidden;
}
.about-info--image {
    width: 100%;
}
.gratitude--title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.carousel-wrapper {
    overflow: hidden;
}
.carousel {
    display: flex;
    column-gap: .75rem;
    position: relative;
}
.carousel--item {
    height: 200px;
}
.carousel--item.empty {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 1rem;
    background-color: #eeeeee;
}
.carousel--item img {
    height: 100%;
}

.donate--top {
    display: flex;
}
.donate--title {
    flex: 1;
}
.currencies {
    display: flex;
    column-gap: 1rem;
}
.currencies-option {
    display: flex;
    align-items: center;
    padding: .5rem;
}
.currencies-option.active {
    background: linear-gradient(180deg, #019aff, #ffd400);
    border-radius: 1rem;
    color: white;
}
.bank-account-info {
    margin-top: 1rem;
}
.bank-account-info--field {
    border-radius: 1rem;
    background-color: rgb(240, 238, 230);
    padding: .75rem 1rem;
    margin-top: .5rem;

    position: relative;
    line-height: 1.5rem;
}
.bank-account-info--field-title {
    font-size: 1.2rem;
}
.bank-account-info--field-value {
    font-size: 1.1rem;
    color: #333333;
}
.bank-account-info--copy-button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: .5rem;
    padding-right: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
}
.bank-account-info--copy-icon {
    height: 25px;
    width: auto;
}
.bank-account-info--field:hover .bank-account-info--copy-button {
    display: flex;
}

.calendar--content {
    display: flex;
    flex-direction: column;
    /*margin-bottom: 1.5rem;*/
    row-gap: .5rem;
}
.calendar--item {
    background: rgb(240, 238, 230);
    border-radius: 1rem;
    display: flex;
    column-gap: 1rem;
    padding: .75rem 1rem .75rem .75rem;
    flex-wrap: wrap;
    row-gap: .75rem;
}
.calendar--item-image-wrapper {
    height: 150px;
}
.calendar--item-image {
    height: 100%;
    overflow: hidden;
    border-radius: .75rem;
}
.calendar--item-content {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    flex: 1;
}
.calendar--item-description {
    line-height: 1.2rem;
}
.calendar--item-details {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 1rem;
}
.calendar--item-sum {
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
}
.calendar--item-additional {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    row-gap: .5rem;
}
.calendar--item-additional-video {
    display: flex;
    flex: 1 0 100%;
    column-gap: .5rem;
    justify-content: center;

    .video-item {
        height: 220px;
        width:auto;
        /*max-width: 250px;*/
    }
}

.calendar--item-additional-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    height: 265px;
    flex: 1;

    .image-wrapper {
        height: 100%;
        object-fit:cover;
    }
}
.calendar--item-additional-images img {
    height: 100%;
    width: auto;
}
.calendar--item-footer {
    display: flex;
    flex: 1 0 100%;
    padding-top: 1rem;
    border-top: 1px solid #cccccc;
    gap: 10px;
}
.calendar--item-card-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid #cccccc;
    border-radius: 7px;
    padding: 10px;
    background-color: white;
    max-width: calc(50% - 10px);
}
.calendar--item-card-number {
    /*font-weight: bold;*/
    color: #645e42;
}
.calendar--item-card-link {
    flex: 1 0 100%;
    background-color: #333333;
    padding: 10px;
    color: white;
    box-sizing: border-box;
    margin-top: 10px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.5rem;
}

.photo-gallery {
    position: relative;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: .5rem;
    column-gap: .5rem;
}
.photo-gallery--item {
    height: auto;
    /*width: calc(100% / 9 - .45rem);*/

    &.image-1 { max-width: 219px }
    &.image-3 { max-width: 253px }
}
.photo-gallery--item img {
    height: 200px;
    object-fit:cover;
    width: 100%;
}
.photo-gallery--show-all {
    height: 50px;
    margin-left: auto;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}
.make-donate {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    background: #333;
    border-radius: 1rem;
    position: relative;
    font-size: 3.0rem;
    text-transform: uppercase;
    color: #eeeeee;
}
.make-donate--icon-wrapper {
    border-radius: 100%;
    height: 75px;
    margin: 0 2rem;
}
.make-donate--icon {
    height: 85px;
    width: 115px;
    position: relative;
    top: -5px;
}

.footer {
    margin-top: 1.5rem;
    background: #333333;
    color: #eeeeee;
    flex: 0;
    height: 150px;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.contacts,
.our-socials {
    line-height: 1.5rem;
}
.our-socials--text {
    font-weight: 600;
    margin-bottom: .5rem;
}
.footer--socials {
    display: flex;
    column-gap: .5rem;
    align-items: start;
}
.footer--social-icon {
    transition: .3s all ease;
}
.footer--social-icon svg {
    width: 35px;
    color: #bbbbbb;
    height: auto;
}
.footer--social-icon:hover svg {
    transform: scale(1.1);
    color: #eeeeee;
}

@media screen and (max-width: 1000px) {
    .main-title {
        margin-top: 0;
        font-size: 1.7rem;
        line-height: 2rem;
    }
    .body-wrapper {
        display: block;
        width: auto;
        height: auto;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .content {
        row-gap: 2rem;
    }

    .footer {
        height: 90px;
        width: calc(100% - 4rem);
        position: fixed;
        bottom: 0;
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 800px) {
    .calendar--item-footer {
        flex-wrap: wrap;
        justify-content: center;
    }
    .calendar--item-card-data {
        min-width: 365px;
        flex: 1 0 100%;
    }
}

@media (max-width: 600px) {
    body {
        --x-inner-paddings: 12px;
    }

    .body-wrapper {
        width: auto;
        margin: 0;
    }

    .section-title {
        padding-left: var(--x-inner-paddings);
        padding-right: var(--x-inner-paddings);
    }

    .main-title {
        padding: 0;
    }

    .header {
        max-width: 600px;
    }

    .header-menu {
        width: 100vw;
        column-gap: .25rem;
    }

    .header-menu--option {
        padding: 5px;
        border-radius: .25rem;
    }

    .about-info,
    .photo-gallery {
        border-radius: 0;
    }

    .about-info {
        flex-wrap: wrap;
        row-gap: 1.2rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .about-info--motivation {
        order: 2;
    }

    .about-info--image-wrapper {
        order: 1;
        flex-basis: 100%;
    }

    .about-info--image {
        height: 200px;
        object-fit: scale-down;
    }

    .about-info--motivation {
        font-size: 1rem;
    }

    .calendar {
        .section-title {
            /*background: rgb(240, 238, 230);*/
            /*margin: 0;*/
            padding-bottom: .5rem;
            /*padding-top: .75rem;*/
        }
    }

    .calendar--item-image {
        border-radius: 5px;
    }

    .calendar--item {
        border-radius: 0;
    }

    .calendar--item-image-wrapper {
        justify-content: center;
        flex: 1;
        display: flex;
    }

    .calendar--item-additional {
        margin-top: 1rem;
    /*    padding: 0 var(--x-inner-paddings);*/
    }
    .calendar--item-additional-video {
        flex-wrap: wrap;
        row-gap: .5rem;

        video {
            width: auto;
            height: 200px;
        }
    }
    .calendar--item-additional-video {
        max-width: 100%;
    }

    .calendar--item-additional-images {
        flex-wrap: wrap;
        flex: 1 0 100%;
        height: auto;

        .image-wrapper {
            width: calc(50% - 10px);
            flex: 1;
        }
        img {
            height: auto;
            width: 100%;
            object-fit: cover;
        }
    }
    .socials {
        display: none;
    }
    .footer {
        font-size: 1rem;
        margin-top: 1rem;
        position: unset;
        height: auto;
        width: 100%;
        border-radius: 0;
        row-gap: 1rem;
        padding: 1rem 0;
    }
    .footer--socials {
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
        gap: 0 .5rem;
    }
    .contacts,
    .our-socials {
        line-height: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    .contacts {
        margin-left: 1rem;
        flex: 1 0 300px;
        font-size: 1.1em;
    }
    .our-socials {
        margin-right: 1rem;
        flex: 0 0 100px;
    }
    .our-socials--text {
        display: none;
    }
}

@media screen and (orientation: landscape) and (max-width: 600px) {
    .footer {
        position: relative;
    }
    .socials {
        bottom: 0;
        flex-direction: row;
        column-gap: .5rem;
    }
    .main-title--cap {
        white-space: wrap;
    }
}

@media screen and (max-width: 500px) {
    .main-title--cap,
    .main-title--found,
    .main-title--name {
        font-size: .9em;
    }
    .calendar--item {
        padding: 1rem;
    }
    .make-donate {
        font-size: 2rem;
    }
    .make-donate--icon-wrapper {
        height: 100%;
        margin: 0 1rem;
    }
    .make-donate--icon {
        height: 65px;
        top: 2px;
    }
    .donate {
        padding: .5rem;
    }
    .calendar--item-card-data {
        min-width: 0;
        max-width: calc(100% - 1rem);
        font-size: .9em;
    }
    .footer .contacts {
        flex-basis: auto;
    }
    .footer.wrapper {
        flex-direction: column-reverse;
        padding: 1rem;
    }
    .footer--socials {
        justify-content: center;
    }
    .our-socials {
        margin-right: 0;
        flex: 1 0 100%;
    }
    .our-socials--text {
        display: none;
    }
    .contacts {
        margin-left: 0;
    }
    .make-donate {
        width: 100%;
        min-height: 75px;
    }
    .make-donate--icon-wrapper {
        margin: 0;
    }
    .make-donate--text-1,
    .make-donate--text-2 {
        font-size: 1.5rem;
    }
}

@media screen and (orientation: portrait) {
    .socials {
        bottom: 120px;
        position: fixed;
    }
}