* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: #f0f4f1;
  color: #1a2e1f;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}

h1 {
  font-size: 3.5rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

p,
label {
  font-size: 1.75rem;
  color: #3d5a45;
}

#name-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#name-screen[hidden] {
  display: none;
}

#name-form label {
  display: block;
  margin-bottom: 1rem;
}

#welcome-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#name-input {
  width: min(100%, 20rem);
  font-size: 1.5rem;
  font-family: inherit;
  color: #1a2e1f;
  padding: 0.75rem 1rem;
  border: 2px solid #3d5a45;
  border-radius: 0.5rem;
  background: #fff;
  text-align: center;
}

#name-input:focus {
  outline: 3px solid #7a9e82;
  outline-offset: 2px;
}

button {
  font-size: 1.5rem;
  font-family: inherit;
  color: #fff;
  background: #2f5d3a;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  min-height: 3rem;
  min-width: 10rem;
  cursor: pointer;
}

button:hover,
button:focus {
  background: #254a2e;
}

button:focus {
  outline: 3px solid #7a9e82;
  outline-offset: 2px;
}

#practice-flow {
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#practice-flow[hidden] {
  display: none;
}

.flow-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1.25rem;
}

.verse-reference {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a7a62;
}

.verse-text {
  font-size: 2rem;
  line-height: 1.4;
  color: #1a2e1f;
  max-width: 28rem;
}

#verse-text[hidden] {
  display: none;
}

.peek-verse {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #2f5d3a;
  background: transparent;
  border: 2px dashed #7a9e82;
  border-radius: 0.5rem;
  padding: 1.25rem 1.75rem;
  min-height: 4rem;
  min-width: min(100%, 20rem);
  max-width: 28rem;
  cursor: pointer;
}

.peek-verse:hover,
.peek-verse:focus {
  background: #e4ece6;
  color: #254a2e;
}

.peek-verse[hidden] {
  display: none;
}

.scroll-hint {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: #7a9e82;
}

#practice-section label {
  display: block;
}

#practice-input {
  width: min(100%, 28rem);
  min-height: 10rem;
  font-size: 1.5rem;
  font-family: inherit;
  line-height: 1.4;
  color: #1a2e1f;
  padding: 1rem;
  border: 2px solid #3d5a45;
  border-radius: 0.5rem;
  background: #fff;
  resize: vertical;
}

#practice-input:focus {
  outline: 3px solid #7a9e82;
  outline-offset: 2px;
}

#encouragement {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #5a7a62;
  max-width: 28rem;
}

#encouragement[hidden] {
  display: none;
}

#congratulations {
  font-size: 2rem;
  color: #2f5d3a;
}

#congratulations[hidden] {
  display: none;
}
