/* =========================
   ZARA'S PASSWORD PAGE
   ========================= */


/* The whole webpage */
body {
    margin: 0;
    min-height: 100vh;

    background-color: #f7c9d4;
    color: #542d38;

    font-family: Georgia, "Times New Roman", serif;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* The big password card */
.password-card {
    width: 430px;

    padding: 55px 50px;

    text-align: center;

    background-color: #fff5f7;

    border: 3px solid #8f4f61;

    box-shadow:
        12px 12px 0px #a85d72,
        -6px -6px 0px #fce1e7;

    position: relative;
}


/* Decorative stars/hearts at the top */
.decorations {
    font-size: 24px;
    letter-spacing: 8px;

    margin-bottom: 20px;
}


/* Main title */
.password-card h1 {
    font-size: 42px;

    margin: 10px 0 12px;

    color: #713c4d;
}


/* Little introductory text */
.small-text {
    font-size: 16px;

    font-style: italic;

    margin-bottom: 30px;
}


/* The lock */
.lock {
    font-size: 55px;

    margin: 15px 0;
}


/* "PASSWORD REQUIRED" */
.password-card h2 {
    font-size: 20px;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-top: 20px;
}


/* Normal paragraph */
.password-card p {
    line-height: 1.6;
}


/* Password input box */
input {
    width: 180px;

    padding: 13px;

    margin-top: 10px;

    border: 2px solid #a85d72;

    background-color: #fffafa;

    color: #542d38;

    font-family: Georgia, serif;

    font-size: 16px;

    text-align: center;

    outline: none;
}


/* What happens when Zara clicks inside the password box */
input:focus {
    border-color: #713c4d;

    box-shadow: 0 0 8px #e5a5b5;
}


/* Enter button */
button {
    display: block;

    margin: 18px auto 0;

    padding: 12px 28px;

    border: 2px solid #713c4d;

    background-color: #a85d72;

    color: white;

    font-family: Georgia, serif;

    font-size: 16px;

    cursor: pointer;
}


/* Button when mouse is hovering over it */
button:hover {
    background-color: #713c4d;

    transform: translateY(-2px);
}


/* The wrong-password / correct-password message */
#message {
    margin-top: 20px;

    min-height: 25px;

    font-style: italic;
}


/* =========================
   LEVI CATCHING GAME
   ========================= */

.game-page {

    margin: 0;

    min-height: 100vh;

    background-color: #f8dce3;

    color: #542d38;

    font-family: Georgia, serif;

    overflow: hidden;

}


/* =========================
   TITLE
   ========================= */

.game-intro {

    text-align: center;

    padding-top: 35px;

    position: relative;

    z-index: 10;

}


.game-intro h1 {

    font-size: 35px;

    color: #713c4d;

}


.game-intro p {

    font-size: 17px;

}


/* =========================
   GAME AREA
   ========================= */

#game-area {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    pointer-events: none;

}


/* =========================
   FALLING LEVI
   ========================= */

.falling-levi {

    position: absolute;

    top: -120px;

    width: 75px;

    height: auto;

    cursor: pointer;

    pointer-events: auto;

    animation: fall 5s linear forwards;

    user-select: none;

}


/* =========================
   LEVI FALLING ANIMATION
   ========================= */

@keyframes fall {

    from {

        top: -120px;

        transform: rotate(-10deg);

    }

    to {

        top: 110vh;

        transform: rotate(10deg);

    }

}


/* =========================
   SUCCESS MESSAGE
   ========================= */

#success {

    display: none;

    position: fixed;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    padding: 35px;

    text-align: center;

    background-color: #fff5f7;

    border: 3px solid #8f4f61;

    box-shadow: 10px 10px 0px #a85d72;

    z-index: 100;

}


#success h2 {

    color: #713c4d;

}


#success a {

    display: inline-block;

    margin-top: 15px;

    padding: 10px 22px;

    background-color: #a85d72;

    color: white;

    text-decoration: none;

}


#success a:hover {

    background-color: #713c4d;

}

/* ==================================================
   GIFTS PAGE
   ================================================== */

.gifts-page {

    margin: 0;

    min-height: 100vh;

    background-color: #ead9c7;

    color: #4d3932;

    font-family: Georgia, "Times New Roman", serif;

    padding: 50px 20px;

}


/* ==================================================
   MAIN GIFTS CONTAINER
   ================================================== */

.gifts-container {

    max-width: 750px;

    margin: 0 auto;

    text-align: center;

}


/* ==================================================
   TOP DECORATION
   ================================================== */

.gifts-container .decorations {

    font-size: 22px;

    color: #a85d72;

    margin-bottom: 15px;

}


