* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #1C1C27;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.game-instruction {
    background-color: #28293D;
    padding: 0 61px;
    width: 708px;
    display: none;
}
.game-instruction.active {
    display: block;
}

.game-instruction .game-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto;
    margin-bottom: 15px;
    margin-top: 28px;
}
.game-instruction .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-title {
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 23px;
}

#songs {
    width: 100%;
    padding: 13px 29px;
    background-color: #484857;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    margin-bottom: 15px;
}
.play-btn {
    width: 100%;
    padding: 13px 0;
    text-align: center;
    background-color: #66CFFF;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 40px;
    font-size: 18px;
}

.instruction-wrapper {
    margin-bottom: 43px;
    color: #aaa;
    font-size: 18px;
}

.countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 72px;
    color: #fff;
    transform: translate(-50%,-50%);
    display: none;
}

.countdown.active {
    z-index: 999;
    display: block;
}

.game-screen {
    display: none;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
}

.game-screen.active { display: flex; }

#score, #timer {
    font-size: 24px;
    color: #fff;
    position: absolute;
    top: 50px;
}
#timer {
    left: 70px;
}
#score {
    right: 70px;
}

.game-end {
    width: fit-content;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 300px;
    padding: 50px;
    background-color: #66CFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(0,0,0,.2);
}

.game-end #winningStatus {
    color: red;
}

.game-end.active {
    display: flex;
}

.game-pause {
    display: none;
    padding: 70px;
    background-color: #28293D;
    box-shadow: 0 0 30px rgba(0,0,0,.2);
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-pause.active {
    display: flex;
}

.resume-btn {
    padding: 12px 32px;
    background-color: #66CFFF;
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#quitBtn {
    background-color: red;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}