/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-image: radial-gradient(circle, #ff7e5f, #feb47b); /* Default gradient */
    display: flex;
    justify-content: center;  /* Horizontally center the container */
    align-items: center;      /* Vertically center the container */
    height: 100vh;            /* Full viewport height */
    margin: 0;                /* Remove default margin */
    animation: pulse 1.5s ease-in-out infinite;  /* Faster pulsing animation */
    transition: background-color 0.3s ease;   /* Smooth transition for background color */
}

.container {
    text-align: center;
    background-color: transparent;
    padding: 20px;
    border-radius: 8px;
    width: 80%;               /* Optional: Adjust the width of the container */
    max-width: 500px;         /* Optional: Set a maximum width for the container */
}

.controls {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input[type="range"] {
    width: 80%;
    margin: 10px 0;
}

.palette {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.color-box {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Define the animation for dramatic pulsing effect */
@keyframes pulse {
    0% {
        background-size: 100%;
        background-position: center;
    }
    50% {
        background-size: 150%;  /* Increase the size of the gradient for dramatic effect */
        background-position: center;
    }
    100% {
        background-size: 100%;
        background-position: center;
    }
}
