/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --font-title:
        'Great Vibes',
        cursive;

    --font-description:
        'Montserrat',
        sans-serif;

    --font-time:
        'Cinzel',
        serif;

    --bg:
        #f7f1eb;

    --bg-soft:
        #fffaf6;

    --card:
        rgba(255,255,255,0.55);

    --text:
        #2f2622;

    --muted:
        #8a776b;

    --accent:
        #d98c9b;

    --accent-dark:
        #b66d7b;

    --gold:
        #d8b98b;

    --shadow:
        0 25px 70px rgba(0,0,0,0.08);

    --radius:
        34px;

}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        'Montserrat',
        sans-serif;

    background:
        linear-gradient(
            to bottom,
            #fbf7f3,
            #f5ede7
        );

    color: var(--text);

    overflow-x: hidden;

    position: relative;

}

body::before {

    content: '';

    position: fixed;

    inset: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,0.7),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(217,140,155,0.08),
            transparent 30%
        );

    pointer-events: none;

    z-index: -1;

}

body.locked {
    overflow: hidden;
    height: 100vh;
}

h1,
h2,
h3 {

    font-family:
        var(--font-title);

    font-weight: 400;

    letter-spacing: 1px;

}

/* =========================
   PRELOADER
========================= */

#preloader {
    position: fixed;
    inset: 0;
    background: #f5f2ef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 99999;
    transition: opacity 0.35s ease;
}

.loader-heart {
    position: relative;
    font-size: 100px;
    color: red;
    transform-origin: center;
    animation: preloadBeat 3.4s forwards;
}

@keyframes preloadBeat {

    0% {
        transform: scale(1);
        opacity: 1;
        color: red;
    }

    10% {
        transform: scale(1.25);
        opacity: 1;
        color: red;
    }

    20% {
        transform: scale(1);
        opacity: 1;
        color: red;
    }

    30% {
        transform: scale(1.25);
        opacity: 1;
        color: red;
    }

    40% {
        transform: scale(1);
        opacity: 1;
        color: red;
    }

    100% {
        transform: scale(38);
        opacity: 0;
        color: white;
    }

}

/* =========================
   FLOAT HEARTS
========================= */

.hearts {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.heart {

    position: absolute;

    top: -50px;

    color:
        rgba(217,140,155,0.55);

    filter:
        drop-shadow(
            0 0 8px rgba(217,140,155,0.4)
        );

    animation:
        heartsFloat linear infinite;

}

@keyframes heartsFloat {

    0% {

        transform:
            translateY(0)
            rotate(0deg);

        opacity: 0;

    }

    10% {
        opacity: 1;
    }

    100% {

        transform:
            translateY(120vh)
            rotate(360deg);

        opacity: 0;

    }

}

/* =========================
   SECTIONS
========================= */

section {

    position: relative;

    padding: 120px 24px;

    text-align: center;

}

section p {

    color: var(--muted);

    font-size: 19px;

    line-height: 1.9;

    font-weight: 400;

    font-family:
        var(--font-description);

    font-style: italic;

}

/* =========================
   HERO
========================= */

.hero {

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}

.hero-image {

    position: absolute;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.2s linear;

    filter:
        brightness(0.75)
        saturate(1.05);

}

.overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.25),
            rgba(0,0,0,0.55)
        );

}

.hero-content {

    position: relative;

    z-index: 20;

    color: white;

    width: min(90%, 560px);

    padding: 48px 40px;

    border-radius: 42px;

    background:
        rgba(255,255,255,0.08);

    backdrop-filter:
        blur(22px);

    border:
        1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.25);

}

.hero-content::before {

    content: '';

    position: absolute;

    inset: 0;

    border-radius: inherit;

    padding: 1px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.5),
            transparent,
            rgba(255,255,255,0.18)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

}

.hero-content h1 {

    font-family:
        var(--font-title);

    font-size: 104px;

    font-weight: 400;

    margin-bottom: 20px;

    line-height: 1.1;

    letter-spacing: 3px;

    text-shadow:
        0 12px 35px rgba(0,0,0,0.35);

}

