body {
    font-family: sans-serif;
    display: flex;
    justify-content: center; /* Canh giữa theo chiều ngang */
    align-items: center;     /* Canh giữa theo chiều dọc */
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    margin-bottom: 20px;
	text-transform: uppercase;
    text-align: center;
}

#question {
       font-size: 1.2em;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#sentence-container {
	width: 97%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.word {
    padding: 10px 15px;
    margin: 5px;
    background-color: #4CAF50; /* Màu xanh lá cây */
    color: white;
    border-radius: 20px;
	font-size: 40px;
    cursor: move;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Thêm đổ bóng */
}

.word:hover {
    background-color: #3e8e41;
    transform: scale(1.05); /* Phóng to khi di chuột qua */
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    margin: 0 10px; 
    background-color: #008CBA; /* Màu xanh dương */
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #006ba0;
}

#result {
    margin-top: 20px;
    font-size: 1.2em;
}

#history {
    margin-top: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.history-item {
    margin-bottom: 10px;
}