@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@900&display=swap');

body {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f5f5f5;
  min-height: 100vh;
}

#title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 900;
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px 0;
  width: 100%;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#canvas-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 0;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}
#canvas-container canvas {
  border: 3px solid #4CAF50;
  display: block;
}


#controls {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 250px;
}

button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s;
}

button:hover {
  background: #388E3C;
}

p {
  margin: 0;
  margin-top: 10px;
  font-weight: 500;
}

input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

input[type="range"] {
  accent-color: #4CAF50;
  width: 100%;
  height: 8px;
  margin: 5px 0 15px 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #4CAF50;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #4CAF50;
  cursor: pointer;
  border: none;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0;
}
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  #controls {
    width: 90%;
    margin-top: 15px;
  }
  
  #canvas-container {
    width: fit-content;
    padding: 0;
    padding: 10px;
  }
}