.hero-content p {

    font-size: 24px;

    color:
        rgba(255,255,255,0.92);

    margin-bottom: 42px;

    font-family:
        var(--font-description);

    font-style: italic;

}

.hero-content button {

    overflow: hidden;

    position: relative;

    border: none;

    padding: 18px 42px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7ebe7
        );

    color: #2f2622;

    font-size: 24px;

    font-family:
        var(--font-title);

    font-weight: 400;

    cursor: pointer;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.15);

}

.hero-content button::before {

    content: '';

    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.8),
            transparent
        );

    transition: 0.7s;

}

.hero-content button:hover::before {
    left: 120%;
}

.hero-content button:hover {

    transform:
        translateY(-4px)
        scale(1.03);

    box-shadow:
        0 28px 55px rgba(0,0,0,0.2);

}

/* =========================
   FLOATING PHOTOS
========================= */

.floating-photo {

    position: absolute;

    width: 240px;

    animation:
        float 5s ease-in-out infinite;

    z-index: 10;

}

.floating-photo img {

    width: 100%;

    border-radius: 28px;

    padding: 10px;

    background: white;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.22);

    transform: rotate(-5deg);

    transition:
        transform 0.7s ease,
        box-shadow 0.7s ease;

}

.floating-photo img:hover {

    transform:
        rotate(0deg)
        scale(1.06);

    box-shadow:
        0 40px 80px rgba(0,0,0,0.25);

}

.one {
    top: 13%;
    left: 7%;
}

.two {
    bottom: 10%;
    right: 9%;
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-22px);
    }

    100% {
        transform: translateY(0px);
    }

}

/* =========================
   INVITATION
========================= */

.invitation-overlay {
transition: opacity 0.35s ease;    
position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.7s ease;
    z-index: 9999;
}

.invitation-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wedding-scroll {
    position: relative;
    width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: perspective(2000px) rotateX(55deg) scale(0.7);
    opacity: 0;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
}

.invitation-overlay.active .wedding-scroll {
    transform: perspective(2000px) rotateX(0deg) scale(1);
    opacity: 1;
}

.scroll-top-roll,
.scroll-bottom-roll {
    width: 760px;
    height: 58px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #a56a2b, #6a3f16, #c48b4d, #6a3f16);
    box-shadow: inset 0 10px 15px rgba(255, 255, 255, 0.25), inset 0 -12px 18px rgba(0, 0, 0, 0.4), 0 20px 35px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.scroll-top-roll {
    transform: translateY(42px) scaleX(0.92);
}

.scroll-bottom-roll {
    transform: translateY(-42px) scaleX(0.92);
}

.scroll-paper {

    position: relative;

    width: 760px;

    height: 0;

    overflow: hidden;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        inset 0 0 120px rgba(255, 255, 255, 0.08),
        0 35px 80px rgba(0, 0, 0, 0.35);

    transition:
       height 0.75s cubic-bezier(0.22, 1, 0.36, 1);

}

.invitation-overlay.active .scroll-paper {
    height: 540px;
}

.paper-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.45), transparent 65%);
}

.paper-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.3), transparent 45%);
    pointer-events: none;
}

.paper-ornament {
    position: absolute;
    width: 85px;
    height: 85px;
    border: 3px solid rgba(201, 155, 66, 0.65);
}

.top-left {
    top: 25px;
    left: 25px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 25px;
    right: 25px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 25px;
    left: 25px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 25px;
    right: 25px;
    border-left: none;
    border-top: none;
}

.invitation-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0s linear 0.25s;
}

.invitation-overlay.active .invitation-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.7s;
}

.typing-line {
    opacity: 0;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.line1 {

    font-size: 78px;

    margin-bottom: 35px;

    font-family:
        var(--font-title);

    font-weight: 400;

}

.line2 {

    font-size: 24px;

    line-height: 2;

    max-width: 580px;

    margin-bottom: 45px;

    font-family:
        var(--font-description);

    font-style: italic;

}

.line3 {

    font-size: 54px;

    font-family:
        var(--font-title);

    font-weight: 400;

}

/* =========================
   MUSIC BTN
========================= */

.music-toggle {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 68px;

    height: 68px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.18);

    backdrop-filter:
        blur(16px);

    color: white;

    font-size: 26px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: 0.5s;

    z-index: 99999;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.18);

}

