/* styles.css */

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eaffea; /* ✅ Very light green */
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  text-align: center;
}

h1, h2, h3, p {
  margin: 0.5em 0;
}

button {
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 1.1em;
  border: none;
  border-radius: 8px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: #218838;
}

.exit-button {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 2em;
  color: red;
  text-decoration: none;
}

.back-button {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-size: 1.5em;
  color: gray;
  text-decoration: none;
}

canvas {
  border: 2px dashed #ccc;
  background-color: #fff;
  margin-top: 15px;
}

input[type="text"], textarea {
  padding: 10px;
  width: 80%;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

#message, #error {
  font-size: 1.2em;
  margin-top: 1em;
  color: #dc3545;
}

@media (max-width: 768px) {
  body {
    font-size: 1.1em;
    padding: 20px;
  }

  button {
    font-size: 1em;
    padding: 10px 20px;
  }

  .exit-button {
    font-size: 1.8em;
  }

  .back-button {
    font-size: 1.3em;
  }

  canvas {
    width: 90%;
    height: auto;
  }

  input[type="text"], textarea {
    width: 100%;
  }
}
