/* Page Layout, Style, and Heading */

html{
    background-color: black;
    color: gold;
    font-family: sans-serif;
}

body{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

h1{
    font-style: italic;
    margin-bottom: 0.5vh;
}

/* Instrument Selector */

#instrumentSelector{
    font-size: 1.1rem;
    text-align: center;
    width: 6vw;
    background-color: rgb(14, 14, 141);
    border: white solid 1.5px;
    border-radius: 0.6vw;
    color: white;
}

#instrumentSelector:hover {
    background-color: darkred;
}

/* Canvas  */

#canvasDiv{
    width: 100%;
    height: 85%;
    overflow: scroll hidden;
}

#pageCanvas{
    position: relative; top: 0%; bottom: 0%; left: 0%; right: 0%;
    z-index: 0;
    background-color: white;
    border: 3px ridge gold;
}

/* Spans/"Keys" */

#spanDiv{
    padding-left: 3px;
    height: 1vmax;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
}

span{
    display: inline-block;
    position: relative; top: 0%; bottom: 0%; left: 0%; right: 0%;
    z-index: 1;
}

.hoveredKey{
    background-color: rgba(135, 125, 115, 0.12);
}

.normalKey{
    background-color: transparent;
}

.pressedKey{
    background-color: rgba(148, 148, 148, 0.24);
    box-shadow: 0px 0px 1px 1px black;
}

/* NumKeys Text & Buttons */

#numKeysVisible{
    margin-top: 10px;
}

#numKeysVisible p{
    display: inline;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: bolder;
}

button{
    width: 5vw;
    font-size: 1rem;
    background-color: rgb(14, 14, 141);
    border: white solid 1.5px;
    border-radius: 0.6vw;
    color: white;
}

button:hover{
    text-decoration: underline;
    background-color: darkred;
}

button:active{
    background-color: rgb(255, 0, 0);
}