html {
  overflow-y: scroll;
}

body {
  font-family: Arial, sans-serif;
  background: #f0f4f8;
  font-size: 18px;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  min-height: 600px;
}

h1 {
  text-align: center;
  color: #004085 !important;
  font-size: 1.8em;
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.logo {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.logo img {
  max-width: 80%;
  height: auto;
}

input[type="text"],
input[type="tel"],
button {
  font-size: 1.1em;
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  box-sizing: border-box;
}

.question + .question {
  border-top: 1px solid #ccc;
  padding-top: 35px;
  margin-top: 30px;
}

.question p {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 2.5rem !important;
}

.question label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
  font-weight: normal;
}

.question label:first-of-type {
  margin-top: 10px;
}

button {
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  background: #004085;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #003366;
}

#codeScreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

#codeScreen input[type="text"] {
  margin-top: 1.5rem;
}
#codeScreen label {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
#codeScreen button {
  margin-top: 0.5rem;
  padding: 10px;
  font-size: 1.1em;
}

#resultMessage {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.6;
  margin-top: 50px;
  padding: 20px;
  border-radius: 10px;
  background-color: #f0f8ff;
  border: 1px solid #ddd;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#codeScreen,
#quizForm,
#resultMessage {
  transition: opacity 0.3s ease;
}

.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1em;
  color: #333;
}

#questionsContainer .question:first-child {
  padding-top: 45px;
}
