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

main {
    padding: 0em;
}

#cover {
  position: fixed;
  width: 100%;
  height: calc(100vh - var(--header-height) - 3.2em);
  z-index: 99999;
  background: var(--lclo-black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - 3.2em);
}

#poems {
  padding: 1em;
  flex: 1 1 auto;
  min-height: 0;
  text-wrap: wrap;
  overflow: none;
  color: black;
  font-family: Courier New;
}

#piano {
  background: var(--lclo-black);
  flex: 0 0 210px;
  height: 210px;
  position: relative;
  overflow-y: hidden;
  border-top: .75px solid #000000;
  z-index: 9999;
}

#keys {
  position: relative;
  width: 1261px;
  height: 210px;
  margin: 0 auto;
}

#piano span {
  cursor: pointer;
  display: inline-block;
}

.key-span-white {
  background-color: #eeeeee;
	border-left: .75px solid #707070;
	border-right: .75px solid #707070;
	border-radius: 2px 2px;
}

.key-span-white.played {
  background-color: #cccccc;
}


.key-span-white:hover {
  background-color: #cccccc;
}

.key-span-black {
  background-color: #222222;
  width: 20px !important;
  margin-left: 0.5% !important;
}

.key-span-black.played {
  background-color: #000000;
}

.key-span-black:hover {
  background-color: #000000;
}


.key-span-white label {
  color: black;
  position: absolute;
  top: 70%;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.key-span-black label {
  color: white;
  position: absolute;
  top: 30%;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.poem-window {
  font-family: Courier New;
  position: relative;
  border: .75px solid #ffffff95;
  color: #ffffff90;
  background-color: rgba(32,32,32);
  width: 200px;
  height: 150px;
  display: flex;
  flex-direction: column;
}

.flashing {
  animation: border-flash 0.75s;
}

.poem-window-header {
  border-bottom: .75px solid #ffffff95;
  pointer-events: none;
  user-select: none;
}

@keyframes border-flash { 
  from { border-color: var(--lclo-gold); }
  to { border-color: #ffffff95; }
}


.poem-window-body {
  text-wrap: wrap;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  flex-grow: 1;
  padding: 2px;
}
