/* =========================================================
   WEDDING INVITATION
   LUXURY WHITE + LIGHT PINK
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    overflow-x: hidden;

    font-family: "Montserrat", sans-serif;

    color: #704958;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(245, 204, 217, 0.35),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 85%,
            rgba(248, 216, 226, 0.38),
            transparent 30%
        ),

        #fffafb;
}


button {
    font-family: inherit;
}


/* =========================================================
   FONTS
========================================================= */

h1,
h2,
h3 {
    font-family:
        "Cormorant Garamond",
        serif;
}


/*
    Special calligraphy font for bride & groom names
*/

.groom-name,
.bride-name {
    font-family:
        "Great Vibes",
        cursive;
}


/* =========================================================
   HIDDEN
========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   BACKGROUND
========================================================= */

.background {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


.soft-glow {
    position: absolute;

    width: 380px;

    height: 380px;

    border-radius: 50%;

    background:
        rgba(230, 160, 181, 0.10);

    filter: blur(65px);
}


.glow-left {
    left: -180px;
    top: 10%;
}


.glow-right {
    right: -180px;
    bottom: 5%;
}


.floating-decoration {
    position: absolute;

    color:
        rgba(201, 126, 150, 0.16);

    font-size: 25px;

    animation:
        floating 8s ease-in-out infinite;
}


.d1 {
    left: 5%;
    top: 20%;
}


.d2 {
    left: 15%;
    top: 72%;

    animation-delay: 1s;
}


.d3 {
    left: 89%;
    top: 18%;

    animation-delay: 2s;
}


.d4 {
    left: 82%;
    top: 70%;

    animation-delay: 3s;
}


.d5 {
    left: 48%;
    top: 8%;

    animation-delay: 4s;
}


.d6 {
    left: 30%;
    top: 90%;

    animation-delay: 2s;
}


.d7 {
    left: 72%;
    top: 45%;

    animation-delay: 5s;
}


.d8 {
    left: 12%;
    top: 48%;

    animation-delay: 4s;
}


.d9 {
    left: 61%;
    top: 87%;

    animation-delay: 1.5s;
}


.d10 {
    left: 94%;
    top: 50%;

    animation-delay: 6s;
}


@keyframes floating {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-28px)
            rotate(18deg);
    }

}


/* =========================================================
   OPENING SCREEN
========================================================= */

.opening-screen {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #fff9fb 48%,
            #f8e1e9 100%
        );

    transition:
        opacity 1s ease,
        visibility 1s ease;
}


.opening-screen.hide {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


.opening-content {
    width: min(92%, 650px);

    position: relative;

    z-index: 5;
}


.opening-symbols {
    color: #cd829c;

    font-size: 20px;

    letter-spacing: 5px;

    margin-bottom: 15px;
}


.opening-script {
    font-family:
        "Great Vibes",
        cursive;

    color: #c57b94;

    font-size: 34px;

    margin-bottom: 15px;
}


/* =========================================================
   RINGS
========================================================= */

.rings {
    position: relative;

    width: 105px;

    height: 65px;

    margin: 10px auto 25px;
}


.ring {
    position: absolute;

    width: 58px;

    height: 58px;

    border:
        2px solid
        #d28ca4;

    border-radius: 50%;
}


.ring-left {
    left: 12px;
    top: 3px;
}


.ring-right {
    left: 37px;
    top: 3px;
}


.opening-title {
    font-family:
        "Cormorant Garamond",
        serif;

    font-weight: 500;

    color: #704453;

    font-size:
        clamp(65px, 11vw, 110px);

    line-height: .80;
}


.opening-line {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin: 28px auto;
}


.opening-line span {
    width: 65px;

    height: 1px;

    background: #dca1b3;
}


.opening-line {
    color: #cd829c;
}


.opening-date {
    font-size: 10px;

    letter-spacing: 6px;

    color: #a37784;

    margin-bottom: 30px;
}


.open-invitation {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    border: none;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #d58ba3,
            #c87993
        );

    color: white;

    padding:
        16px
        27px
        16px
        30px;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 18px 40px
        rgba(190, 105, 135, .24);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.open-invitation:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 23px 45px
        rgba(190, 105, 135, .34);
}


