/* ================================= */
/* TEACHER'S DAY SURPRISE */
/* SIR GREG - ACT */
/* ================================= */


/* ================================= */
/* RESET */
/* ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    overflow: hidden;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        #3d0710;

    color: #ffffff;
}


/* ================================= */
/* SCENES */
/* ================================= */

.scene {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: scale(1.03);

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease,
        transform 0.8s ease;

    z-index: 1;

    overflow-y: auto;
}


.scene.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: scale(1);

    z-index: 10;
}


/* ================================= */
/* PARTICLES */
/* ================================= */

#particles {
    position: fixed;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 50;
}


.particle {
    position: absolute;

    bottom: -10px;

    border-radius: 50%;

    background: #f7d66b;

    box-shadow:
        0 0 10px
        rgba(247, 214, 107, 0.5);

    animation:
        particleFloat
        linear
        infinite;
}


@keyframes particleFloat {

    from {
        transform:
            translateY(0)
            translateX(0);
    }

    to {
        transform:
            translateY(-110vh)
            translateX(40px);
    }

}


/* ================================= */
/* CONFETTI */
/* ================================= */

#confetti {
    position: fixed;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 200;
}


.confetti-piece {
    position: absolute;

    top: -20px;

    width: 9px;
    height: 14px;

    animation:
        confettiFall
        linear
        forwards;
}


@keyframes confettiFall {

    0% {
        top: -30px;

        opacity: 1;

        transform:
            translateX(0)
            rotate(0deg);
    }

    100% {
        top: 110vh;

        opacity: 0;

        transform:
            translateX(100px)
            rotate(720deg);
    }

}


/* ================================= */
/* INTRO */
/* ================================= */

#introScene {
    background:
        radial-gradient(
            circle at center,
            #a51d32 0%,
            #741020 45%,
            #3d0710 100%
        );
}


.intro-content {
    width: 100%;

    max-width: 760px;

    padding: 30px;

    text-align: center;

    position: relative;

    z-index: 5;
}


.intro-step {
    display: none;

    opacity: 0;

    transform:
        translateY(25px)
        scale(0.95);
}


.intro-step.active {
    display: block;

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    animation:
        introAppear
        0.55s
        ease;
}


@keyframes introAppear {

    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(0.9);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.intro-step h1 {
    margin-bottom: 35px;

    color: #ffffff;

    font-size:
        clamp(
            80px,
            13vw,
            160px
        );

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: 4px;

    text-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.35);
}


.small-intro {
    margin-bottom: 20px;

    color: #f7d66b;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* ================================= */
/* BUTTONS */
/* ================================= */

.intro-next,
.main-button {
    border: none;

    padding:
        14px
        34px;

    border-radius: 40px;

    background:
        #f7d66b;

    color:
        #4a0913;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.5px;

    cursor: pointer;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.intro-next:hover,
.main-button:hover {
    transform:
        translateY(-4px);

    background:
        #ffffff;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.3);
}


.intro-next:active,
.main-button:active {
    transform:
        scale(0.95);
}


/* ================================= */
/* EMAIL */
/* ================================= */

.email-step h2 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 32px;
}


.email-message {
    margin-bottom: 25px;

    color: #f7d66b;

    font-size: 17px;

    font-weight: 600;
}


.email-icon {
    width: 70px;
    height: 70px;

    margin:
        0 auto 20px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background:
        rgba(247, 214, 107, 0.15);

    border:
        1px solid
        rgba(247, 214, 107, 0.4);

    color:
        #f7d66b;

    font-size: 30px;
}


#emailForm {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;
}


#teacherEmail {
    width:
        min(
            420px,
            90vw
        );

    padding:
        16px
        20px;

    border:
        2px solid
        rgba(247, 214, 107, 0.5);

    border-radius: 15px;

    outline: none;

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    color:
        #3d0710;

    font-size: 17px;

    text-align: center;

    transition:
        border 0.25s ease,
        box-shadow 0.25s ease;
}


#teacherEmail::placeholder {
    color:
        #8b8181;
}


#teacherEmail:focus {
    border-color:
        #f7d66b;

    box-shadow:
        0 0 25px
        rgba(
            247,
            214,
            107,
            0.35
        );
}


.email-error {
    min-height: 20px;

    color:
        #ffb4c0;

    font-size: 14px;
}


/* ================================= */
/* YOUR / DAY */
/* ================================= */

.final-word h1 {
    animation:
        surpriseWord
        0.6s
        cubic-bezier(
            0.175,
            0.885,
            0.32,
            1.275
        );
}


