/* General Body Styling */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4; /* Soft background */
  color: #333;
  height: 100vh;
  /* Remove display: flex */
}

h1 {
  margin-top: 20px;
  font-size: 2rem;
  color: #333;
  text-align: center;
}

/* Styling the canvas container */
#canvas-container {
  width: 100%;
  height: 70vh;
  background-color: #fff; /* Ensure canvas container has a visible background */
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; /* Add spacing below the canvas */
}

/* Buttons container styling */
#lego-buttons-container,
#parts-buttons-container {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styling */
button {
  background-color: #D8BFD8;
  color: #333;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #E6E6FA;
    color: #333;
}

/* Text Styling */
p {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #canvas-container {
    height: 50vh; /* Adjust canvas height for smaller screens */
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}
