﻿guessword-container {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*align-items: center;
    justify-content: center;*/
    background-color: #f4f4f9;
    height: 100vh;
}

h1 {
    font-size: 3em;
    margin: 20px 0;
    text-align: center;
}

.book-list {
    max-width: 400px; /* Restrict width */
    margin: 20px; /* Center horizontally */
    padding: 10px;
    list-style-type: disc; /* Numbered list */
}

.book-item {
    font-size: 1.2rem; /* Make text slightly bigger */
    padding: 10px;
    border-bottom: 1px solid #ccc; /* Subtle separator */
    cursor: pointer;
    transition: background 0.3s ease;
}

    .book-item:hover {
        background: #f0f0f0; /* Light gray on hover */
    }


.word-table {
    margin: 20px auto;
    border-collapse: collapse;
}
    .word-table td {
        width: 40px;
        height: 40px;
        text-align: center;
        font-size: 24px;
        border: none;
    }

.keyboard {
    margin-top: 20px;
}

.key-btn {
    font-size: 1.5rem; /* Increase text size */
    padding: 10px 15px; /* Make the button bigger */
    margin: 5px; /* Space between buttons */
    width: 50px; /* Set a fixed width */
    height: 50px; /* Set a fixed height */
    border-radius: 5px; /* Slightly rounded edges */
    text-align: center;
    background-color: #ff9800; /* orange color */    
    color: white; /* White text */
    border: none;
    cursor: pointer;
}

.key-btn:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

.key-btn.disabled {
    background-color: #ccc; /* Greyed out when disabled */
    cursor: not-allowed;
}

#hint {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#chances {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}
