body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Black background */
    overflow: hidden;
    color: #fff; /* Text color */
    font-family: 'Poppins', sans-serif; /* Premium font */
    transition: background-color 0.5s ease; /* Smooth background color transition */
}

.container {
    text-align: center;
    transition: transform 0.5s ease; /* Smooth transform transition */
}

.container:hover {
    transform: scale(2.05); /* Scale up on hover */
}

.colorful-text {
    font-size: 5rem;
    color: transparent;
    background: linear-gradient(to right, #FFD700, #FFA07A, #DA70D6, #20B2AA);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    transition: color 0.5s ease; /* Smooth color transition */
}

.colorful-text::before {
    content: attr(data-content); /* Use the data-content attribute as content */
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden; /* Initially hidden */
    z-index: -1;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.colorful-text:hover::before {
    visibility: visible; /* Show when hovering */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
