body {
  margin: 0;
  /* A green gradient background: */
  background: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}


/* Make main a flex container, splitting left/right */
main {
  display: flex;
  height: 100vh; /* optional: fill the entire viewport height */
}

.leftPanel {
  /* background-color: rgba(255, 255, 255, 0.7); white with 70% opacity */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);    soft shadow */
  border-radius: 10px;                        /* rounded corners, optional */
  padding: 20px;
  box-sizing: border-box;
}

.leftPanel {
  width: 40%;
  min-width: 300px;
  margin: 30px; /* add some space so it doesn't hug the edges */
  font-size: 14px;
  font-weight: 400;
}

.rightPanel {
  width: calc(60% - 40px); /* 60% minus left/right margin space */
  min-width: 300px;
  margin: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-weight: 700;       
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f5f8f5;           
  margin-top: 0;            /* remove default extra spacing */
}


/* Optional styling for the description paragraph */
.description {
  color: #ccc;
  font-weight: 400;
  margin: 5px;
  line-height: 1.5;
  font-size: 14px;
}

.description ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  font-size: 14px;
}
/* 
/* Make each control appear on its own line in the left panel */
#fileInput,
#rainButton {
  background-color: #444;  
  color: #fff;                /* white text */
  border: none;
  padding: 10px 5px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Monteserrat', sans-serif;
  font-size: 1rem;
  transition: background-color 0.2s ease;
} */

/* The canvas container: it’s in the right panel */
#canvasContainer {
  border: 1px solid #ccc;  /* optional, just for clarity */
  display: flex;
  justify-content: center;
  align-items: center;
  /* If you want the canvas to strictly fill this container,
     set a width/height. Usually p5 manages canvas size though. */
}

button {
  background-color: #444;  
  color: #fff;                /* white text */
  border: none;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Monteserrat', sans-serif;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

/* Hover and focus states */
button:hover,
button:focus {
  background-color: #666;  /* slightly darker green */
}

button:active {
  background-color: #888;  /* even darker on click */
}