@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #fce4ec, #e3f2fd);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    transition: background 0.5s ease;
}

h1, h2 {
    margin: 20px 0 10px;
    color: #333;
    font-size: 2rem;
    transition: transform 0.3s ease;
    
}


.btn-container {
    display: flex;
    flex-wrap: wrap;
    width: 420px;
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
}


 .btn {
    width: 180px;
    height: 180px;
    border-radius: 25%;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.btn:active {
    transform: scale(0.95);
}

.yellow 
{
     background-color: #fdd835; 
}
.red 
{
     background-color: #ef5350;
}

.green 
{
       background-color: #66bb6a; 
    }

.purple { 
    background-color: #ab47bc;
 }

.flash {
    filter: brightness(250%);
    box-shadow: 0 0 20px white;
}


.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

h2.animate {
    animation: pop 0.5s ease;
}

@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
