body {
    margin: 0;
    height: 100vh;
    background: url("../img/thae1.jpg") no-repeat center center/cover;
    font-family: 'Segoe UI', sans-serif;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    color: white;
    text-align: center;
    padding-top: 100px;
}

.title {
    font-size: 3em;
    animation: fadeIn 2s;
}

.name {
    font-size: 2em;
    color: pink;
    margin-bottom: 40px;
}

#lyrics {
    font-size: 1.3em;
    margin: 20px;
    min-height: 60px;
    animation: fadeIn 3s;
}

button {
    padding: 15px 30px;
    font-size: 1em;
    border: none;
    border-radius: 30px;
    background: hotpink;
    color: white;
    cursor: pointer;
}

button:hover {
    background: deeppink;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*
body::after {
    content: "❤️ 💖 💕";
    font-size: 2em;
    position: fixed;
    bottom: 10px;
    animation: float 5s infinite;
}
*/

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}
body {
    margin: 0;
    height: 100vh;
    font-family: 'Segoe UI', sans-serif;

    /* ✅ REQUIRED */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation: bg 15s infinite;
    transition: background-image 2s ease-in-out;
}

@keyframes bg {
    0%   { background-image: url("../img/thae1.jpg"); }
    14%  { background-image: url("../img/thae2.jpg"); }
    28%  { background-image: url("../img/thae3.jpg"); }
    42%  { background-image: url("../img/thae4.jpg"); }
    56%  { background-image: url("../img/thae5.jpg"); }
    70%  { background-image: url("../img/thae6.jpg"); }
    84%  { background-image: url("../img/thae7.jpg"); }
    100% { background-image: url("../img/thae8.jpg"); }
}



.overlay {
    background: rgba(0, 0, 0, 0.4);
}

.title {
    font-size: 4em;
    color: #ff69b4;
    text-shadow: 2px 2px 4px #000000;
}

/* music lyrics */
#lyrics {
    font-size: 1.4em;
    animation: fade 1s;
    text-align: center;
    word-break: break-word;
    color: #00ff7f; /* 💚 light neon green */
    background: linear-gradient(90deg, #00ff7f, #7CFF00);
     background-clip: text; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(0, 255, 127, 0.8);
    animation: fade 1s;
}
@keyframes glow {
    0% { text-shadow: 0 0 5px #00ff7f; }
    50% { text-shadow: 0 0 20px #7CFF00; }
    100% { text-shadow: 0 0 5px #00ff7f; }
}


@keyframes fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
button {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.6);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.controls button {
    padding: 12px 22px;
    font-size: 1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    color: white;
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.6);
}

.controls button:hover {
    transform: scale(1.05);
}

.controls button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* 📱 Mobile View */
@media (max-width: 768px) {

    .overlay {
        padding-top: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .title {
        font-size: 2em;
    }

    .name {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    #lyrics {
        font-size: 1.1em;
        line-height: 1.6;
        min-height: 80px;
        padding: 10px;
    }

    .control button {
        width: 90%;
        height: 55px; 
        font-size: 1.1em;
        padding: 12px;
        margin-top: 20px;
    }
}

/* 🎉 Additional Decorations */
@media (max-width: 768px) {
    body::after {
        font-size: 2.5em;
    }
}


/* ✨ Beautiful Font */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* 💌 Birthday Letter */
.letter {
    margin-top: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.6em;
    color: #ffe4f2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: letterFade 2s ease forwards;
}

.hidden {
    display: none;
}

@keyframes letterFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 💖 Floating Hearts */
.heart {
    position: fixed;
    bottom: -20px;
    font-size: 24px;
    animation: floatUp 6s linear infinite;
    opacity: 0.8;
}

@keyframes floatUp {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-120vh) scale(1.5);
        opacity: 0;
    }
}

/* 🎥 Background transition */
body {
    transition: background-image 2s ease-in-out;
}
