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

#input-filter {
  /* width: calc(100% - 20px); */
  width: 250px;
  padding: 5px;
  /* width: 100%; /* Input field takes up full width of the wrapper */ */
  box-sizing: border-box; /* Ensures padding doesn’t affect total width */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  outline: 1px solid rgba(0,0,0,0.1);
  margin-top: 5px;
  text-align: center;
  border-radius: 8px;
  position: absolute;
  left: 10px;
  top: 5px;
}

input::placeholder {
  opacity: 0.5; 
}

select {
    margin-top: 10px;
}

.container {
    max-width: 800px;
    min-height: 300px;
    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; */
}

#loading-screen {
    color: rgba(64, 64, 255, 1.0);
    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: rgba(64, 64, 255, 1.0);
    margin-top: 200px;
}

#numFiltered {
    color: rgba(64, 64, 64, 1.0);
    position: relative;
    right: -150px;
    top: 8px;
    display: inline;
}

#start-button {
    margin: 150px auto;
    font-size: 32px;
    padding: 20px;
    height: 40px;
}

#answer-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 0;
    padding: 10px;
    margin-top: 20px;
    background-color: #f5f5f5;
}

.answer {
    font-size: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.answer.shown {
    background-color: #f5f5f5 !important;
    color: black !important;
}

.answer.correct {
    background-color: green;
    color: white;
}

.answer.incorrect {
    background-color: red;
    color: white;
}

.answer.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    interactivity: none;
}

.answer.shown:hover {
    background-color: #6d4aad !important;
    color: white !important;
}

header {
    background-color: rgba(64, 64, 255, 1.0);
    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: rgba(64, 64, 255, 1.0);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 5px;
}

.button:hover {
    background-color: rgba(64, 64, 255, 1.0);
}

.button:disabled {
    background-color: rgba(64, 64, 64, 0.1);
}

.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: 32px;
    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: 10px auto;
    font-size: 20px;
}

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

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

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

.material-symbols-outlined {
    cursor: pointer;
    color: rgba(64, 64, 255, 1.0);
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}

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

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

.font-small {
    font-size: 30px !important;
}

#play-audio.disabled {
    cursor: not-allowed;
    opacity: 0.25;
    color: #333;
}

#attribution {
    /* margin-top: -20px; */
    text-align: center;
    width: 100%;
}

#attribution-link {
    color: rgba(64, 64, 255, 1.0);
}

#answers {
    font-size: 24px;
    padding: 20px;
}

#blinder {
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    /* backdrop-filter: blur(8px); */
    background-color: rgba(244, 244, 244, 0.5);
    cursor: pointer;
    z-index: 1000;
}

.highlight {
    color: rgba(64, 64, 255, 1.0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.error {
    font-size: 32px;
    font-weight: bold;
    color: rgba(64, 64, 255, 1.0);
    margin-top: 50px;
}

#clear-filter {
    position: absolute;
    left: 240px; 
    top: 10px;
    /* top: calc(50% - 8px); */
    /* transform: translateY(-50%);  */
}

#clear-filter.disabled {
    color: rgba(64,64,64,0.25);
    cursor: default;
}

#filter {
    position: relative;
    width: 100%;
}

#question-container {
    margin-top: 30px;
}

#settings {
    height: 50px;
    margin: -20px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 8px;
}

#source {
    font-size: 20px;
    display: inline;
    position: relative;
    top: 8px;
    left: 100px;
}

#level {
    font-size: 20px;
    display: inline;
    position: relative;
    top: 8px;
    left: 115px;
}

