body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #e9e9e9;
    margin: 0;
    padding: 20px;
}

h1 {
    transition: transform 1s ease;
    color: #363636;
}

textarea {
    width: 60%;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    transition: background-color 0.5s ease;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #228dff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

h1:hover {
    transform: scale(1.25); 
    transition: transform 1s ease; 
    animation: rainbowText 5s infinite; /* Apply the rainbow animation */
}

@keyframes rainbowText {
    0%,100% {
        color: rgb(248, 48, 48);
    }
    20% {
        color: rgb(235, 152, 0);
    }
    40% {
        color: rgb(252, 252, 99);
    }
    60% {
        color: rgb(0, 209, 0);
    }
    80% {
        color: rgb(41, 41, 252);
    }
    100% {
        color: rgb(99, 0, 170);
    }
}

textarea:hover {
    transform: scale(1.01); 
    transition: transform 0.5s ease; 
}

button:hover {
    transform: scale(1.05); 
    background-color: #0056b3;
    transition: transform 0.3s ease, background-color 0.3s ease; 
}