.music-toggle.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

/* =========================
   DATE
========================= */

.date-section {

    position: relative;

    overflow: hidden;

}

#countdown {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 24px;

    margin-top: 60px;

}

#countdown div {

    min-width: 170px;

    padding: 38px 24px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.6),
            rgba(255,245,242,0.78)
        );

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.9);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;

}

#countdown div:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 35px 70px rgba(0,0,0,0.1);

}

#countdown span {

    display: block;

    font-family:
        var(--font-time);

    font-size: 68px;

    font-weight: 600;

    margin-bottom: 12px;

    background:
        linear-gradient(
            135deg,
            #d98c9b,
            #b97786
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    letter-spacing: 2px;

}

#countdown p {

    color: var(--muted);

    font-size: 17px;

}

/* =========================
   STORY
========================= */

.story p {

    max-width: 820px;

    margin: auto;

    font-size: 22px;

    line-height: 2;

}

/* =========================
   GALLERY
========================= */

.gallery {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 28px;

    max-width: 1250px;

    margin: 10px auto 0;

    padding-top: 40px !important;

    padding-bottom: 40px !important;

}

.gallery img {

    width: 100%;

    aspect-ratio: 1 / 1;

height: auto;

    object-fit: cover;

    border-radius: 32px;

    padding: 10px;

    background: white;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.12);

    transition:
        transform 0.7s ease,
        box-shadow 0.7s ease,
        filter 0.7s ease;

}

.gallery img:nth-child(1) {

    transform: rotate(-4deg);

}

.gallery img:nth-child(2) {

    transform: rotate(3deg);

}

.gallery img:nth-child(3) {

    transform: rotate(-2deg);

}

.gallery img:hover {
    transform:
        translateY(-10px)
        scale(1.03);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.16);
    filter:
        brightness(1.03);
}

/* 1-я картинка — вправо */
.gallery img:nth-child(1):hover {
    transform:
        translateY(-10px)
        scale(1.03)
        rotate(2.5deg);
}

/* 2-я картинка — влево */
.gallery img:nth-child(2):hover {
    transform:
        translateY(-10px)
        scale(1.03)
        rotate(-2.5deg);
}

/* 3-я картинка — вправо */
.gallery img:nth-child(3):hover {
    transform:
        translateY(-10px)
        scale(1.03)
        rotate(2.5deg);
}

/* =========================
   TIMING
========================= */

.timing-section {

    position: relative;

    overflow: hidden;

}

.timing-title {

    font-size: 72px;

    font-weight: 400;

    margin-bottom: 120px;

    letter-spacing: 2px;

    color: #cf8fa0;

    font-family:
        var(--font-title);

    text-shadow:
        0 4px 18px rgba(207,143,160,0.18);

}

.modern-timeline {

    position: relative;

    max-width: 1200px;

    margin: auto;

    padding: 40px 0;

}

.modern-timeline::before {

    content: '';

    position: absolute;

    left: 50%;

    top: 0;

    transform: translateX(-50%);

    width: 5px;

    height: 100%;

    border-radius: 999px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #d98c9b,
            #f1c3cb,
            transparent
        );

    box-shadow:
        0 0 30px rgba(217,140,155,0.5);

}

.timeline-card {

    position: relative;

    width: 43%;

    padding: 48px;

    margin-bottom: 120px;

    border-radius: 38px;

    overflow: hidden;

    backdrop-filter: blur(24px);

    background:
        rgba(255,255,255,0.45);

    border:
        1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 25px 80px rgba(0,0,0,0.08);

    transition:
        transform 0.6s ease,
        box-shadow 0.6s ease;

}

.timeline-card:hover {

    transform:
        translateY(-14px);

    box-shadow:
        0 40px 90px rgba(0,0,0,0.12);

}

.timeline-card.left {
    margin-right: auto;
}

.timeline-card.right {
    margin-left: auto;
}

.timeline-dot {

    position: absolute;

    top: 50%;

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 25px rgba(255,255,255,0.8);

}

.timeline-card.left .timeline-dot {
    right: -69px;
}