.open-invitation b {
    font-size: 18px;

    font-weight: 300;
}


.tap-note {
    margin-top: 12px;

    font-size: 8px;

    color: #b18b97;

    letter-spacing: 1px;
}


.opening-decoration {
    position: absolute;

    color:
        rgba(200, 125, 149, .12);

    font-size: 170px;
}


.top-decoration {
    left: 2%;
    top: 3%;
}


.bottom-decoration {
    right: 2%;
    bottom: 3%;

    transform:
        scale(-1);
}


/* =========================================================
   MAIN
========================================================= */

#mainWebsite {
    position: relative;

    min-height: 100vh;

    z-index: 2;
}


/* =========================================================
   PAGES
========================================================= */

.page {
    display: none;

    min-height: 100vh;

    padding:
        90px
        25px
        70px;
}


.page.active-page {
    display: block;

    animation:
        pageIn .7s ease;
}


@keyframes pageIn {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


.page-container {
    width:
        min(1200px, 100%);

    margin:
        0 auto;
}


/* =========================================================
   MUSIC
========================================================= */

.music-button {
    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 200;

    width: 52px;

    height: 52px;

    border-radius: 50%;

    border:
        1px solid
        rgba(192, 120, 145, .25);

    background:
        rgba(255, 255, 255, .82);

    backdrop-filter:
        blur(15px);

    color: #bd718b;

    font-size: 23px;

    cursor: pointer;

    box-shadow:
        0 10px 30px
        rgba(170, 90, 115, .10);
}


.music-button.playing {
    animation:
        musicPulse 1.7s infinite;
}


@keyframes musicPulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(207, 130, 155, .35);
    }

    70% {
        box-shadow:
            0 0 0 14px
            rgba(207, 130, 155, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(207, 130, 155, 0);
    }

}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-button {
    position: fixed;

    top: 20px;

    left: 20px;

    z-index: 100;

    padding:
        11px
        18px;

    border-radius: 50px;

    border:
        1px solid
        rgba(192, 120, 145, .25);

    background:
        rgba(255, 255, 255, .85);

    backdrop-filter:
        blur(15px);

    color: #875766;

    font-size: 10px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: .3s;
}


.back-button:hover {
    color: white;

    background: #d1879f;

    transform:
        translateX(-3px);
}


/* =========================================================
   HOME
========================================================= */

.home-container {
    position: relative;

    width:
        min(1150px, 100%);

    margin: auto;

    text-align: center;
}


.home-top-ornament {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 16px;

    color: #ce879e;

    margin-bottom: 20px;
}


.home-top-ornament i {
    font-style: normal;

    font-size: 28px;
}


.eyebrow {
    font-size: 9px;

    letter-spacing: 4px;

    color: #b57d8c;

    margin-bottom: 16px;
}


.home-title {
    font-size:
        clamp(68px, 10vw, 112px);

    line-height: .79;

    font-weight: 500;

    color: #704453;
}


.title-divider {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin: 28px auto;
}


.title-divider span {
    width: 65px;

    height: 1px;

    background: #dca0b2;
}


.title-divider i {
    font-style: normal;

    color: #cc819a;
}


.home-subtitle {
    max-width: 500px;

    margin: auto;

    font-size: 13px;

    line-height: 1.8;

    color: #8d6975;

    font-weight: 300;
}


/* =========================================================
   HOME DATE
========================================================= */

.home-date {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 17px;

    margin: 28px auto;
}


.date-day {
    font-size: 8px;

    letter-spacing: 3px;

    color: #ad7887;
}


.home-date > strong {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    line-height: 1;

    font-weight: 500;

    color: #c47b93;
}


.date-month {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    border-left:
        1px solid
        #dfb1c0;

    padding-left: 15px;
}


.date-month b {
    font-size: 10px;

    letter-spacing: 2px;
}


