body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}

h1 {
    font-size: 2em;
}

form {
    margin-top: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#quiz-container, #results {
    margin-top: 20px;
}

#lt-word {
    font-size: 1.5em;
    color: #333;
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

ul {
    list-style-type: none;
    padding: 0;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 10px;
}

input[type="number"] {
    padding: 10px;
    font-size: 1em;
    margin: 10px 0;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    margin: 10px 5px;
    cursor: pointer;
}

.spinner-overlay {
    position: fixed;  /* Position it fixed on screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none;  /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* Make sure it's on top of other elements */
    backdrop-filter: blur(5px); /* Apply a blur effect to the background */
}

.spinner-container {
    text-align: center;
    color: white;
    font-size: 20px;
}



/* The spinner animation */
.spinner {
    border: 5px solid #f3f3f3; /* Light background */
    border-top: 5px solid #3498db; /* Blue color for spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Spin animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optional text styling */
.spinner-container p {
    margin-top: 15px;
    font-size: 18px;
}

.t_content {
    width: 95%; /* Make them take up the full width of their container */
    height: 150px;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

button#submit-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
}
.star {
    font-size: 2rem;
    margin-left: 1rem;
    color: #f39c12;
}

.login-button {
     text-decoration: none;
     color: #fff;
     background-color: #007bff;
     padding: 5px 10px;
     border-radius: 4px;
     transition: background-color 0.3s;
 }

 .login-button:hover {
     background-color: #0056b3;
 }

button#restart-btn, button#close-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
}

#feedback.correct {
    color: green;
}

#feedback.incorrect {
    color: red;
}

#error-list li {
    color: red;
}

#error-list .correct-answer {
    color: green;
}