/* ==================================================
   MAIN TITLE
   ================================================== */

.gifts-container h1 {

    font-size: 38px;

    line-height: 1.3;

    color: #713c4d;

    margin: 0 auto 15px auto;

    max-width: 650px;

}


/* ==================================================
   INTRODUCTION
   ================================================== */

.gift-intro {

    font-size: 17px;

    font-style: italic;

    color: #8b6b5b;

    margin-bottom: 40px;

}


/* ==================================================
   INDIVIDUAL GIFT BOX
   ================================================== */

.gift {

    background-color: #fff8ec;

    border: 2px solid #b9957d;

    padding: 30px;

    margin: 30px auto;

    max-width: 650px;

    box-sizing: border-box;

    box-shadow:
        7px 7px 0px #c5a993;

}


/* ==================================================
   GIFT TITLES
   ================================================== */

.gift h2 {

    color: #713c4d;

    font-size: 24px;

    margin-top: 0;

    margin-bottom: 20px;

}


/* ==================================================
   OPEN ME BUTTON
   ================================================== */

.gift button {

    padding: 11px 24px;

    background-color: #a85d72;

    color: white;

    border: 2px solid #713c4d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;

}


.gift button:hover {

    background-color: #713c4d;

    transform: translateY(-2px);

}


/* ==================================================
   HIDDEN GIFT CONTENT
   ================================================== */

.gift-content {

    display: none;

    margin-top: 25px;

    padding: 25px;

    background-color: #fcecef;

    border: 1px dashed #a85d72;

    box-sizing: border-box;

}


/* ==================================================
   LITTLE NOTE INSIDE GIFTS
   ================================================== */

.gift-note {

    font-size: 20px;

    font-style: italic;

    color: #713c4d;

    margin-top: 0;

    margin-bottom: 12px;

}


/* ==================================================
   SPOTIFY PLAYERS
   ================================================== */

.gift-content iframe {

    display: block;

    width: 100%;

    max-width: 100%;

    margin: 25px auto 0 auto;

    border: none;

}


/* ==================================================
   BIRTHDAY GIFT
   ================================================== */

.birthday-gift {

    text-align: center;

}


/* ==================================================
   CAKE AREA
   ================================================== */

.birthday-cake {

    margin: 30px auto 20px auto;

}


/* ==================================================
   CANDLES
   ================================================== */

.candles {

    display: flex;

    justify-content: center;

    align-items: flex-end;

    gap: 12px;

    margin-bottom: -5px;

}


/* Individual candle buttons */

.candle {

    background: none !important;

    border: none !important;

    padding: 5px !important;

    font-size: 30px !important;

    cursor: pointer;

    transition:
        transform 0.2s;

}


/* Candle hover */

.candle:hover {

    background: none !important;

    transform: translateY(-6px);

}


/* ==================================================
   CAKE
   ================================================== */

#cake {

    font-size: 100px;

    line-height: 1;

    margin-top: 5px;

    transition:
        transform 0.3s;

}


#cake:hover {

    transform: scale(1.05);

}


/* ==================================================
   CANDLE INSTRUCTION
   ================================================== */

#candle-instruction {

    font-style: italic;

    color: #8b6b5b;

    margin-top: 10px;

}


/* ==================================================
   BIRTHDAY MESSAGE
   ================================================== */

#birthday-message {

    display: none;

    margin-top: 25px;

    padding: 25px;

    background-color: #fff8ec;

    border: 1px dashed #a85d72;

}


/* Birthday message title */

#birthday-message h2 {

    color: #713c4d;

    font-size: 25px;

}


/* Birthday message button */

#birthday-message button {

    margin-top: 15px;

}


/* ==================================================
   CAKE MESSAGE
   ================================================== */

#cake-message {

    display: none;

    margin-top: 25px;

    padding: 25px;

    background-color: #fff8ec;

    border: 1px dashed #a85d72;

}


/* Cake message title */

#cake-message h2 {

    color: #713c4d;

    font-size: 25px;

}


/* ==================================================
   CONTINUE BUTTON
   ================================================== */

#continue-button {

    display: none;

    text-align: center;

    margin: 50px auto 20px auto;

}


#continue-button a {

    display: inline-block;

    padding: 12px 26px;

    background-color: #a85d72;

    color: white;

    border: 2px solid #713c4d;

    text-decoration: none;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    transition:
        background-color 0.2s,
        transform 0.2s;

}


#continue-button a:hover {

    background-color: #713c4d;

    transform: translateY(-2px);

}


/* ==================================================
   SMALL SCREEN / PHONE
   ================================================== */

