
h1 {
  display: inline-block;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 6px;
  margin: 0;
  padding: 20px 30px;
  background: white;
}

input[type="radio"]:checked + label {
  background: white;
}

svg {
  vertical-align: middle;
}
svg.treble {
  height: 30px;
}
svg.bass {
  height: 20px;
}

.staff {
  margin-top: 50px;
  margin-bottom: 100px;
}

.staff-edge {
    border-left: 10px solid black;
    border-right: 10px solid black;
}
.note-holder {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.note-holder > img {
    width: 50px;
    position: absolute;
    left: 4px;
}
.treble > img {
    height: calc(7 * var(--note-height));
    top: calc(0px - var(--note-height));
}
.bass > img {
    height: calc(3 * var(--note-height));
    top: calc(var(--note-height) / 4);
}

.note-holder > div {
    height: var(--note-height);
    width: var(--note-height);
    left: 140px;
    border-radius: 50%;
    position: absolute;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    animation-duration: 0.5s;
    animation-name: bounce;
    animation-timing-function: ease;
    z-index: 100;
    background: black;
}
.note-holder > div.hidden {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    animation: none;
}

hr {
    margin-bottom: var(--note-height);
    height: 2px;
    background: black;
    border: none;
}
hr.dotted {
    background-image: linear-gradient(90deg, black 25%, var(--bg) 25%, var(--bg) 50%, black 50%, black 75%, var(--bg) 75%, var(--bg) 100%);
    background-size: 16.00px 16.00px;
}

.optional-br {
  display: none;
}

.answers button {
  appearance:none;
  -webkit-appearance:none;
  margin: 4px;
  font-family: inherit;
  text-transform: uppercase;
  font-size: 30px;
  background: transparent;
  border: 3px solid black;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
  text-align: center;
  color: black;
  margin-bottom: 20px;
  font-weight: 700;
}

.answers button.nope {
  border-color: red;
  color: red;
}
.answers button.yup {
  background: #FFE377;
}

/* Thank you https://css-tricks.com/making-css-animations-feel-natural */
@keyframes bounce {
0%   { transform: scale(1,1)    translateY(0); }
10%  { transform: scale(1.1,.5) translateY(0); }
30%  { transform: scale(.5,1.1) translateY(-10px); }
50%  { transform: scale(1,1)    translateY(0); }
57%  { transform: scale(1,1)    translateY(-7px); }
64%  { transform: scale(1,1)    translateY(0); }
100% { transform: scale(1,1)    translateY(0); }