@charset "utf-8";

* {
  box-sizing: border-box;
  outline-color: #9b59b6;
}
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background: #000;
  color: #ecf0f1;
  text-align: center;
  flex-direction: column;
  font-family: 'Roboto Condensed', sans-serif;
}

body > section {
  flex-grow: 1;
}

header,
footer {
  flex-shrink: 0;
  background: #222;
  padding: 1em;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 1.5em rgba(0, 0, 0, 0.7);
}

footer {
  display: none;
}

body > video {
  display: none;
  height: 10em;
  flex-grow: 1;
  flex-shrink: 1;
}

a {
  color: #9b59b6;
}
a:hover {
  color: #fff;
}
a:active {
  color: #aaa;
}

kbd {
  border: 0.1em solid;
  border-radius: 0.3em;
  padding: 0.4em;
  background: #444;
}

button {
  background: #444;
  color: #ecf0f1;
  font-size: 1.2em;
  padding: 1.2rem;
  border: none;
  cursor: pointer;
}

button.cue {
  background-size: cover;
  background-position: 50% 50%;
  width: 4em;
  height: 3em;
  text-shadow: 0.1em 0.1em #000;
}

button.cue:hover {
  border-bottom: 0.2em solid #9b59b6;
}

button.cue:active {
  border-bottom: 0.2em solid #fff;
}

h1 {
  font-size: 5em;
  margin: 0.5em 0;
}

img.logo {
  height: 1em;
  padding-right: 1.2rem;
}

footer .logo {
  font-size: 2.5em;
}

.legal {
  position: absolute;
  bottom: 0;
  font-size: 0.8em;
  width: 100%;
}

footer input[name="currentTime"] {
  position: absolute;
  top: -0.5em;
  left: 0;
  height: 1em;
  width: 100%;
  padding: 0;
  margin: 0;
}

ul.keyboardShortcuts {
  list-style-type: none;
  padding: 0;
}

ul.keyboardShortcuts li {
  margin: 1em 0;
}

button[data-action="loadVideo"] {
  font-size: 1.5em;
  margin: 1.667em auto;
  display: block;
  box-shadow: 0 0 8em rgba(255, 255, 255, 0.5);
  border-bottom: 0.2em solid #9b59b6;
}

button[data-action="loadVideo"]:hover {
  background: #9b59b6;
}

button[data-action="loadVideo"]:active {
  background: #ecf0f1;
  color: #222;
}

.cueButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-grow: 1;
}

.cueButtons button {
  display: block;
}

.controls {
  flex-shrink: 0;
  flex-grow: 0;
}

.controls button {
  background: none;
}

.controls button img {
  height: 1em;
}

.controls > *:last-of-type {
  padding-right: 0;
}