@keyframes surpriseWord {

    0% {
        opacity: 0;

        transform:
            scale(0.2);
    }

    60% {
        opacity: 1;

        transform:
            scale(1.15);
    }

    100% {
        opacity: 1;

        transform:
            scale(1);
    }

}


/* ================================= */
/* GIFT */
/* ================================= */

#giftScene {
    background:
        radial-gradient(
            circle at center,
            #a51d32 0%,
            #741020 50%,
            #3d0710 100%
        );
}


.gift-content {
    text-align: center;

    position: relative;

    z-index: 5;
}


.eyebrow {
    margin-bottom: 12px;

    color: #f7d66b;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 4px;
}


.gift-content h1 {
    margin-bottom: 10px;

    font-size:
        clamp(
            48px,
            8vw,
            95px
        );

    font-weight: 800;

    letter-spacing: -2px;
}


.gift-subtitle {
    margin-bottom: 55px;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 18px;
}


/* ================================= */
/* GIFT BOX */
/* ================================= */

.gift-container {
    position: relative;

    width: 230px;
    height: 190px;

    margin:
        0 auto 45px;

    cursor: pointer;
}


.gift-box {
    position: absolute;

    left: 15px;
    right: 15px;

    bottom: 0;

    height: 140px;

    border-radius:
        8px;

    background:
        linear-gradient(
            135deg,
            #e73559,
            #a51d32
        );

    box-shadow:
        0 25px 50px
        rgba(
            0,
            0,
            0,
            0.35
        );

    overflow: hidden;
}


.gift-lid {
    position: absolute;

    left: 5px;

    top: 20px;

    width: 220px;
    height: 45px;

    border-radius:
        8px;

    background:
        linear-gradient(
            135deg,
            #f04b69,
            #b51d39
        );

    z-index: 3;

    transition:
        transform 0.7s
        cubic-bezier(
            0.175,
            0.885,
            0.32,
            1.275
        );

    box-shadow:
        0 10px 20px
        rgba(
            0,
            0,
            0,
            0.2
        );
}


.lid-ribbon {
    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    top: 0;

    width: 35px;
    height: 45px;

    background:
        #f7d66b;
}


.gift-ribbon-vertical {
    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    top: 0;

    width: 35px;
    height: 100%;

    background:
        #f7d66b;
}


.gift-ribbon-horizontal {
    position: absolute;

    left: 0;

    top: 50%;

    transform:
        translateY(-50%);

    width: 100%;
    height: 28px;

    background:
        rgba(
            247,
            214,
            107,
            0.9
        );
}


/* ================================= */
/* GIFT SHAKE */
/* ================================= */

@keyframes giftShake {

    0% {
        transform:
            translateX(0)
            rotate(0);
    }

    25% {
        transform:
            translateX(-5px)
            rotate(-2deg);
    }

    50% {
        transform:
            translateX(5px)
            rotate(2deg);
    }

    75% {
        transform:
            translateX(-4px)
            rotate(-1deg);
    }

    100% {
        transform:
            translateX(0)
            rotate(0);
    }

}


/* ================================= */
/* GIFT EXPLOSION */
/* ================================= */

@keyframes giftExplode {

    0% {
        transform:
            scale(1)
            rotate(0deg);

        opacity: 1;
    }

    25% {
        transform:
            scale(1.15)
            rotate(-3deg);

        opacity: 1;
    }

    50% {
        transform:
            scale(1.3)
            rotate(3deg);

        opacity: 0.9;
    }

    75% {
        transform:
            scale(1.5)
            rotate(-4deg);

        opacity: 0.5;
    }

    100% {
        transform:
            scale(2)
            rotate(8deg);

        opacity: 0;
    }

}


/* ================================= */
/* BOOM */
/* ================================= */

#boomScene {
    background:
        radial-gradient(
            circle,
            #d92c4c 0%,
            #8f1728 45%,
            #3d0710 100%
        );
}


.boom-content {
    text-align: center;

    animation:
        boomAppear
        1s
        ease;
}


@keyframes boomAppear {

    0% {
        opacity: 0;

        transform:
            scale(0.2);
    }

    60% {
        opacity: 1;

        transform:
            scale(1.1);
    }

    100% {
        transform:
            scale(1);
    }

}


.boom-symbol {
    margin-bottom: 15px;

    color:
        #f7d66b;

    font-size: 50px;

    animation:
        sparkle
        1s
        infinite
        alternate;
}


@keyframes sparkle {

    from {
        transform:
            scale(0.8)
            rotate(0deg);

        opacity: 0.6;
    }

    to {
        transform:
            scale(1.2)
            rotate(15deg);

        opacity: 1;
    }

}


