body {
  text-align: center;
  background-color: #28282B;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

#experimentContainer {
  display: none;
}

#startButton {
  padding: 15px 30px;
  font-size: 20px;
  cursor: pointer;
  background-color: #91d1f8;
  color: black;
  border: none;
  border-radius: 5px;
  display: block;
  margin: 20px auto;
  transition: background-color 0.3s, transform 0.1s;
}

/* Hover Effect: Changes color */
#startButton:hover {
  background-color: #e0e0e0;
}

/* Active Click Effect: Slightly darker and moves down */
#startButton:active {
  background-color: #e0e0e0;
  transform: scale(0.98);
}

#experimentTitle {
  display: inline-block;
  text-align: left;
  padding: 8px 20px;
  border: 2px solid black;
  background-color: #B2BEB5;
  color: black;
  font-size: 26px;
  font-weight: bold;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

canvas {
  background-color: #28282B;
  border: 2px solid black;
  display: block;
  margin: 20px auto;
  position: relative;
}

/* hide footer during lock and consent page */
body:has(#consent-modal[style*=visible]) footer,
body:has(#lock-modal[style*=flex]) footer {
  display: none;
}

/* consent css */
#instructionScreen {
  font-size: 18px;
  text-align: left;
  margin-bottom: 10px;
}

#consent-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #28282B;
  z-index: 99999;
  overflow-y: auto;
  padding: 120px 20px 120px 20px;
  box-sizing: border-box;
}

#consent-box {
  background-color: #B2BEB5;
  color: black;
  padding: 30px;
  border: 2px solid black;
  border-radius: 5px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

#consent-box h2,
#consent-box h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

#consent-box h2 {
  font-size: 24px;
  font-weight: bold;
}

#consent-box h3 {
  font-size: 18px;
  font-weight: bold;
}

#consent-box p {
  margin-bottom: 1em;
  line-height: 1.4;
}

#consent-box .header {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.3;
}

#consent-box a {
  color: #0066cc;
  text-decoration: underline;
}

#consent-box a:hover {
  color: #004499;
}

.consent-instruction {
  background-color: #91d1f8;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  border: 1px solid black;
}

/* survey css */
#surveyContainer {
  display: none;
  background-color: #B2BEB5;
  color: black;
  padding: 30px;
  border: 2px solid black;
  border-radius: 5px;
  max-width: 800px;
  width: 90%;
  margin: 60px auto;
  box-sizing: border-box;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

#surveyContainer h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 1rem;
}

.question {
  display: none;
  margin-top: 1rem;
}

.question.active {
  display: block;
}

.left-align {
  text-align: left;
}

.center-align {
  text-align: center;
}

button {
  margin-top: 1rem;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #91d1f8;
  color: black;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #7bc3f0;
}

button:focus,
button:active {
  outline: none;
  background-color: #5ba7d9;
  box-shadow: none;
}

label {
  display: block;
  margin: 0.5rem 0;
}

.other-input {
  margin-top: 0.5rem;
  display: none;
  width: 100%;
  padding: 5px;
  font-size: 14px;
}

.other-input:focus {
  outline: none;
  box-shadow: none;
}

input[type=number]:focus {
  outline: none;
  box-shadow: none;
}

input[type=radio] {
  accent-color: #5ba7d9;
}

/* lock css */
#lock-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #28282B;
  z-index: 100000; /* Higher than consent modal */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

#lock-box {
  background-color: #B2BEB5;
  color: black;
  padding: 40px;
  border: 2px solid black;
  border-radius: 5px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

#lock-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

#code-input {
  font-size: 24px;
  padding: 10px;
  text-align: left;
  border: 2px solid black;
  border-radius: 5px;
  margin: 20px 0;
  width: 150px;
  letter-spacing: 5px;
}

#code-input:focus {
  outline: none;
  box-shadow: none;
}

#unlock-button {
  padding: 12px 25px;
  font-size: 18px;
  cursor: pointer;
  background-color: #91d1f8;
  color: black;
  border: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: background-color 0.3s;
}

#unlock-button:hover {
  background-color: #7bc3f0;
}

.error-message {
  color: white;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  visibility: hidden;
}

/*# sourceMappingURL=experiment.css.map */