* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html{
  background-color: beige;
}
body {
  font-family: 'Albert Sans';;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}
p{
  text-align: center;
  margin-bottom: 20px;
}
.prevent-select{
    user-select: none;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.controls button {
  font-size: 1.2rem;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
}

.controls button:disabled {
  opacity: 0.7;
  cursor: default;
}

.keyboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.stop{
  border-radius: 8px;
  padding: 5px 5px;
  height: 35px;
  text-align: center;
  background-color: rgba(20, 156, 187, 0.167);
}

.key {
  height: 100px;
  width: 50px;
  border-radius: 5px;
  margin: 0 2px;
  margin-bottom:15px;
  cursor: pointer;
}
.octave{
  margin-top: 20px;
  display:flex;
  justify-content: center;
}
.white {
  background-color: white;
  border: 1px solid black;
  text-align:center;
  padding-top: 60px;
}

.black {
  background-color: black;
  border: 1px solid black;
  position: relative;
  margin-left: -15px;
  margin-right: -15px;
  z-index: 1;
  width: 30px;
  margin-top: -10px;
  height: 45px;
  color:whitesmoke;
  text-align:center;
  padding-top: 15px;
}

.key.white.playing {
  background-color: lightcyan;
}
.key.black.playing {
  background-color: darkcyan;
}

.timeline {
  display: flex;
  justify-content: center;
}
.timeline > div {
  border-radius: 8px;
  flex-shrink: 1;
  width: 70px;
  height: 50px;
  background: #eee;
  border-style:solid;
  border-width:1px;
  border-color:black;
  margin:2px 1px 0px 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
}

.makeContext{
  display: flex;
  justify-content: center;
}
.makeContext > button{
  width:80px;
  height:30px;
}
.timeline > div.live {
  user-select: none;
  background-color: aquamarine;
}
.timeline > div.live.activeNote {
  background-color: aqua;
}
.timeline > div.live.playing {
  background-color: rgb(20, 137, 115);
}
div.trash{
  border-radius: 7px;
  padding: 20px;
  text-align: center;
  background-color: #01454f;
  color:blanchedalmond;
  width:50% ;
  min-width: 300px;
  margin: auto;
}