@media (max-width: 600px) {

    .gifts-page {

        padding: 30px 12px;

    }


    .gifts-container h1 {

        font-size: 29px;

    }


    .gift {

        padding: 22px;

    }


    .gift-content {

        padding: 18px;

    }


    #cake {

        font-size: 80px;

    }

}

/* ==================================================
   DIARY PAGE
   ================================================== */

.diary-page {

    margin: 0;

    min-height: 100vh;

    background-color: #d8c4ae;

    color: #4d3932;

    font-family: Georgia, "Times New Roman", serif;

    padding: 55px 20px;

}


.diary-container {

    max-width: 750px;

    margin: 0 auto;

    text-align: center;

}


.diary-decoration {

    color: #713c4d;

    font-size: 22px;

    margin-bottom: 20px;

}


.diary-paper {

    max-width: 650px;

    min-height: 600px;

    margin: 0 auto;

    padding: 55px 60px;

    box-sizing: border-box;

    background-color: #fff4dc;

    border: 1px solid #b9957d;

    box-shadow:
        8px 8px 0px #b9a28c;

    text-align: left;

}


.diary-date {

    text-align: right;

    font-size: 14px;

    font-style: italic;

    color: #8b6b5b;

    margin-bottom: 45px;

}


.diary-paper h1 {

    color: #713c4d;

    font-size: 32px;

    font-weight: normal;

    margin-bottom: 35px;

}


.diary-text {

    font-size: 17px;

    line-height: 1.8;

}


.diary-text p {

    margin-bottom: 25px;

}


.diary-signature {

    margin-top: 50px;

    font-style: italic;

    color: #713c4d;

    text-align: right;

    line-height: 1.6;

}


.diary-continue {

    margin-top: 45px;

}


.diary-continue a {

    display: inline-block;

    padding: 12px 27px;

    background-color: #a85d72;

    color: white;

    border: 6px solid #713c4d;

    text-decoration: none;

}


.diary-continue a:hover {

    background-color: #713c4d;

}


@media (max-width: 600px) {

    .diary-page {

        padding: 30px 12px;

    }


    .diary-paper {

        padding: 40px 25px;

    }


    .diary-paper h1 {

        font-size: 28px;

    }


    .diary-text {

        font-size: 16px;

    }

}


/* ==================================================
   29 WISHES — FINAL PAGE
   ================================================== */

.wishes-page {

    margin: 0;

    min-height: 100vh;

    background-color: #ead9c7;

    color: #4d3932;

    font-family: Georgia, "Times New Roman", serif;

    padding: 55px 20px;

    box-sizing: border-box;

}


/* ==================================================
   MAIN CONTAINER
   ================================================== */

.wishes-container {

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

}


/* ==================================================
   DECORATION
   ================================================== */

.wishes-decoration {

    color: #a85d72;

    font-size: 24px;

    margin-bottom: 15px;

}


/* ==================================================
   TITLE
   ================================================== */

.wishes-container h1 {

    color: #713c4d;

    font-size: 38px;

    font-weight: normal;

    margin: 0 0 15px 0;

}


.wishes-intro {

    max-width: 600px;

    margin: 0 auto 45px auto;

    color: #8b6b5b;

    font-size: 17px;

    font-style: italic;

    line-height: 1.6;

}


/* ==================================================
   ENVELOPE GRID
   ================================================== */

.envelope-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 22px;

    max-width: 720px;

    margin: 0 auto;

}


/* ==================================================
   INDIVIDUAL ENVELOPES
   ================================================== */

.envelope {

    position: relative;

    height: 105px;

    background-color: #fff4dc;

    border: 2px solid #b9957d;

    color: #713c4d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    cursor: pointer;

    box-shadow:
        4px 5px 0px #c5a993;

    transition:
        transform 0.2s,
        box-shadow 0.2s;

}


/* number on envelope */

.envelope span {

    display: block;

    font-size: 13px;

    margin-top: 5px;

    letter-spacing: 2px;

}


/* envelope hover */

.envelope:hover {

    transform:
        translateY(-5px)
        rotate(-1deg);

    box-shadow:
        6px 8px 0px #b9957d;

}


/* little envelope corner */

.envelope::after {

    content: "♡";

    position: absolute;

    right: 8px;

    bottom: 5px;

    font-size: 14px;

    color: #a85d72;

}


/* ==================================================
   WISH DISPLAY
   ================================================== */

#wish-display {

    display: none;

    max-width: 600px;

    margin: 45px auto 20px auto;

    padding: 35px 40px;

    background-color: #fff8ec;

    border: 2px solid #b9957d;

    box-shadow:
        7px 7px 0px #c5a993;

    box-sizing: border-box;

}


