* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #12061F;
    color: #F8F5FF;
  font-family: 'Baloo 2', cursive;
}


/* Main landing page */

.landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}


/* Text */

.intro {
    font-size: 1rem;
    color: #D8B4FE;
    opacity: 0;
    animation: fadeIn 2s forwards;
}


h1 {
    font-size: 5rem;
    margin-top: 15px;
    color: #A855F7;
    text-shadow: 0 0 20px #A855F7;
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 0.5s;
}


.subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 1s;
}


/* Button */

button {
    margin-top: 40px;
    padding: 15px 35px;

    border: none;
    border-radius: 30px;

    background: #5B2C9D;
    color: white;

    font-size: 1.1rem;
    cursor: pointer;

    box-shadow: 0 0 20px #5B2C9D;

    transition: 0.3s;
}


button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px #A855F7;
}


/* Snorlax */

.snorlax-container {

    position: absolute;

    bottom: 40px;

    width: 100%;

    display: flex;

    justify-content: space-between;

    padding: 0 120px;

}


.snorlax {

    font-size: 80px;

    opacity: 0;

}


.small {

    font-size: 80px;

    animation: smallArrive 2s ease forwards,
               breathe 3s infinite ease-in-out 2s;

}


.big {

    font-size: 120px;

    animation: bigArrive 2s ease forwards,
               breatheBig 3s infinite ease-in-out 2s;

}



@keyframes smallArrive {

    from {

        transform: translateX(-300px);

        opacity: 0;

    }


    to {

        transform: translateX(0) scale(0.8);

        opacity: 1;

    }

}



@keyframes bigArrive {

    from {

        transform: translateX(300px);

        opacity: 0;

    }


    to {

        transform: translateX(0) scale(1.2);

        opacity: 1;

    }

}



@keyframes comeLeft {

    from {

        transform: translateX(-300px);

        opacity: 0;

    }


    to {

        transform: translateX(0);

        opacity: 1;

    }

}



@keyframes comeRight {

    from {

        transform: translateX(300px);

        opacity: 0;

    }


    to {

        transform: translateX(0);

        opacity: 1;

    }

}
@keyframes breatheBig {

    0%, 100% {

        transform: translateY(0) scale(1.2);

    }


    50% {

        transform: translateY(-10px) scale(1.2);

    }

}



/* Animations */


@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes breathe {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}
.ending-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 50px;
    margin: 180px auto;
    max-width: 850px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.ending-card h1 {
    font-size: 45px;
    margin-bottom: 25px;
}

.ending-card p {
    font-size: 22px;
    line-height: 1.7;
}

.big-heart {
    font-size: 70px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.memory-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 25px;
    margin: 120px auto;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.memory-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.memory-card h2 {
    font-family: 'Baloo 2', cursive;
    margin-bottom: 10px;
}

.memory-card p {
    font-size: 18px;
    line-height: 1.6;
}
.memory-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
}


.polaroid {
    background: white;
    color: #12061F;
    width: 250px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: 0.4s;
}


.polaroid:hover {
    transform: translateY(-15px) scale(1.05);
}


.photo {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
}


.polaroid h2 {
    margin-top: 15px;
    font-family: 'Baloo 2', cursive;
}


.polaroid p {
    font-size: 16px;
    line-height: 1.5;
}
.memory-note {
    font-style: italic;
    opacity: 0.8;
}
/* Memory Wall Layout */

.memory-gallery {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 80px;

    width: 100%;

    margin-top: 100px;

}


/* Polaroid Style */

.polaroid {

    background: white;

    width: 300px;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    transition: 0.3s;

    margin: 0 auto;

}


/* kleine zufällige Drehungen */

.polaroid:nth-child(1) {
    transform: rotate(-4deg);
}

.polaroid:nth-child(2) {
    transform: rotate(4deg);
}

.polaroid:nth-child(3) {
    transform: rotate(-3deg);
}

.polaroid:nth-child(4) {
    transform: rotate(3deg);
}

.polaroid:nth-child(5) {
    transform: rotate(-5deg);
}


/* Hover Effekt */

.polaroid:hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}


/* Emoji/Bild Bereich */

.photo {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
}


/* Text */

.polaroid h2 {
    margin-top: 20px;
    font-family: 'Baloo 2', cursive;
}

.polaroid p {
    margin-top: 10px;
    line-height: 1.5;
    font-size: 16px;
}
/* Tape Sticker auf den Polaroids */

.polaroid {
    position: relative;
}