.date-month small {
    color: #a97b87;

    font-size: 9px;
}


/* =========================================================
   CORNERS
========================================================= */

.corner {
    position: absolute;

    color:
        rgba(199, 125, 149, .17);

    font-size: 65px;
}


.corner-one {
    top: -15px;
    left: -10px;
}


.corner-two {
    top: -15px;
    right: -10px;

    transform:
        scaleX(-1);
}


.corner-three {
    bottom: -15px;
    left: -10px;

    transform:
        scaleY(-1);
}


.corner-four {
    bottom: -15px;
    right: -10px;

    transform:
        scale(-1);
}


/* =========================================================
   SECTION CARDS
========================================================= */

.choose-title {
    font-family:
        "Great Vibes",
        cursive;

    color: #bf7890;

    font-size: 27px;

    margin-bottom: 20px;
}


.section-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;
}


.section-card {
    position: relative;

    min-height: 235px;

    padding:
        35px
        20px
        25px;

    overflow: hidden;

    border:
        1px solid
        rgba(200, 130, 151, .25);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.95),
            rgba(255,240,246,.76)
        );

    backdrop-filter:
        blur(18px);

    color: #704453;

    cursor: pointer;

    box-shadow:
        0 18px 45px
        rgba(170, 90, 115, .07);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}


.section-card::before {
    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    border-radius: 50%;

    background:
        rgba(230, 160, 181, .10);

    top: -75px;

    right: -75px;
}


.section-card:hover {
    transform:
        translateY(-9px);

    border-color:
        rgba(193, 113, 139, .5);

    box-shadow:
        0 27px 55px
        rgba(170, 90, 115, .13);
}


.section-number {
    position: absolute;

    top: 17px;

    left: 20px;

    font-size: 8px;

    letter-spacing: 2px;

    color: #c29aa7;
}


.section-icon {
    font-size: 34px;

    color: #cf839c;

    margin-bottom: 15px;
}


.section-card h2 {
    font-size: 31px;

    font-weight: 500;

    margin-bottom: 8px;
}


.section-card p {
    font-size: 10px;

    color: #99717e;

    line-height: 1.6;
}


.section-link {
    margin-top: 20px;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #bf758d;
}


.section-link span {
    font-size: 15px;

    margin-left: 5px;
}


.bottom-ornament {
    margin-top: 30px;

    font-size: 11px;

    color: #d097aa;

    letter-spacing: 2px;
}


/* =========================================================
   GENERAL PAGE HEADERS
========================================================= */

.page-ornament {
    color: #cf879e;

    letter-spacing: 6px;

    font-size: 18px;

    margin-bottom: 15px;
}


.page-title {
    font-size:
        clamp(60px, 8vw, 94px);

    line-height: .82;

    font-weight: 500;

    color: #704453;
}


.page-description {
    max-width: 570px;

    margin:
        25px auto 0;

    font-size: 12px;

    line-height: 1.9;

    color: #8b6673;

    font-weight: 300;
}


/* =========================================================
   INVITATION
========================================================= */

.invitation {
    width:
        min(900px, 100%);

    margin:
        20px auto;

    padding: 8px;

    background:
        linear-gradient(
            135deg,
            #f1cbd7,
            white,
            #f2ced9,
            white
        );

    box-shadow:
        0 30px 80px
        rgba(160, 85, 110, .14);
}


.invitation-border {
    position: relative;

    padding:
        60px
        45px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            white,
            #fff9fb
        );

    border:
        1px solid
        rgba(196, 126, 149, .32);

    overflow: hidden;
}


.invite-corner {
    position: absolute;

    color:
        rgba(199, 125, 148, .18);

    font-size: 60px;
}


.invite-one {
    top: 5px;
    left: 10px;
}


.invite-two {
    top: 5px;
    right: 10px;

    transform:
        scaleX(-1);
}


.invite-three {
    bottom: 5px;
    left: 10px;

    transform:
        scaleY(-1);
}


.invite-four {
    bottom: 5px;
    right: 10px;

    transform:
        scale(-1);
}


