.thank-you-content {
    display: flex;
    position: relative;
    z-index: 2;
    max-width: 500px;
    animation: thankYouPop 1s cubic-bezier(.16, 1, .3, 1) forwards;
    flex-direction: column;
    align-items: center;
}

.thank-you-heart {
    color: var(--color8);
    line-height: 1;
    margin-bottom: 20px;
}

.thank-you-heart svg {
    animation: heartBeat 2s ease-in-out infinite;
}

.thank-you-content h2 {
    margin: 0 0 15px;
    color: var(--color8);
    font-size: 42px;
    font-weight: 500;
}

.thank-you-content p {
    margin: 0 0 12px;
    color: #765f82;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Ovo';
    text-align: center;
}

.thank-you-content > span {
    color: #9a7eaa;
    font-size: 16px;
    font-family: 'Ovo';
}

/* Floating hearts */

.heart-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.heart-animation span {
    position: absolute;
    bottom: -40px;
    color: var(--color8);
    opacity: 0;
    font-size: 20px;
    animation: floatHeart 6s ease-in infinite;
}

.heart-animation span:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
    font-size: 18px;
}

.heart-animation span:nth-child(2) {
    left: 30%;
    animation-delay: 1.5s;
    font-size: 28px;
}

.heart-animation span:nth-child(3) {
    left: 48%;
    animation-delay: 3s;
    font-size: 16px;
}

.heart-animation span:nth-child(4) {
    left: 65%;
    animation-delay: .8s;
    font-size: 24px;
}

.heart-animation span:nth-child(5) {
    left: 78%;
    animation-delay: 2.3s;
    font-size: 19px;
}

.heart-animation span:nth-child(6) {
    left: 90%;
    animation-delay: 4s;
    font-size: 30px;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) rotate(0deg) scale(.7);
        opacity: 0;
    }

    15% {
        opacity: .7;
    }

    70% {
        opacity: .45;
    }

    100% {
        transform: translateY(-550px) rotate(25deg) scale(1.1);
        opacity: 0;
    }
}

@keyframes thankYouFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes thankYouPop {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

#rsvpTransition {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Activation */
.rsvp-activation-section {
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
    transition: max-height 500ms ease, opacity 400ms ease, margin 500ms ease, padding 500ms ease;
}

/* RSVP form */
#rsvpContainer {
    overflow: hidden;
    height: auto;
    opacity: 1;
    transition: height 700ms cubic-bezier(.4, 0, .2, 1), opacity 500ms ease;
}

#rsvpContainer.collapsing {
    opacity: 0;
}

/* Thank you */
#rsvpThankYou {
    position: fixed;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);

    overflow: hidden;
    background-color: var(--color2);

    opacity: 0;

    z-index: 2;

    transition: transform 1200ms cubic-bezier(.16, 1, .3, 1), opacity .6s;
    will-change: transform, opacity;
}

#rsvpThankYou.show {
    opacity: 1;
    transform: translateY(0);
}

.initially-hidden {
    transition: none !important;;
    opacity: 0 !important;
}

/* Content enters slightly after the panel */
.thank-you-content {
    opacity: 0;
    transform: translateY(25px) scale(.97);
}

#rsvpThankYou.show .thank-you-content {
    animation: thankYouContent 1000ms 300ms cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes thankYouContent {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-thank-you-note {
    border: none;
    text-decoration: underline;
    margin-top: 20px;
    background: transparent;
    font-size: .9rem;
    color: #765f82;
    margin-left: auto;
    font-family: 'Ovo';
}


/* ~~~~~~ */

/* Table css below */


.table-number-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: 1rem;
}
.table-number {
    z-index: 2;
    font-family: 'Ovo';
    font-size: 3rem;
    line-height: 1;
    color: #646a7f;
}
.table-number-plaque {
    position: absolute;
    bottom: 0;
    height: 100%;
}
.table {
    height: 200px;
}