.scale-text {
    width: 150px; 
    padding: 15px; 
    margin: 20px auto; 
    background-color: white; 
    color: black; 
    text-align: center; 

    transition: transform 0.3s ease;
}

.scale-text:hover {
    transform: scale(1.2);
}

.moving-box { 
    width: 150px; 
    padding: 15px; 
    margin: 20px auto; 
    background-color: white; 
    color: black; 
    text-align: center; 
    
    /* Animation automatically starts when page loads */ 
    animation: moveBox 3s infinite alternate ease-in-out; } 
    
    @keyframes moveBox { 
        from { 
            transform: translateX(-50px); 
        } 
        to { transform: translateX(50px); 
        } 
    } 
    .hover-box {
         width: 150px; 
         padding: 15px; 
         margin: 20px auto; 
         background-color: white; 
         color: black; 
         text-align: center; 
        } /* Animation is triggered when the user hovers */ 
        
        .hover-box:hover { 
            animation: spinBox 1s ease-in-out; 
        } 
        
        @keyframes spinBox { 
            0% { 
                transform: rotate(0deg); 
            } 
            50% { 
                transform: rotate(180deg); 
            } 100% { 
                transform: rotate(360deg); 
            } 
        }

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    
    
    background-color: #4158D0; 
    background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}


.card {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