.together-text {
    font-family:
        "Great Vibes",
        cursive;

    font-size: 30px;

    color: #c27b92;
}


.ornament {
    color: #cf849d;

    letter-spacing: 5px;

    margin: 17px 0;
}


.request-text {
    font-size: 8px;

    letter-spacing: 3px;

    color: #b57b8a;

    margin-top: 25px;
}


.invitation-heading {
    font-size:
        clamp(58px, 8vw, 88px);

    line-height: .82;

    font-weight: 500;

    color: #704453;

    margin:
        20px 0 25px;
}


.invitation-description {
    max-width: 520px;

    margin: auto;

    font-size: 12px;

    line-height: 1.9;

    color: #8b6572;

    font-weight: 300;
}


/* =========================================================
   COUPLE NAMES
========================================================= */

.couple {
    display: grid;

    grid-template-columns:
        1fr
        100px
        1fr;

    align-items: center;

    max-width: 760px;

    margin:
        55px auto 45px;

    gap: 15px;
}


.person-label {
    font-size: 8px;

    letter-spacing: 3px;

    color: #b57989;

    margin-bottom: 12px;
}


.groom-name,
.bride-name {
    font-size:
        clamp(42px, 5vw, 61px);

    font-weight: 400;

    line-height: .9;

    color: #704453;

    white-space: normal;
}


.name-line {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin: 15px 0 10px;

    color: #cd829b;
}


.name-line span {
    width: 35px;

    height: 1px;

    background: #dca2b3;
}


.child-of {
    font-family:
        "Great Vibes",
        cursive;

    font-size: 24px;

    color: #c27a92;
}


.parents {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 22px;

    line-height: 1.25;

    color: #78505e;
}


.parents small {
    font-size: 16px;

    color: #cc829a;
}


.between-heart {
    display: flex;

    justify-content: center;

    align-items: center;
}


.heart-ring {
    width: 75px;

    height: 75px;

    display: flex;

    justify-content: center;

    align-items: center;

    border:
        1px solid
        #dda1b2;

    border-radius: 50%;

    color: #cf819a;

    font-size: 31px;

    animation:
        heartBeat 2s infinite;
}


@keyframes heartBeat {

    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.12);
    }

}


/* =========================================================
   WEDDING DETAILS
========================================================= */

.wedding-details {
    max-width: 720px;

    margin: auto;

    padding:
        25px
        10px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    border-top:
        1px solid
        rgba(196,126,149,.2);

    border-bottom:
        1px solid
        rgba(196,126,149,.2);
}


.detail {
    display: flex;

    align-items: center;

    gap: 12px;

    text-align: left;
}


.detail-icon {
    color: #cf819a;

    font-size: 23px;
}


.detail small {
    display: block;

    font-size: 7px;

    letter-spacing: 2px;

    color: #b37d8b;

    margin-bottom: 5px;
}


.detail strong {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;

    color: #704453;
}


.detail-separator {
    width: 1px;

    height: 40px;

    background:
        rgba(198,126,149,.25);
}


.invitation-bottom {
    margin-top: 30px;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 28px;

    color: #be758d;
}


.small-ornament,
.small-heart {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 15px;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown-container {
    max-width: 1000px;

    margin: auto;

    text-align: center;
}


.countdown {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin:
        60px auto 45px;
}


.time-box {
    width: 150px;

    height: 150px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    border-radius: 28px;

    border:
        1px solid
        rgba(200,130,151,.25);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.95),
            rgba(255,240,246,.75)
        );

    box-shadow:
        0 18px 40px
        rgba(170,90,115,.07);
}


.time-box span {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    line-height: 1;

    color: #754657;
}


.time-box small {
    margin-top: 10px;

    font-size: 8px;

    letter-spacing: 2px;

    color: #ad7b89;
}


.time-colon {
    font-family:
        "Cormorant Garamond",
        serif;

    color: #d18aa1;

    font-size: 45px;
}