.boom-text {
    color:
        #f7d66b;

    font-size:
        clamp(
            55px,
            12vw,
            130px
        );

    font-weight: 900;

    line-height: 0.9;

    text-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.3
        );
}


.boom-content h1 {
    margin-top: 30px;

    font-size:
        clamp(
            25px,
            5vw,
            55px
        );
}


.boom-content h2 {
    margin-top: 12px;

    color:
        #f7d66b;

    font-size:
        clamp(
            24px,
            4vw,
            40px
        );
}


.boom-content > p:last-child {
    margin-top: 20px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );
}


/* ================================= */
/* LETTER */
/* ================================= */

#letterScene {
    background:
        radial-gradient(
            circle at center,
            #8f1728,
            #3d0710
        );
}


.letter-wrapper {
    width:
        min(
            850px,
            92vw
        );

    max-height:
        92vh;

    overflow-y: auto;

    padding: 30px 0;
}


.letter-paper {
    position: relative;

    padding:
        45px
        55px;

    background:
        #fffdf7;

    color:
        #392c2c;

    border-radius:
        4px;

    box-shadow:
        0 25px 70px
        rgba(
            0,
            0,
            0,
            0.35
        );

    animation:
        letterAppear
        1s
        ease;
}


@keyframes letterAppear {

    from {
        opacity: 0;

        transform:
            translateY(50px)
            rotate(2deg);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            rotate(0);
    }

}


.letter-top {
    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    margin-bottom: 35px;

    color:
        #a51d32;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.letter-paper h1 {
    margin-bottom: 25px;

    color:
        #8f1728;

    font-family:
        Georgia,
        serif;

    font-size: 34px;
}


.letter-content {
    font-family:
        Georgia,
        serif;

    font-size: 16px;

    line-height: 1.75;
}


.letter-content p {
    margin-bottom: 15px;
}


.letter-ending {
    color:
        #8f1728;

    font-weight: 700;
}


.letter-signature {
    margin-top: 25px;

    text-align: right;
}


.letter-signature strong {
    color:
        #8f1728;
}


.voice-indicator {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    margin-top: 30px;

    padding-top: 20px;

    border-top:
        1px solid
        #e7dccb;

    color:
        #8f1728;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;
}


.voice-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background:
        #e73559;

    box-shadow:
        0 0 12px
        rgba(
            231,
            53,
            89,
            0.7
        );

    animation:
        voicePulse
        1s
        infinite;
}


@keyframes voicePulse {

    0%,
    100% {
        transform:
            scale(0.8);

        opacity: 0.5;
    }

    50% {
        transform:
            scale(1.3);

        opacity: 1;
    }

}


/* ================================= */
/* SURPRISE */
/* ================================= */

#surpriseScene {
    background:
        radial-gradient(
            circle at center,
            #9c1a31,
            #3d0710
        );
}


.surprise-content {
    text-align: center;

    max-width: 700px;

    padding: 30px;

    animation:
        surpriseAppear
        1s
        ease;
}


@keyframes surpriseAppear {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


.surprise-star {
    margin-bottom: 20px;

    color:
        #f7d66b;

    font-size: 45px;
}


.surprise-content h1 {
    margin-bottom: 20px;

    font-size:
        clamp(
            38px,
            7vw,
            75px
        );

    line-height: 1.05;
}


.surprise-content > p:not(.eyebrow) {
    margin-bottom: 35px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 17px;
}


/* ================================= */
/* ENVELOPE */
/* ================================= */

#envelopeScene {
    background:
        radial-gradient(
            circle at center,
            #a51d32,
            #3d0710
        );
}


.envelope-content {
    text-align: center;

    padding: 30px;
}


.envelope-content h1 {
    margin-bottom: 45px;

    font-size:
        clamp(
            35px,
            6vw,
            65px
        );

    line-height: 1.05;
}


.envelope {
    position: relative;

    width: 330px;
    height: 220px;

    margin:
        0 auto 30px;

    cursor: pointer;

    perspective: 800px;
}


.envelope-back,
.envelope-front {
    position: absolute;

    inset: 0;

    border-radius:
        5px;

    background:
        #f5e8d2;
}


.envelope-back {
    box-shadow:
        0 25px 50px
        rgba(
            0,
            0,
            0,
            0.3
        );
}


.envelope-front {
    clip-path:
        polygon(
            0 0,
            50% 58%,
            100% 0,
            100% 100%,
            0 100%
        );

    z-index: 4;

    background:
        #ead5b5;
}


