/* =======================
   THANK YOU SECTION
======================= */
.thank {
    color: #fff;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, var(--serenity-light));
    text-align: center;
    padding-bottom: 100px;
}

.thanks-wrapper {
    padding: 120px 20px;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.thanks-wrapper:empty,
.thanks-wrapper:not([style]) {
    background: linear-gradient(135deg, var(--serenity-light), var(--serenity-medium));
}

/* =======================
   TEXT
======================= */
.thanks-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 18px;
}

.thanks-text.small-margin {
    margin-bottom: 10px;
    font-style: italic;
    color: var(--serenity-dark);
}

/* =======================
   COUPLE NAME
======================= */
.thanks-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--serenity-dark);
    margin: 25px 0 35px;
    letter-spacing: 1px;
}

/* =======================
   FAMILY
======================= */
.thanks-family {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: 0 15px 35px rgba(138, 127, 141, 0.08);
    display: inline-block;
    min-width: 280px;
    border: 1px solid var(--serenity-medium);
}

.thanks-family-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--serenity-dark);
    margin-bottom: 14px;
}

.thanks-family-text {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* =======================
   FOOTER
======================= */
footer {
    margin-top: 70px;
}

.footer {
    display: inline-block;
    font-size: 13px;
    color: var(--serenity-dark);
    text-decoration: none;
    transition: all .25s ease;
}

.footer:hover {
    color: var(--serenity-deep);
}

.footer .e-moment {
    font-weight: 600;
    color: var(--serenity-dark);
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 600px) {
    .thanks-title {
        font-size: 28px;
    }

    .thanks-name {
        font-size: 26px;
    }

    .thanks-text {
        font-size: 14px;
    }

    .thanks-family {
        padding: 22px 16px;
    }
}