:root {
    --main-color: #2196f3;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: monospace;
}
.game {
    background-color: #eee;
    min-height: 100vh;
}
.container {
    margin: auto;
    max-width: 900px;
}
.name {
    background-color: var(--main-color);
    color: white;
    padding: 20px;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}
.message {
    background-color: white;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}
.message span {
    font-weight: bold;
    color: #009688;
}
.message span::after {
    content: '}';
}
.message span::before {
    content: '{';
}
.btn-option {
    display: flex;
    margin: 15px auto;
    align-items: center;
    justify-content: space-evenly;
}
.btn-option .option {
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
    background-color: white;
    border: 1px solid;
    cursor: pointer;
}
.btn-option button:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.clicked {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid;
    cursor: pointer;
    background-color: var(--main-color);
    color: white;
}
form {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    margin: 15px auto;
}
form div label {
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
}
.start {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #009688;
    color: white;
    padding: 20px;
    cursor: pointer;
    width: 100%;
    border: none;
}
.the-word {
    text-align: center;
    font-weight: bold;
    font-size: 60px;
    color: var(--main-color);
    user-select: none;
}
.input {
    margin: 15px auto;
    width: 100%;
    display: block;
    padding: 15px;
    border: 1px solid var(--main-color);
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
    caret-color: var(--main-color);
}
input:focus {
    outline: none;
}
.upcoming-words {
    background-color: white;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.upcoming-words div {
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    margin: 4px;
    padding: 10px;
    border-radius: 4px;
}
.control {
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 15px;
}
.control span {
    font-weight: bold;
    color: #009688;
}
.finish {
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    padding: 15px;
}
.finish .win {
    color: var(--main-color);
}
.finish .lose {
    color: red;
}
.play-again-con {
    display: none;
    text-align: center;
}
.play-again {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid;
    cursor: pointer;
    background-color: var(--main-color);
    color: white;
}