.envelope-flap {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        #f2dfbf;

    clip-path:
        polygon(
            0 0,
            100% 0,
            50% 55%
        );

    transform-origin:
        top center;

    transition:
        transform 0.8s
        cubic-bezier(
            0.175,
            0.885,
            0.32,
            1.275
        );

    z-index: 5;
}


.envelope-paper {
    position: absolute;

    left: 25px;
    right: 25px;

    bottom: 15px;

    height: 160px;

    background:
        #fffdf7;

    border-radius:
        3px;

    z-index: 2;

    transition:
        transform 0.9s
        ease;
}


.envelope-paper-content {
    display: flex;

    justify-content: center;
    align-items: center;

    height: 100%;

    color:
        #8f1728;

    font-size: 35px;
}


.envelope.open .envelope-flap {
    transform:
        rotateX(180deg);
}


.envelope.open .envelope-paper {
    transform:
        translateY(-100px);
}


.envelope-message {
    margin-bottom: 25px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 14px;

    transition:
        opacity 0.4s ease;
}


/* ================================= */
/* PHOTO SCENE */
/* ================================= */

#photoScene {
    background:
        radial-gradient(
            circle at center,
            #8f1728 0%,
            #5b0c18 55%,
            #30050d 100%
        );

    overflow-y: auto;

    padding:
        35px
        20px;
}


.memory-container {
    width:
        min(
            950px,
            100%
        );

    margin:
        auto;

    text-align: center;
}


.memory-header {
    display: flex;

    justify-content:
        space-between;

    align-items: center;

    margin-bottom: 8px;

    color:
        #f7d66b;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}


.memory-main-title {
    margin-bottom: 5px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            35px,
            6vw,
            58px
        );
}


.memory-subtitle {
    margin-bottom: 30px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 14px;
}


/* ================================= */
/* MEMORY CARD */
/* ================================= */

.memory-card {
    position: relative;

    width:
        min(
            850px,
            100%
        );

    margin:
        0 auto;

    padding:
        28px;

    background:
        #fffdf7;

    border-radius:
        18px;

    color:
        #3b2d2d;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            0.35
        );
}


.memory-card::before,
.memory-card::after {
    content: "";

    position: absolute;

    inset: 12px;

    border-radius:
        18px;

    z-index: -1;
}


.memory-card::before {
    background:
        #eadbc3;

    transform:
        rotate(-2deg);
}


.memory-card::after {
    background:
        #f1e6d4;

    transform:
        rotate(2deg);
}


/* ================================= */
/* PHOTO AREA */
/* ================================= */

.photo-area {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
}


.photo-frame {
    position: relative;

    width:
        min(
            650px,
            75vw
        );

    height:
        min(
            420px,
            48vw
        );

    min-height: 250px;

    overflow: hidden;

    border-radius:
        10px;

    background:
        #e9e0d4;

    box-shadow:
        0 12px 30px
        rgba(
            0,
            0,
            0,
            0.2
        );
}


.photo-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.photo-change {
    animation:
        photoChange
        0.45s
        ease;
}


@keyframes photoChange {

    from {
        opacity: 0;

        transform:
            scale(1.04);
    }

    to {
        opacity: 1;

        transform:
            scale(1);
    }

}


/* ================================= */
/* PHOTO ARROWS */
/* ================================= */

.photo-button {
    flex:
        0 0 auto;

    width: 52px;
    height: 52px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        #8f1728;

    color:
        #ffffff;

    font-size: 40px;

    line-height: 45px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 20;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.photo-button:hover {
    transform:
        scale(1.1);

    background:
        #a51d32;

    box-shadow:
        0 8px 20px
        rgba(
            143,
            23,
            40,
            0.35
        );
}


.photo-button:active {
    transform:
        scale(0.92);
}


/* ================================= */
/* CARD BOTTOM */
/* ================================= */

.card-bottom {
    padding:
        25px
        10px
        10px;
}


.photo-counter {
    margin-bottom: 8px;

    color:
        #8f1728;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.card-bottom h2 {
    margin-bottom: 7px;

    color:
        #3d0710;

    font-family:
        Georgia,
        serif;

    font-size: 28px;
}


.card-bottom p {
    color:
        #786a62;

    font-size: 14px;
}


/* ================================= */
/* PHOTO DOTS */
/* ================================= */

.photo-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 18px;
}


.photo-dot {
    width: 8px;
    height: 8px;

    min-width: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        #d4c8b2;

    cursor: pointer;

    box-shadow: none;

    transition:
        all 0.3s ease;
}