.timeline-card.right .timeline-dot {
    left: -69px;
}

.timeline-hour {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 125px;

    height: 125px;

    border-radius: 50%;

    margin-bottom: 30px;

    color: white;

    font-size: 34px;

    font-family:
        var(--font-time);

    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #e6a2af,
            #cb7f90
        );

    box-shadow:
        0 25px 50px rgba(203,127,144,0.35);

    animation:
        floatingTime 4s ease-in-out infinite;

}

@keyframes floatingTime {

    0% {

        transform:
            translateY(0px);

    }

    50% {

        transform:
            translateY(-10px);

    }

    100% {

        transform:
            translateY(0px);

    }

}

.timeline-card h3 {

    font-size: 52px;

    margin-bottom: 18px;

    font-family:
        var(--font-title);

    font-weight: 400;

    color: #cf8fa0;

    text-shadow:
        0 4px 16px rgba(207,143,160,0.16);

}

.timeline-card p {

    font-size: 19px;

    line-height: 1.9;

    font-family:
        var(--font-description);

    font-style: italic;

}

/* =========================
   LOCATION
========================= */

.location p {

    margin-bottom: 40px;

    font-size: 22px;

}

.location iframe {

    width: 100%;

    height: 480px;

    border: none;

    border-radius: 34px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.12);

}

/* =========================
   NOTICE
========================= */

.notice {
    padding-top: 20px;
}

.notice-box {

    max-width: 900px;

    margin: auto;

    padding: 60px;

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.55),
            rgba(255,255,255,0.35)
        );

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.08);

}

.notice-box h2 {

    font-size: 58px;

    margin-bottom: 24px;

    font-family:
        var(--font-title);

    font-weight: 400;

    color: #cf8fa0;

    text-shadow:
        0 4px 18px rgba(207,143,160,0.18);

}

.notice-box p {

    font-size: 20px;

    line-height: 2;

    font-family:
        var(--font-description);

    font-style: italic;

}

/* =========================
   RSVP
========================= */

.rsvp form {

    display: flex;

    flex-direction: column;

    gap: 22px;

    max-width: 520px;

    margin: auto;

    padding: 50px;

    border-radius: 38px;

    background:
        rgba(255,255,255,0.45);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.08);

}

.rsvp input,
.rsvp select {

    width: 100%;

    padding: 18px 20px;

    border-radius: 18px;

    border: 1px solid rgba(0,0,0,0.06);

    background:
        rgba(255,255,255,0.85);

    color: var(--text);

    font-size: 16px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}

.rsvp input:focus,
.rsvp select:focus {

    outline: none;

    transform:
        translateY(-2px);

    box-shadow:
        0 0 0 5px rgba(217,140,155,0.18);

}

.rsvp button {

    padding: 18px;

    border: none;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #d98c9b,
            #c77989
        );

    color: white;

    font-size: 28px;

    font-family:
        var(--font-title);

    font-weight: 400;

    cursor: pointer;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    box-shadow:
        0 18px 40px rgba(203,127,144,0.3);

}

.rsvp button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 28px 60px rgba(203,127,144,0.4);

}

.drinks-block {

    text-align: left;

    padding: 26px;

    border-radius: 24px;

    background:
        rgba(255,255,255,0.55);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}

.drinks-block p {

    margin-bottom: 18px;

    font-size: 28px;

    color: var(--text);

    font-family:
        var(--font-title);

    font-weight: 400;

}

.drinks-block label {

    display: grid;

    grid-template-columns: 18px auto;

    align-items: center;

    justify-content: start;

    column-gap: 12px;

    margin-bottom: 14px;

    cursor: pointer;

    width: 100%;

    text-align: left;

}

.drinks-block input {

    width: 18px;

    height: 18px;

    min-width: 18px;

    min-height: 18px;

    margin: 0;

    flex-shrink: 0;

}

/* =========================
   CLOSE BTN
========================= */

.close-invitation {

    position: absolute;

    top: -20px;

    right: -20px;

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.15);

    backdrop-filter: blur(15px);

    border:
        1px solid rgba(255,255,255,0.2);

    color: white;

    font-size: 20px;

    cursor: pointer;

    z-index: 100;

    transition: 0.35s ease;

}

