* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Chiron Hei HK", sans-serif;
    font-optical-sizing: auto;
}

html {
    background-color: white;
}

.game {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.syllable {
    width: 50px;
    height: 50px;
    background-color: rgb(214, 214, 214);
    outline: 1px solid black;
    text-align: center;
    font-size: 22px;
    align-content: center;
    font-weight: 800;
}

#main-container {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.container-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
}

input, button {
    width: 120px;
}

#end-info {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background-color: #00000050;
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}


#word-info {
    background-color: #ffffffbb;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 10px;
    position: relative;
}

#word-info #close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: none;
    background-color: #000000;
    opacity: 0.8;
    color: white;
}

#word-info #close-btn:hover {
    cursor: pointer;
    opacity: 1;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1, h2 {
    font-weight: 300;
}

header h2 {
    font-style: italic;
}

audio {
    border-radius: 8px;
}