.photo-dot:hover {
    transform:
        scale(1.25);
}


.photo-dot.active {
    width: 25px;

    min-width: 25px;

    border-radius: 10px;

    background:
        #8f1728;
}


.email-reminder-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: grid;
    place-items: center;

    padding: 20px;

    background: rgba(25, 4, 8, 0.78);
    backdrop-filter: blur(7px);
}


.email-reminder-modal[hidden] {
    display: none;
}


.email-reminder-content {
    width: min(420px, 100%);
    padding: 34px 30px;

    border-top: 5px solid #f7d66b;
    border-radius: 8px;

    background: #fffdf7;
    color: #3d0710;
    text-align: center;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    animation: reminderEnter 0.3s ease-out both;
}


.email-reminder-eyebrow {
    margin-bottom: 10px;

    color: #8f1728;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


.email-reminder-content h2 {
    margin-bottom: 12px;

    font-family: Georgia, serif;
    font-size: 30px;
}


.email-reminder-content > p:not(.email-reminder-eyebrow) {
    color: #625251;
    font-size: 15px;
    line-height: 1.6;
}


.email-reminder-close {
    margin-top: 24px;
    padding: 12px 24px;

    border: 0;
    border-radius: 4px;

    background: #8f1728;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
}


.email-reminder-close:hover {
    background: #a51d32;
}


@keyframes reminderEnter {

    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* ================================= */
/* CARD DECORATIONS */
/* ================================= */

.card-decoration {
    position: absolute;

    color:
        #c69a2d;

    font-size: 22px;
}


.top-left {
    top: 16px;
    left: 20px;
}


.top-right {
    top: 16px;
    right: 20px;
}


.bottom-left {
    bottom: 18px;
    left: 20px;
}


.bottom-right {
    bottom: 18px;
    right: 20px;
}


/* ================================= */
/* SWIPE TEXT */
/* ================================= */

.swipe-text {
    margin-top: 25px;

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 12px;

    letter-spacing: 1px;
}


/* ================================= */
/* FINAL THANK YOU */
/* ================================= */

.final-thanks {
    margin-top: 45px;

    text-align: center;
}


.gold-line {
    width: 80px;
    height: 2px;

    margin:
        0 auto 20px;

    background:
        #f7d66b;
}


.final-thanks h2 {
    margin-bottom: 8px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            22px,
            4vw,
            35px
        );
}


.final-thanks p {
    margin-bottom: 5px;

    color:
        #f7d66b;

    font-size: 15px;
}


.final-thanks strong {
    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 13px;
}


/* ================================= */
/* REPLAY */
/* ================================= */

.replay-button {
    margin-top: 25px;

    padding:
        10px
        20px;

    border:
        1px solid
        rgba(
            247,
            214,
            107,
            0.4
        );

    border-radius:
        20px;

    background:
        transparent;

    color:
        #f7d66b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.replay-button:hover {
    background:
        #f7d66b;

    color:
        #4a0913;
}


/* ================================= */
/* MOBILE */
/* ================================= */

@media (max-width: 700px) {

    .letter-paper {
        padding:
            30px 25px;
    }


    .letter-paper h1 {
        font-size: 27px;
    }


    .letter-content {
        font-size: 14px;

        line-height: 1.6;
    }


    .gift-container {
        transform:
            scale(0.85);
    }


    .gift-content h1 {
        font-size: 55px;
    }


    .photo-area {
        gap: 7px;
    }


    .photo-frame {
        width:
            calc(
                100vw - 135px
            );

        height:
            48vw;

        min-height: 210px;
    }


    .photo-button {
        width: 42px;
        height: 42px;

        font-size: 32px;

        line-height: 38px;
    }


    .memory-card {
        padding: 15px;
    }


    .card-bottom {
        padding:
            20px
            5px
            5px;
    }


    .card-bottom h2 {
        font-size: 23px;
    }


    .card-bottom p {
        font-size: 13px;
    }


    .envelope {
        transform:
            scale(0.85);
    }

}


@media (max-width: 450px) {

    #photoScene {
        padding:
            25px
            10px;
    }


    .memory-main-title {
        font-size: 36px;
    }


    .photo-frame {
        width:
            calc(
                100vw - 110px
            );

        height: 50vw;

        min-height: 180px;
    }


    .photo-button {
        width: 38px;
        height: 38px;

        font-size: 29px;
    }


    .gift-container {
        transform:
            scale(0.72);
    }


    .gift-content h1 {
        font-size: 45px;
    }


    .email-step h2 {
        font-size: 25px;
    }


    .email-message {
        font-size: 14px;
    }

}