body {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    background-color: red;
}

#scoreA {
    position: absolute;
    right: 0px;
    width: fit-content;
    text-align: center;
    font-size: 45px;
}

#display {
    width: 100%;
    height: 100vh;
    font-size: 8vh;
    color: white;
}

#question {
    height: 20%;
}

#word {
    font-size: 8vh;
    font-family: 'Microsoft YaHei', sans-serif;
    color: black;
}

#pronunc {
    font-size: 4vh;
    color: gold;
}

#BGMButton {
    font-family: 'Microsoft YaHei', sans-serif;
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    padding: 5px;
    text-align: center;
    border-radius: 2rem;
    border: 3px solid gold;
    background-color: red;
    color: gold;
    font-size: 4vh;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

#BGMButton:hover{
    opacity: 0.6;
}

#ans_0 {
    width: 50%;
    height: 40%;
    color: black;
    background-color: red;
    border: 5px solid gold;
}

#ans_0:hover {
    opacity: 0.6;
    cursor: pointer;
}

#ans_1 {
    width: 50%;
    color: black;
    background-color: red;
    border: 5px solid gold;
}

#ans_1:hover {
    opacity: 0.6;
    cursor: pointer;
}

#ans_2 {
    height: 40%;
    color: black;
    background-color: red;
    border: 5px solid gold;
}

#ans_2:hover {
    opacity: 0.6;
    cursor: pointer;
}

#ans_3 {
    color: black;
    background-color: red;
    border: 5px solid gold;
}

#ans_3:hover {
    opacity: 0.6;
    cursor: pointer;
}

#result {
    width: fit-content;
    font-family: 'Microsoft YaHei', sans-serif;
    min-width: 26vw;
    padding: 0.5em 1em;
    margin: 0 auto;
    text-align: left;
    border: 5px solid gold;
    background-color: red;
    color:black;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
}

#scoreB {
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid black;
    text-align: center;
    font-size: 25px;
}

#perfect {
    display: block;
    width: 100%;
    text-align: "center";
    font-size: 14vw;
    background-color: black;
    color: white;
}

#replay,
.playAnother {
    position: relative;
    display: block;
    width: 24vw;
    padding: auto;
    margin: 10px auto;
    border-radius: 1rem;
    background-color: gold;
    color: red !important;
    font-size: 4vw;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

#replay:hover,
.playAnother:hover {
    background-color: orange;
}

footer {
    font-size: 4vh;
    float: right;
}

a {
    color: blue;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@keyframes gaming {
    0% {
        background-color: magenta;
    }

    33% {
        background-color: yellow;
    }

    66% {
        background-color: Cyan;
    }

    100% {
        background-color: magenta;
    }
}