body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #F0F0F0;
}

main {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

form {
    margin-top: 20px;
}

label {
    margin-right: 10px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #D0D0D0;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
}

button:enabled {
    cursor: pointer;
    background-color: #007BFF;
}

button:enabled:hover {
    background-color: #0056B3;
}

#game-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#game-elements {
    flex: 1;
    margin-right: 20px;
}

#game-section {
    margin-top: 20px;
}

#guess-input {
    margin-top: 10px;
    padding: 5px;
}

#check-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#check-button:hover {
    background-color: #0056B3;
}

#guesses-left {
    margin-top: 10px;
}

#guesses-records {
    display: none;
    flex: 0 0 200px;
    text-align: center;
}

#guesses-list {
    list-style-type: none;
    padding: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
}

#play-again-button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#play-again-button:hover {
    background-color: #0056B3;
}