/* "global" */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1.8em;
  background: #fff
    url("https://cdn.glitch.com/759298b8-691a-46f9-88f3-0b2f625a7654%2Fwww.png?v=1577725424751")
    repeat;
}

h1 {
  font-style: italic;
}

#karaoke-content {
  background-color: white;
  margin: 2em auto;
  width: 100%;
  max-width: 800px;
  padding: 1em;
  border: 2px solid blue;
  box-shadow: 15px 15px 0 blue;
}

#splash-content img {
  max-width: 100%;
}

#splash-content {
  line-height: 1.5em;
}

#player-container {
  position: relative;
  display: inline-block;
  font-size: 0.8em;
  width: 640px;
  height: 360px;
  background: #cccccc
    url("https://cdn.glitch.com/759298b8-691a-46f9-88f3-0b2f625a7654%2Fcatputer.gif?v=1577742410895");
  background-size: cover;
  display: grid;
  grid-template-areas:
    ". . ."
    ". a ."
    "b b b";
}

#player {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#menu {
  grid-area: a;
  align-self: center;
  justify-self: center;
  width: 70%;
  z-index: 2;
}

#menu,
#ending,
#play-button {
  border: 2px solid black;
  box-shadow: 4px 4px 0 black;
  background-color: white;
  font-size: 1.2em;
  padding: 0.5em;
}

video {
  padding: 0;
  width: 100%;
}

video::cue {
  font-size: 2rem;
}

#play-button {
  font-size: 0.8em;
  border-radius: 5px;
  background-color: lightgray;
  margin: 0.5em;
}

#play-button:hover {
  box-shadow: 2px 2px 0 black;
  background-color: #cc092d;
  cursor: pointer;
}

#play-button:active {
  box-shadow: none;
  background-color: yellow;
}

#lyrics {
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  line-height: 1.2em;
  padding: 0.5em;
  margin: 0.5em;
}

#ending {
  display: none;
  grid-area: a;
  align-self: start;
  justify-self: end;
  z-index: 2;
  position: relative;
  top: -10px;
  right: -10px;
}

#ending {
  background-color: gold;
}

#lyrics-container {
  display: none;
  grid-area: b;
  align-self: end;
  justify-self: center;
  z-index: 2;
}

footer {
  line-height: 1.5em;
  font-size: 0.8em;
}
