body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #808080;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#wordContainer {
    text-align: center;
    margin: 20px;
}

.word-display {
    margin-bottom: 20px;
    font-size: 2em;
    color: white;
    margin: 10px 0;
    font-size: 24px;
    text-align: center;
}

button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}

#remainingWords {
    text-align: center;
    font-size: 16px;
}

#englishWord a {
    color: inherit; /* Make the link color the same as the text color */
    text-decoration: none; /* Remove underline from links */
}

#englishWord a:hover, #englishWord a:focus {
    text-decoration: underline; /* Optional: add underline on hover/focus for clarity */
}

/* Container for the entire page to prevent interaction while login is shown */
#pageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Styles for the login dialog */
#loginDialog {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Styles for form elements */
#loginForm {
    display: flex;
    flex-direction: column;
}

#loginForm label {
    margin-bottom: 5px;
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
    margin-bottom: 10px; /* Space between the input fields */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#loginForm button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

#loginForm button:hover {
    background-color: #0056b3;
}
