body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  background-image: url("background.jpg");
  background-size: cover;

  height: 100vh;
}

header {
  color: rgb(255, 255, 255);
  padding: -1rem;
  text-align: center;
  width: 100%;
  height: 9vh;
  margin-bottom: -2rem;
  padding-top: 2rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

label {
  color: white;
  font-size: large;
}

#controls {
  margin-bottom: 1rem;
}

canvas {
  border: 1px solid #000;
  width: 970px;
  height: 600px;
  background-color: rgba(255, 255, 255, 0.95);
}

.button {
  display: block;
  background-color: #96bd0d;
  border-radius: 10px;
  border: 2px double #ffffff;
  color: #000000;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  width: 200px;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  display: inline-block;
}

.button:hover {
  background-color: #ffffff;
  border: 2px solid #1f69ec;
  box-shadow: 10px 5px 5px #719fee;
  color: #1f69ec;
  text-align: center;
  font-size: 20px;
}

textarea {
  margin-top: 60px;
  font-size: 15px;
  color: rgb(0, 0, 0);
  max-width: 300px;
  position: absolute;
  right: 15px;
  top: 100px;
  resize: none;
}

.error-message-container {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffdddd;
  border: 1px solid #ff0000;
  padding: 5px;
  display: none;
}
