/* Global reset and box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
    /* Easter-themed background gradient */
    background: linear-gradient(135deg, #fdfdff 0%, #e0f0ff 50%, #fff0f5 100%);
    font-family: sans-serif;
}

/* Container for the p5.js canvas */
#canvasContainer {
    width: 95%; /* Responsive width */
    max-width: 700px; /* Max size for larger screens */
    margin: 20px auto; /* Center the container */
    position: relative; /* For potential absolute positioning inside if needed */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    border-radius: 15px; /* Optional: round corners of container */
    overflow: hidden; /* Ensures canvas stays within rounded corners if applied */
}

/* p5.js will create the canvas element. Ensure it displays correctly */
canvas {
    display: block; /* Remove potential extra space below */
    width: 100%;    /* Make canvas fill its container */
    height: auto;   /* Maintain aspect ratio */
}


/* Container for the remote buttons */
#remote {
    text-align: center; /* Center buttons */
    padding: 15px;
    margin-top: 10px;
}

/* Styling for individual remote buttons */
.remote-button {
    padding: 10px 15px;
    margin: 4px;
    cursor: pointer;
    background-color: #ffe0f0; /* Light pastel pink */
    color: #5d4a66; /* Muted purple text */
    border: 1px solid #ffcce5; /* Slightly darker pink border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease; /* Smooth transition */
}

.remote-button:hover {
    background-color: #ffd1e7; /* Slightly darker hover */
    transform: translateY(-1px); /* Subtle lift effect */
}

.remote-button:active {
    background-color: #ffc2db; /* Darker active state */
    transform: translateY(0px); /* Press down effect */
}