.polaroid::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);

    width: 80px;
    height: 25px;

    background: rgba(255,255,255,0.5);
    border-radius: 5px;

    z-index: 2;
}
/* Floating Love Hearts */

.love-notes {
    min-height: 700px;
    position: relative;
    text-align: center;
    margin-top: 150px;
}


.love-notes h2 {
    font-family: 'Baloo 2', cursive;
    margin-bottom: 80px;
}


.floating-heart {
    width: 100px;
    height: 100px;
    position: absolute;
    cursor: pointer;
    perspective: 1000px;
    animation: floatHeart 5s ease-in-out infinite;
}


.heart-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}


.heart-front,
.heart-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
}


.heart-front {
    font-size: 70px;
}


.heart-back {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    font-size: 16px;
}


.heart-back {
    transform: rotateY(180deg);
}


.floating-heart.flipped .heart-inner {
    transform: rotateY(180deg);
}


/* Herz Positionen */

.heart-one {
    left: 15%;
    top: 150px;
}

.heart-two {
    right: 20%;
    top: 250px;
}

.heart-three {
    left: 45%;
    top: 350px;
}

.heart-four {
    right: 15%;
    top: 450px;
}

.heart-five {
    left: 25%;
    top: 550px;
}


@keyframes floatHeart {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }

}
/* Moon Section */

.moon-section {

    min-height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 150px;

}


.moon {

    font-size: 150px;
    cursor: pointer;

    filter: drop-shadow(0 0 30px #fff);

    animation: moonGlow 4s ease-in-out infinite;

    transition: 0.4s;

}


.moon:hover {

    transform: scale(1.1);

}



@keyframes moonGlow {

    0%,100% {

        filter: drop-shadow(0 0 20px white);

    }

    50% {

        filter: drop-shadow(0 0 60px #D8B4FE);

    }

}



.moon-message {

    margin-top: 40px;

    max-width: 500px;

    padding: 30px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(10px);

    border-radius: 30px;

    text-align: center;

    font-size: 20px;

    line-height: 1.6;

    opacity: 0;

    transform: translateY(30px);

    transition: 0.6s;

}


.moon-message.show {

    opacity: 1;

    transform: translateY(0);

}
/* Stars */

.stars span {

    position: absolute;

    font-size: 25px;

    animation: twinkle 3s ease-in-out infinite;

}



.stars span:nth-child(1) {
    top: 20%;
    left: 25%;
}


.stars span:nth-child(2) {
    top: 15%;
    right: 30%;
}


.stars span:nth-child(3) {
    top: 45%;
    left: 15%;
}


.stars span:nth-child(4) {
    top: 55%;
    right: 20%;
}


.stars span:nth-child(5) {
    top: 75%;
    left: 30%;
}


.stars span:nth-child(6) {
    top: 70%;
    right: 35%;
}



@keyframes twinkle {

    0%,100% {

        opacity: 0.4;

        transform: scale(1);

    }


    50% {

        opacity: 1;

        transform: scale(1.4);

    }

}



.star-message {

    position: absolute;

    left: 90px;
    top: 0;

    width: 300px;

    padding: 25px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(10px);

    border-radius: 25px;

    font-size: 20px;

    opacity: 0;

    transform: translateX(-20px);

    transition: 0.6s;

    pointer-events: none;

}


.star-message.show {

    opacity: 1;

    transform: translateY(0);

}
.special-star {

    position: absolute !important;

    cursor: pointer;

    font-size: 45px !important;

    width: 80px;
    height: 80px;

    display: flex !important;

    justify-content: center;
    align-items: center;

    z-index: 10;

    animation: twinkle 3s ease-in-out infinite;

}
/* Letter */

.letter-section {

    min-height: 700px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin-top: 150px;

}


.envelope {

    font-size: 100px;

    cursor: pointer;

    transition: 0.4s;

    animation: floatEnvelope 4s ease-in-out infinite;

}


.envelope:hover {

    transform: scale(1.15);

}



.letter {

    max-width: 700px;

    margin-top: 50px;

    padding: 40px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(15px);

    border-radius: 30px;

    font-size: 18px;

    line-height: 1.7;

    opacity: 0;

    transform: translateY(40px);

    transition: 0.8s;

}


.letter.show {

    opacity: 1;

    transform: translateY(0);

}


.final-line {

    margin: 30px 0;

    color: #D8B4FE;

}



@keyframes floatEnvelope {

    0%,100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-20px);

    }

}
.photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}


.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.polaroid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}