img,
video,
svg {
    width: 100%;
}

.wedding-wishes {
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 34px;
    color: #000000;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 2198px;
    padding: 32px 10px 69px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0 auto;
}

.header {
    margin: 0 0 100px;
}

.header__flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 100px -25px 0;
}

.header__flex-item {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    margin: 0 25px;
}

.header__text-content {
    padding: 21px 30px;
    border: 2px solid #D8BD8A;
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    font-size: 50px;
    line-height: 70px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 1004px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
}

.header__text-date {
    margin: 0 auto;
}

.header__text-greeting {
    text-align: right;
    margin: 0 0 0 auto;
}

.content-container {
    height: 100%;
    max-height: 1800px;
    overflow: hidden;
    position: relative;
}

.content {
    -webkit-column-count: 4;
       -moz-column-count: 4;
            column-count: 4;
    -webkit-column-width: auto;
       -moz-column-width: auto;
            column-width: auto;
    -webkit-column-gap: 30px;
       -moz-column-gap: 30px;
            column-gap: 30px;
}

.greeting {
    -webkit-column-break-inside: avoid;
       -moz-column-break-inside: avoid;
            break-inside: avoid;
    margin-bottom: 30px;
    border: 4px solid #D8BD8A;
    padding: 26px;
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    position: relative;
}

.greeting.hidden {
    opacity: 0;
}

.greeting__picture {
    margin-bottom: 20px;
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
}

.greeting__video {
    margin-bottom: 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.greeting__video_active:hover {
    cursor: pointer;
}

.greeting__video-button {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 0;
    width: 130px;
    height: 130px;
    background-color: transparent;
    border: none;
    background-image: url('../images/play-btn.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.greeting__video-button:hover {
    cursor: pointer;
    background-image: url('../images/play-btn-active.svg');
}

.greeting__video-button_hidden {
    display: none;
}

.greeting__text {
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 34px;
    text-align: left;
    padding-bottom: 30px;
    position: relative;
}

.greeting__text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 10px;
    background-image: url('../images/dots.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.greeting__signature {
    text-align: left;
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 34px;
    margin-top: 20px;
}

.greeting__name {
    display: block;
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    font-size: 28px;
    line-height: 40px;
}

.show-more {
    font-family: 'SourceSansPro', Arial, Helvetica, sans-serif;
    padding: 10px;
    width: 200px;
    background-color: transparent;
    border: 1px solid #D8BD8A;
    font-size: 20px;
    line-height: 30px;
    z-index: 1;
}

.show-more__wrapper {
    padding: 8px;
    border: 1px solid #D8BD8A;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin: 75px auto 0;
    position: relative;
    z-index: 0;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.show-more__wrapper_hidden {
    display: none;
}

.show-more__wrapper::before,
.show-more__wrapper::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: #FFFFFF;
    z-index: -1;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.show-more__wrapper::before {
    top: -1px;
    left: -1px;
}

.show-more__wrapper::after {
    bottom: -1px;
    right: -1px;
}

.show-more__wrapper:hover .show-more {
    cursor: pointer;
}

.show-more__wrapper:hover::before {
    -webkit-transform: translateX(102%);
        -ms-transform: translateX(102%);
            transform: translateX(102%);
}

.show-more__wrapper:hover::after {
    -webkit-transform: translateX(-102%);
        -ms-transform: translateX(-102%);
            transform: translateX(-102%);
}

@media (max-width: 2218px) {
    .header__flex:not(.header__flex_reverse) .header__picture {
        margin-left: 15px;
    }

    .header__flex_reverse .header__picture {
        margin-right: 15px;
    }
}

@media (max-width: 1500px) {
    .header__text-content {
        font-size: 40px;
        line-height: 57px;
    }

    .content {
        -webkit-column-count: 3;
           -moz-column-count: 3;
                column-count: 3;
    }

    .content-container {
        max-height: 1400px;
    }

    .greeting__text {
        font-size: 25px;
        line-height: 29px;
    }

    .greeting__signature {
        font-size: 22px;
    }

    .greeting__name {
        font-size: 25px;
    }
}

@media (max-width: 1200px) {
    .header__flex {
        margin-top: 50px;
    }

    .header {
        margin: 0 0 70px;
    }

    .header__text-content {
        font-size: 30px;
        line-height: 40px;
    }
}

@media (max-width: 992px) {
    .header__flex {
        margin: 50px -10px 0;
    }

    .header__flex-item {
        margin: 0 10px;
    }

    .header__flex:not(.header__flex_reverse) .header__picture {
        margin-left: 0;
    }

    .header__flex_reverse .header__picture {
        margin-right: 0;
    }

    .content {
        -webkit-column-count: 2;
           -moz-column-count: 2;
                column-count: 2;
    }

    .greeting__text {
        font-size: 22px;
        line-height: 26px;
    }

    .greeting__signature {
        font-size: 20px;
    }

    .greeting__name {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .header__text-content {
        font-size: 25px;
        line-height: 35px;
    }

    .greeting__text {
        font-size: 19px;
        line-height: 24px;
    }

    .greeting__signature {
        font-size: 17px;
    }

    .greeting__name {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
    svg .name {
        display: none;
    }

    .container {
        padding-top: 10px;
    }

    .header__flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        margin: 0;
    }

    .header__flex_reverse {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

    .header__flex-item {
        width: 100%
    }

    .header__flex:not(.header__flex_reverse) .header__picture {
        margin: 0 -10px;
    }

    .header__flex_reverse .header__picture {
        margin: 0 -10px;
    }

    .header__text {
        margin: 5px 10px 10px;
    }

    .header__text-content {
        width: 100%;
        text-align: center;
    }

    .content {
        -webkit-column-count: 1;
           -moz-column-count: 1;
                column-count: 1;
    }

    .content-container {
        max-height: 1600px;
    }
}