* {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

body {
    font-family: arial;
    background-color: teal;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header, main, footer {
    background-color: white;
    padding: 15px;
    margin: 0 auto;
    width: 900px;
}

header {
    background-color: orange;
    border-bottom: 5px solid black;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: black;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

nav li {
    margin: 0;
    padding: 0;
}

main {
    flex-grow: 2;
}

ul {
    padding-left: 40px;
    list-style: "> " outside;
}

footer {
    border-top: 5px solid black;
}

#portrait {
    width: 400px;
}

button {
    display: block;
    margin: 10px auto 0;
}
/* From Uiverse.io by adamgiebl */
button {
  --green: #1BFD9C;
  font-size: 15px;
  padding: 0.7em 2.7em;
  letter-spacing: 0.06em;
  position: relative;
  font-family: inherit;
  border-radius: 0.6em;
  overflow: hidden;
  transition: all 0.3s;
  line-height: 1.4em;
  border: 2px solid var(--green);
  background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

button:hover {
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

button:before {
  content: "";
  position: absolute;
  left: -4em;
  width: 4em;
  height: 100%;
  top: 0;
  transition: transform .4s ease-in-out;
  background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

button:hover:before {
  transform: translateX(15em);
}

#chameleon {
    margin: 30px auto;
    background-color: grey;
    width: 300px;
    height: 300px;
    border-radius: 10px;
}

#colorChangeSection {
    margin: 50px auto;
    padding: 30px;
    width: 400px;
    border: 3px solid black;
    background-color: black;
    border-radius: 10px;
}

#notenspiel {
    position: relative;
    height: 88px;
    background: repeating-linear-gradient(
        white,
        white 14px,
        black 14.9px,
        black 15px
    );
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 65px;
}

.note {
    display: inline-block;
    height: 15px;
    width: 20px;
    margin: 0 15px;
    background-color: black;
    border-radius: 15px;
    position: relative;
}

.ledger_line_above:before {
    position: relative;
    top: -15px;
    left: -5px;
    display: inline-block;
    width: 150%;
    height: 1px;
    content: "";
    background-color: inherit;
}

.ledger_line_center:before {
    position: relative;
    top: -7.5px;
    left: -5px;
    display: inline-block;
    width: 150%;
    height: 1px;
    content: "";
    background-color: inherit;
}

.ledger_line_below:after {
    position: relative;
    left: -5px;
    display: inline-block;
    width: 150%;
    height: 1px;
    content: "";
    background-color: inherit;
}

.correct {
    background-color: green;
}

.incorrect {
    background-color: red;
}

#timer {
    font-size: 43px;
    justify-self: center;
}

#violin_clef {
    position: absolute;
    left: 0;
    top: -6px;
    height: 105px;
}

#bass_clef {
    position: absolute;
    left: 5px;
    top: 15px;
    height: 45px;
}
