body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column; /* Bố trí các phần tử con theo chiều dọc */
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    padding: 20px; 
}

#gameSection, #statsSection, #historySection {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    width: 90%; /* Điều chỉnh độ rộng theo ý muốn */
   
    margin-bottom: 20px; /* Thêm margin dưới mỗi phần */
}

/* ... (Các phần còn lại của CSS giữ nguyên) ... */
h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    text-align: center
}

#wordContainer {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center; /* Căn giữa các chữ cái */
}

.letter {
    border: 2px solid #ccc;
    padding: 15px 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 0.3s;
}

.letter:hover {
    background-color: #e0e0e0;
}

button {
    padding: 10px 20px; /* Giữ nguyên padding hoặc điều chỉnh nếu cần */
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;

    /* Thêm các thuộc tính sau để căn giữa và phóng to nút */
    width: 300px; /* Điều chỉnh độ rộng theo ý muốn, đây là ví dụ gấp 3 lần */
    margin: 0 auto; /* Căn giữa nút theo chiều ngang */
    display: block; /* Đảm bảo nút chiếm toàn bộ chiều rộng của vùng chứa */
}

button:hover {
    background-color: #3e8e41;
}

#result {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}

#stats, #history {
    margin-top: 30px;
    text-align: left;
}

#history li {
    margin-bottom: 5px;
}