/* wish number */

#wish-number {

    color: #a85d72;

    font-size: 18px;

    font-style: italic;

    margin-top: 0;

}


/* actual wish */

#wish-text {

    color: #4d3932;

    font-size: 18px;

    line-height: 1.8;

    margin: 25px 0;

}


/* close button */

#wish-display button {

    padding: 9px 22px;

    background-color: #a85d72;

    color: white;

    border: 2px solid #713c4d;

    font-family: Georgia, "Times New Roman", serif;

    cursor: pointer;

}


#wish-display button:hover {

    background-color: #713c4d;

}


/* ==================================================
   FINAL MESSAGE
   ================================================== */

.final-message {

    max-width: 650px;

    margin: 80px auto 20px auto;

    padding: 50px 45px;

    background-color: #fff4dc;

    border: 1px solid #b9957d;

    box-shadow:
        8px 8px 0px #c5a993;

    box-sizing: border-box;

}


/* decoration */

.final-decoration {

    color: #a85d72;

    font-size: 20px;

    margin-bottom: 20px;

}


/* final heading */

.final-message h2 {

    color: #713c4d;

    font-size: 28px;

    font-weight: normal;

    margin-top: 0;

    margin-bottom: 25px;

}


/* final paragraphs */

.final-message p {

    font-size: 17px;

    line-height: 1.8;

    margin: 20px 0;

}


/* signature */

.final-message .final-signature {

    color: #713c4d;

    font-style: italic;

    margin-top: 35px;

}


/* ==================================================
   PHONE
   ================================================== */

@media (max-width: 650px) {


    .wishes-page {

        padding: 35px 12px;

    }


    .wishes-container h1 {

        font-size: 30px;

    }


    .envelope-grid {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;

    }


    .envelope {

        height: 90px;

        font-size: 32px;

    }


    #wish-display {

        padding: 28px 22px;

    }


    #wish-text {

        font-size: 16px;

    }


    .final-message {

        padding: 35px 25px;

    }


}

/* ==================================================
   WELCOME PAGE
   ================================================== */

.welcome-page {

    margin: 0;

    min-height: 100vh;

    background-color: #ead9c7;

    color: #4d3932;

    font-family: Georgia, "Times New Roman", serif;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

    box-sizing: border-box;

}


.welcome-container {

    width: 100%;

    max-width: 720px;

    text-align: center;

}


/* little decorations */

.welcome-decorations {

    color: #a85d72;

    font-size: 25px;

    margin-bottom: 18px;

    letter-spacing: 5px;

}


/* main scrapbook card */

.welcome-card {

    background-color: #fff4dc;

    border: 1px solid #b9957d;

    padding: 65px 55px;

    box-sizing: border-box;

    box-shadow:
        10px 10px 0px #c5a993;

    position: relative;

}


/* tiny heading */

.welcome-small {

    color: #a85d72;

    font-size: 14px;

    font-style: italic;

    letter-spacing: 2px;

    margin-bottom: 18px;

}


/* main heading */

.welcome-card h1 {

    color: #713c4d;

    font-size: 42px;

    font-weight: normal;

    margin: 0;

    line-height: 1.3;

}


/* divider */

.welcome-line {

    color: #a85d72;

    margin: 25px 0;

    font-size: 14px;

}


/* welcome paragraph */

.welcome-text {

    max-width: 520px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.8;

}


/* little Levi reference */

.welcome-levi {

    margin: 30px 0 20px 0;

    font-size: 22px;

    letter-spacing: 10px;

}


/* mysterious little line */

.welcome-hint {

    color: #8b6b5b;

    font-size: 15px;

    font-style: italic;

    margin-bottom: 30px;

}


/* BEGIN BUTTON */

.welcome-button {

    display: inline-block;

    padding: 13px 32px;

    background-color: #a85d72;

    color: white;

    border: 2px solid #713c4d;

    text-decoration: none;

    font-size: 16px;

    transition:
        transform 0.2s,
        background-color 0.2s;

}


.welcome-button:hover {

    background-color: #713c4d;

    transform:
        translateY(-3px);

}


/* tiny footer */

.welcome-footer {

    margin-top: 30px;

    color: #8b6b5b;

    font-size: 12px;

    font-style: italic;

}


/* ==================================================
   PHONE
   ================================================== */

@media (max-width: 600px) {

    .welcome-page {

        padding: 25px 15px;

    }


    .welcome-card {

        padding: 45px 25px;

    }


    .welcome-card h1 {

        font-size: 31px;

    }


    .welcome-text {

        font-size: 16px;

    }

}