.close-invitation:hover {

    transform:
        scale(1.1);

    background:
        rgba(255,255,255,0.25);

}

/* =========================
   DISABLED
========================= */

.disabled-block {

    opacity: 0.45;

    pointer-events: none;

    filter:
        grayscale(1);

    transition:
        0.5s ease;

}

/* =========================
   NOTIFICATION
========================= */

.custom-notification {

    position: fixed;

    left: 50%;

    bottom: 35px;

    transform:
        translateX(-50%)
        translateY(120px)
        scale(0.9);

    min-width: 320px;

    max-width: 90vw;

    padding: 22px 28px;

    border-radius: 28px;

    background:
        rgba(28,24,22,0.86);

    backdrop-filter: blur(24px);

    border:
        1px solid rgba(255,255,255,0.12);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.2);

    display: flex;

    align-items: center;

    gap: 16px;

    opacity: 0;

    z-index: 999999;

    transition:
        transform 0.7s cubic-bezier(0.22,1,0.36,1),
        opacity 0.5s ease;

}

.custom-notification.show {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);

}

.notification-heart {

    font-size: 28px;

    animation:
        pulseHeart 2s infinite;

}

.notification-text {

    color: white;

    font-size: 16px;

    line-height: 1.7;

}

@keyframes pulseHeart {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 992px) {

    .hero-content h1 {
        font-size: 72px;
    }

    .timeline-card {
        width: 100%;
    }

    .modern-timeline::before {
        left: 20px;
    }

    .timeline-card.left,
    .timeline-card.right {
        margin-left: 60px;
    }

    .timeline-card.left .timeline-dot,
    .timeline-card.right .timeline-dot {
        left: -54px;
    }

}

section h2 {

    font-size: 72px;

    font-weight: 400;

    margin-bottom: 28px;

    letter-spacing: 2px;

    color: #cf8fa0;

    font-family:
        var(--font-title);

    text-shadow:
        0 4px 18px rgba(207,143,160,0.18);

}

@media(max-width: 768px) {

    section {
        padding: 90px 18px;
    }

    section h2 {

    font-size: 72px;

    font-weight: 300;

    margin-bottom: 28px;

    letter-spacing: 2px;

    color: #cf8fa0;

    font-family:
        var(--font-title);

    text-shadow:
        0 4px 18px rgba(207,143,160,0.18);

}

    .hero-content {

        padding: 45px 28px;

        border-radius: 30px;

    }

    .hero-content h1 {

        font-size: 64px;

        line-height: 1.1;

    }

    .hero-content p {
        font-size: 19px;
    }

    .floating-photo {
        width: 135px;
    }

    .gallery img {
        height: 320px;
    }

    .timing-title {
        font-size: 64px;
    }

    .timeline-card {

        padding: 36px 28px;

        border-radius: 28px;

    }

    .timeline-hour {

        width: 100px;
        height: 100px;

        font-size: 24px;

    }

    .timeline-card h3 {
        font-size: 32px;
    }

    .notice-box,
    .rsvp form {

        padding: 36px 24px;

    }

    .scroll-paper,
    .scroll-roll {
        width: 95vw;
    }

    .scroll-paper {
        padding: 40px;
    }

}

@media(max-width: 540px) {

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .floating-photo {
        display: none;
    }

    #countdown div {
        min-width: 140px;
    }

    #countdown span {
        font-size: 42px;
    }

    .timeline-card.left,
    .timeline-card.right {
        margin-left: 45px;
    }

    .timeline-card {
        padding: 28px 22px;
    }

    .timeline-card h3 {
        font-size: 26px;
    }

    .timeline-card p {
        font-size: 17px;
    }

    .notice-box h2 {
        font-size: 34px;
    }

}

/* =========================
   GLOBAL FONTS
========================= */

.rsvp input,
.rsvp select,
.drinks-block label,
.notification-text {

    font-family:
        var(--font-description);

    font-style: italic;

}

#countdown p {

    font-family:
        var(--font-description);

    font-style: italic;

}

.location p,
.story p {

    font-family:
        var(--font-description);

    font-style: italic;

}