:root {
    --wrong-chord: #f64157;
    --right-chord: #2eb737;
    --drop-color: #6d81d8;
    --contrast-grey: #2a2019;
    --hover-color: #71d2e9;
    --selected-color: #6d81d8;
}

html {
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
}

h1 {
  font-size: 50px;
  text-align: center;
  margin: 0;
  padding: 20px 0 0 0;
}


p {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 1px;
}

button {
    margin: 0 auto;
    display: inline-block;
    background-color: var(--contrast-grey);
    color: #eeeeff;
    text-align: center;
    font-size: 20px;
    padding: 5px;
    width: 120px;
    border-radius: 12px;
    cursor: pointer;

}

#page {
    display: flex;
    flex-flow: column;
    height: 100vh;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

#titlediv {
}

.melodypanel {
    margin-bottom: 1em;
}

#mainsheet {
    padding: 10px 0;
    width: 100%;
}

#mainsheet div {
    margin: 0;
    padding: 0;
}

#droparea {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    background-color: var(--contrast-grey);
    border-radius: 8px;
    padding: 8px 0 8px 110px;
    box-sizing: border-box;
    width: 100%;
}

#droparea_container {
    padding: 0 15px 0 18px;
    box-sizing: border-box;
    width: 100%;
}

.chorddrop {
    height: 50px;
    display: inline-block;
    margin: 0 10px 0 0;
    border-radius: 8px;
}

.chorddrop:not(.deaddrop) {
    background-color: var(--drop-color);
    cursor: pointer;
}

.chorddrop p {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
}

.chorddrop:hover:not(.deaddrop){
    background-color: var(--hover-color);
}

.deaddrop {
    background-color: var(--contrast-grey);
}

.wrongChord:not(.deaddrop) {
    background-color: var(--wrong-chord);
}

.rightChord:not(.deaddrop) {
    background-color: var(--right-chord);
}

#tools {
    flex-grow: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}


#draggarea {
    flex-grow: 0;
    flex-shrink: 0;
}

#svgarea {
}

#overlaykeys {
    position: relative;
}

.keydisplay .vf-stavenote path {
    fill: transparent;
}

.svgarc {
    fill: white;
    stroke: black;
    stroke-width: 2;
}

.dragarc {
    cursor: pointer;
}

.dragarc text {
    font-size: 45px;
    fill: black;
}

.dragarc:hover {
    fill: var(--hover-color);
}

.currentChord:not(.hover){
    fill: var(--selected-color);
}


.leftpanel {
    flex-grow: 0;
    flex-shrink: 2;
    margin-left: 1.5em;
}

#melodycount {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 2em;
}

.buttonpanel {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: 50% 50%;
}

.centerbtn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttonpanel button {
    margin: 0;
}

#inst {
    text-align: justify;
}

