/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
    color: #fff;
    font-family: Arial, sans-serif;
}

body {
    background: url('http://www.nhembram.com/images/happy_holi.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Full-Screen Canvas */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
}

/* Animated Holi Text */
.holi-text {
    position: relative;
    z-index: 1;
    font-size: 5vw;
    margin-top: 20vh;
    font-family: 'Great Vibes', cursive;
    animation: bounce 2s infinite alternate ease-in-out;
}

/* Quote Container */
.holi-quote-container {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent white */
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 3s ease-in-out;
}

.holi-quote {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #ff8c8c, #ffb872, #b9b9ff, #abff7e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* Instruction Text */
.instruction {
    font-size: 1rem;
    color: #deffff;
    position: relative;
    z-index: 1;
}

/* Footer Styling */
.footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    opacity: 0.9;
    text-align: center;
    z-index: 1;
}

.footer a {
    color: #9cffde;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    color: #c0ffc2;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .holi-text {
        font-size: 2.5rem;
    }

    .holi-quote {
        font-size: 1.2rem;
    }

    .instruction {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .holi-text {
        font-size: 2rem;
    }

    .holi-quote {
        font-size: 1rem;
    }

    .instruction {
        font-size: 0.8rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}