.countdown-info {
    width:
        min(650px, 100%);

    margin: auto;

    padding:
        21px
        25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border:
        1px solid
        rgba(200,130,151,.22);

    border-radius: 22px;

    background:
        rgba(255,255,255,.67);

    backdrop-filter:
        blur(15px);
}


.info-heart {
    color: #cf839b;

    font-size: 22px;
}


.countdown-info small {
    display: block;

    font-size: 7px;

    letter-spacing: 2px;

    color: #b17c8b;

    margin-bottom: 5px;
}


.countdown-info strong {
    display: block;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 22px;

    color: #704453;
}


.countdown-info p {
    font-size: 9px;

    color: #a37885;

    margin-top: 4px;
}


.countdown-quote {
    font-family:
        "Great Vibes",
        cursive;

    font-size: 30px;

    color: #bf7890;

    margin-top: 40px;
}


/* =========================================================
   JOURNEY
========================================================= */

.journey-container {
    max-width: 900px;

    margin: auto;

    text-align: center;
}


.timeline {
    position: relative;

    max-width: 820px;

    margin:
        65px auto 0;

    text-align: left;
}


.timeline-line {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 27px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #dda2b5 10%,
            #dda2b5 90%,
            transparent
        );
}


.journey-item {
    position: relative;

    padding-left: 80px;

    margin-bottom: 40px;
}


.journey-dot {
    position: absolute;

    left: 0;

    top: 0;

    width: 55px;

    height: 55px;

    display: flex;

    justify-content: center;

    align-items: center;

    border:
        1px solid
        #d99bad;

    border-radius: 50%;

    background:
        #fff9fb;

    color: #cb8099;

    z-index: 2;
}


.journey-card {
    padding:
        27px
        30px;

    border:
        1px solid
        rgba(200,130,151,.22);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.94),
            rgba(255,241,246,.76)
        );

    box-shadow:
        0 16px 35px
        rgba(170,90,115,.06);
}


.journey-card span {
    font-size: 8px;

    letter-spacing: 3px;

    color: #c17a91;
}


.journey-card h2 {
    font-size: 34px;

    font-weight: 500;

    color: #754657;

    margin:
        6px 0 8px;
}


.journey-card p {
    font-size: 12px;

    line-height: 1.8;

    color: #8d6874;

    font-weight: 300;
}


.journey-ending {
    margin-top: 45px;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 30px;

    color: #be758d;
}


.journey-ending div {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 14px;

    margin: 5px;
}


/* =========================================================
   FAMILY
========================================================= */

.family-container {
    max-width: 1100px;

    margin: auto;

    text-align: center;
}


.families {
    display: grid;

    grid-template-columns:
        1fr
        130px
        1fr;

    align-items: center;

    gap: 20px;

    margin-top: 60px;
}


.family-card {
    position: relative;

    overflow: hidden;

    padding:
        45px
        25px;

    border:
        1px solid
        rgba(200,130,151,.24);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.95),
            rgba(255,239,245,.75)
        );

    box-shadow:
        0 20px 45px
        rgba(170,90,115,.08);
}


.family-card::before {
    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    border-radius: 50%;

    right: -95px;
    top: -95px;

    background:
        rgba(225,155,175,.10);
}


.family-flower {
    color: #d0879f;

    font-size: 32px;

    margin-bottom: 15px;
}


.family-label {
    font-size: 8px;

    letter-spacing: 3px;

    color: #b57b8b;
}


.family-name {
    font-family:
        "Great Vibes",
        cursive;

    font-size:
        clamp(36px, 4vw, 52px);

    font-weight: 400;

    line-height: .95;

    color: #704453;

    margin-top: 10px;
}


.family-divider {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    color: #cf839b;

    margin: 18px auto;
}


.family-divider span {
    width: 35px;

    height: 1px;

    background: #dca0b2;
}


.family-child {
    font-family:
        "Great Vibes",
        cursive;

    font-size: 25px;

    color: #c07891;
}


.family-parents {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 25px;

    line-height: 1.25;

    color: #754657;

    margin-top: 5px;
}


