body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  user-select: none;
}

.input::placeholder {
  opacity: 0.5; 
}

.container {
  max-width: 800px;
  min-height: 350px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  margin-bottom: 25px;
}

#api-key {
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: top;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(255, 255, 255, 0.9);
}

#api-key .container {
  min-height: 150px !important;
  height: 0;
}

#api-text {
  font-size: 24px;
  color: #6d4aad;
}

#loading-screen {
  color: #6d4aad;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: top;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
}

#loading-text {
  font-size: 32px;
  font-weight: bold;
  color: #6d4aad;
  margin-top: 200px;
}

#missed-words {
  min-height: 0 !important;
  display: flex;
  padding: 20px;
}

.missed-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 20px;
  margin-bottom: 10px;
  margin-right: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap; /* Prevent text from wrapping */
  width: auto;
}

.minor {
  background-color: lightgreen;
}

.medium {
  background-color: lightgoldenrodyellow;
}

.major {
  background-color: lightcoral;
  color: white;
}

header {
  background-color: #6d4aad;
  color: #fff;
  padding: 20px;
  border-radius: 8px 8px 0 0;
}

header h1 {
  margin: 0;
  font-size: 32px;
}

main {
  padding: 20px;
}

.button {
  display: inline-block;
  background-color: #6d4aad;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px 5px;
}

.button:hover {
  background-color: #5a3a8c;
}

.input {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 24px;
  outline: none;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.input-correct {
  background-color: #8dc22d; 
  border-color: #8dc22d;
  color: white;
}

.input-incorrect {
  background-color: #e53434; 
  border-color: #e53434; 
  color: white;
}

.feedback {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
}

.word-container {
  font-size: 65px;
  margin: 20px 0;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
}

.meaning {
  font-size: 22px;
  margin-top: 20px;
  font-weight: bold;
}

.example-sentence {
  font-size: 40px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.example-text {
  font-size: 25px;
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

.example-sentences h3 {
  margin-top: 20px;
  font-size: 20px;
}

.example-sentences div {
  margin-top: 5px;
}

#next-word {
  display: block;
  margin: 20px auto;
  font-size: 20px;
}

.play-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
}

.play-icon {
  width: 60px;
  height: 60px;
}

.material-symbols-outlined {
  cursor: pointer;
  color: #8C1AF6;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

.font-large {
  font-size: 80px !important;
}

.font-medium {
  font-size: 45px !important;
}

#progress {
  height: 40px;
  font-size: 20px;
  text-align: center;
  margin-top: 0px;
  opacity: 0.5;
}
