* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}

body {
    overflow: hidden;
    background: #fafafa;
    overflow-x: hidden;
}

/* FRAME */

.frame {
    height: 100dvh;
    width: 100vw;
    position: relative;

    background-color: #f8f6f4;
    background-image: none;
    background-size: cover;
    background-position: center 70%;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 12vh;
}

.frame {
    transition: opacity 0.3s ease;
}

.frame1 {
    background-image: url("images/frame1.webp");
}

/* TEXT OVERLAY */

.overlay {
    text-align: center;
    color: #333;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    padding: 40px 50px;
    border-radius: 20px;
}

/* TITLE */

.title {
    font-size: 48px;
    margin-bottom: 15px;
}

/* SUBTITLE */

.subtitle {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    color: #555;
}

/* BUTTON */

.start-btn {
    padding: 12px 26px;
    border: none;
    border-radius: 30px;
    background: #f6cbd3;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.start-btn:hover {
    background: #e8aeb7;
}

/* FLOATING HEARTS */

.hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 12px;
    height: 12px;
    bottom: -20px;

    background: rgba(255, 120, 150, 0.6);

    transform: rotate(45deg);
    animation: float 18s linear infinite;
}

.heart:before,
.heart:after {
    content: "";
    position: absolute;

    width: 12px;
    height: 12px;
    background: rgba(255, 120, 150, 0.6);

    border-radius: 50%;
}

.heart:before {
    top: -6px;
    left: 0;
}

.heart:after {
    left: -6px;
    top: 0;
}

@keyframes float {

    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-110vh) rotate(45deg);
        opacity: 0;
    }

}

.frame2 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame3 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame4 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-position: center 80%;
}

.frame5 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame5_2 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame6 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame7 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame8 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame9 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame10 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame11 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame12 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame13 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.frame14 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}



picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* image inside frame */
.frame-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.caption {

    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    font-style: italic;
    font-size: 15px;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);

    padding: 8px 18px;
    border-radius: 20px;

    color: #555;

    text-align: center;
    max-width: 80%;

}

.next-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999; /* stronger than before */

    border: none;
    background: #f6cbd3;

    padding: 10px 18px;
    border-radius: 20px;

    cursor: pointer;
}

.hidden {
    display: none;
}


@media (max-width: 768px) {

    .frame {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame2 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame3 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame4 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame5 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame5_2 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame6 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame7 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame8 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame9 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame10 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame11 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame12 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame13 {
        align-items: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .frame14 {
        align-items: flex-start;
        padding-top: 0 !important;
        padding-bottom: 0;
        background-image: url("images/frame14-mobile.webp");
    }

    .overlay {
        margin-top: 0;
    }

    .caption {
        font-size: 14px;
        top: 12px;
        max-width: 90%;
    }

    .final-note {
        font-size: 14px;
        bottom: 12px;
        max-width: 90%;
    }

    .next-btn {
        bottom: 25px;
        right: 15px;
        left: auto;
    }

}

.final-note {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    font-style: italic;
    font-size: 15px;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);

    padding: 8px 18px;
    border-radius: 20px;

    color: #555;

    text-align: center;
    max-width: 80%;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#secret-trigger {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

#guitar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#guitar-modal video {
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
}

.hidden {
    display: none;
}

.replay-btn {
    padding: 12px 26px;
    border: none;
    border-radius: 30px;
    background: #f6cbd3;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.replay-btn:hover {
    background: #e8aeb7;
}

.frame14 {
    height: 100vh;
    width: 100vw;
    position: relative;

    background-image: url("images/frame14-desktop.webp");
    background-size: cover;
    background-position: center 70%;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 3vh;
}