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

* {
  box-sizing: border-box;
}

body {
  background-color: #e0e7e9; /* Light blue-grey */
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  color: #333; /* Dark text */
}

h1 {
  margin-bottom: 20px;
  color: #2c3e50; /* Dark blue-grey */
}

canvas {
  border: 2px solid #3498db; /* Blue border */
  background-color: #ffffff; /* White canvas background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.controls {
  background-color: #2c3e50; /* Dark blue-grey */
  border: 1px solid #34495e; /* Slightly lighter blue-grey */
  display: flex;
  width: 804px;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 10px;
}

.controls > * {
  background-color: #3498db; /* Blue buttons */
  color: #ffffff; /* White text */
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  height: 40px;
  width: 40px;
  margin: 0.25rem;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.controls > *:hover {
  background-color: #2980b9; /* Darker blue on hover */
}

.controls input[type="color"] {
  background-color: transparent;
  border: none;
  height: 40px;
  width: 40px;
  cursor: pointer;
  padding: 0;
  margin: 0.25rem;
}

.controls input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.controls input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 3px;
}

.controls > *:last-child {
  margin-left: auto;
}