.family-parents span {
    color: #cb829b;

    font-size: 18px;
}


.family-heart {
    color: #d0849b;

    margin-top: 20px;

    font-size: 22px;
}


/* =========================================================
   CENTER RINGS
========================================================= */

.family-center {
    text-align: center;
}


.double-ring {
    position: relative;

    width: 80px;

    height: 70px;

    margin: auto;
}


.double-ring span {
    position: absolute;

    width: 48px;

    height: 48px;

    border:
        2px solid
        #d18da4;

    border-radius: 50%;

    top: 10px;
}


.double-ring span:first-child {
    left: 8px;
}


.double-ring span:last-child {
    left: 28px;
}


.family-center p {
    font-size: 7px;

    letter-spacing: 2px;

    color: #b27d8c;

    margin-top: 7px;
}


.family-center strong {
    display: block;

    color: #cf819a;

    font-size: 28px;

    margin-top: 5px;

    animation:
        heartBeat 2s infinite;
}


.family-ending {
    margin-top: 50px;

    font-family:
        "Great Vibes",
        cursive;

    color: #bd758d;

    font-size: 30px;
}


.family-ending div {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 14px;

    margin: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    .section-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .families {
        grid-template-columns:
            1fr;

        max-width: 680px;

        margin-left: auto;
        margin-right: auto;
    }


    .family-center {
        order: 2;
    }


    .family-card:last-child {
        order: 3;
    }


    .family-center {
        margin:
            5px 0;
    }


}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {


    .page {
        padding:
            78px
            14px
            50px;
    }


    .back-button {
        top: 13px;

        left: 13px;

        padding:
            10px
            14px;
    }


    .music-button {
        right: 14px;

        bottom: 14px;

        width: 46px;

        height: 46px;
    }


    /* Opening */

    .opening-title {
        font-size: 64px;
    }


    .opening-decoration {
        font-size: 100px;
    }


    .top-decoration {
        left: -20px;
    }


    .bottom-decoration {
        right: -20px;
    }


    /* Home */

    .home-title {
        font-size: 67px;
    }


    .corner {
        font-size: 45px;
    }


    .section-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .section-card {
        min-height: 200px;
    }


    /* Invitation */

    .invitation {
        padding: 5px;
    }


    .invitation-border {
        padding:
            45px
            15px;
    }


    .invitation-heading {
        font-size: 55px;
    }


    .couple {
        grid-template-columns: 1fr;

        gap: 25px;

        margin:
            45px
            auto;
    }


    .between-heart {
        order: 2;
    }


    .person:last-child {
        order: 3;
    }


    .heart-ring {
        width: 65px;

        height: 65px;
    }


    .groom-name,
    .bride-name {
        font-size: 48px;
    }


    .wedding-details {
        flex-direction: column;

        gap: 18px;
    }


    .detail-separator {
        width: 55px;

        height: 1px;
    }


    /* Countdown */

    .countdown {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 10px;

        margin-top: 40px;
    }


    .time-colon {
        display: none;
    }


    .time-box {
        width: 100%;

        height: 125px;
    }


    .time-box span {
        font-size: 49px;
    }


    .countdown-info {
        flex-direction: column;

        padding:
            20px
            15px;
    }


    /* Journey */

    .timeline-line {
        left: 21px;
    }


    .journey-item {
        padding-left: 60px;
    }


    .journey-dot {
        width: 43px;

        height: 43px;
    }


    .journey-card {
        padding:
            22px
            18px;
    }


    .journey-card h2 {
        font-size: 29px;
    }


    /* Family */

    .family-card {
        padding:
            38px
            18px;
    }


    .family-name {
        font-size: 42px;
    }


    .family-parents {
        font-size: 23px;
    }


}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {


    .home-title {
        font-size: 57px;
    }


    .page-title {
        font-size: 55px;
    }


    .opening-title {
        font-size: 56px;
    }


    .invitation-heading {
        font-size: 48px;
    }


    .groom-name,
    .bride-name {
        font-size: 43px;
    }


}