body {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #000;
    opacity: 1;
    font-family: Arial, sans-serif;
}

canvas {
    border: 10px solid #00A0F0;
    background-color: white;
    margin-bottom: 20px;
    z-index:99;
}

.backgrounddiv{
    position: absolute;
    top:0px;
    left:0px;
    bottom:0px;
    right:0px;
    background-color: #000000;
    background-image: url('images/background2.jpeg');
    background-repeat: no-repeat;
    background-size:cover;
    opacity: 0.5;
    z-index:1;
}

#musicCanvas{
    width:90%;
    max-width: 600px;
    height: 178px;
}
#starbarCanvas{
    position: absolute;
    background-color: transparent;
    border:none;
    top: 0;
    left: 0;
    width:150px;
    pointer-events: none;
    z-index:109; 
}

#fireworksCanvas {
    position: absolute;
    background-color: transparent;
    border:none;
    top: 0;
    left: 0;
    bottom:0;
    right:0;
    pointer-events: none;
    z-index:110;
}

#choices {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 20px;
    z-index:100;
}

#redalert{
    position:absolute;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    background-color:#FF0000;
    opacity:80%;
    display:none;
    z-index:200;
}

.choice-button {
    padding: 0.8rem 1.2rem;
    font-size: 2rem;
    cursor: pointer;
    background-color: #FFFFFF;
}

#score {
    display:block;
    font-size: 3rem;
    font-weight: bold;
    color: #FFFFFF;
    margin:3rem;
    z-index:98;
}

#rocketholder{
    position:relative;
    width:100%;
    height:100%;
}

#rocket{
    position:absolute;
    bottom:0px;
    right:1rem;
    height:20%;
    content:url('images/rocket.png');
    transition: bottom 0.5s ease;
}

.progressanimator{
    position:absolute;
    right:0px;
    bottom:0px;
    top:0.5rem;
    width:30%;
    z-index:99;
}

#settingsdiv{
    position:absolute;
    padding:5px;
    right:0px;
    top:0px;
    z-index:100;
    color:#FFFFFF;
}

.gearicon{
    cursor: pointer;
}

a, a:link, a:visited, a:hover {
    text-decoration: none;
    color:inherit;
}

.keyboard {
    display: flex;
    position: relative;
    width: 420px;
    height: 200px;
}

.white-key {
    width: 60px;
    height: 200px;
    background: white;
    border: 1px solid black;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    user-select: none;
    cursor: pointer;
}

.black-key {
    width: 40px;
    height: 120px;
    background: black;
    border: 1px solid black;
    position: absolute;
    z-index: 2;
    margin-left: -20px;
    user-select: none;
    cursor: pointer;
}

.black-key[data-note="C#4"] {
    left: 50px;
}

.black-key[data-note="D#4"] {
    left: 105px;
}

.black-key[data-note="F#4"] {
    left: 210px;
}

.black-key[data-note="G#4"] {
    left: 262px;
}

.black-key[data-note="A#4"] {
    left: 315px;
}

.d-none{
    display: none!important;
}


