/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-family: sans-serif;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  color: #eee;
  background-color: #222;
}

#error-body {
  text-align: center;
  width: 980px;
  max-width: 98%;
  margin: 0 auto;
}

#error-body pre {
  text-align: left;
}

#error-body img {
  max-width: 100%;
}

#vid-container {
  position: relative;
  z-index: -100;
  transition: 1s opacity;
  opacity: .25;
}

#vid-container #bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  height: auto;
  min-height: 100%;
  transform: translateX(-50%) translateY(-50%);
  box-shadow: 0 0 130px #000;
}

#vid-container #bg-video.unzoom {
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
}

#container {
  position: fixed;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-width: 320px;
  max-width: 100%;
  height: 100vh;
}

#lazy-center {
    font-size: 40px;
    text-align: center;
    vertical-align: middle;
    width: 600px;
    /* height: 600px; */
    max-height: 100%;
    margin: 0 auto;
    color: #fff;
    /* background: url(./images/overwatch_logo_04_flat.svg) no-repeat 50% 50%; */
    /* text-shadow: 0 0 6px white; */
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 20px 10px;
    background: #000a;
    color: aqua;
    box-shadow: 0 0 60px 20px #222;
}

#lazy-center img {
  max-height: 100%;
}

#lazy-center .header {
    font-size: 40px;
    line-height: 1em;
    text-transform: uppercase;
    margin: 11px 0;
    transform: skew(-0.25rad);
    text-shadow: 0px 0px 10px #00a5e2;
}

#lazy-center .message {
  max-width: 95%;
  margin: 0 auto;
}

#lazy-center .select p {
  font-size: 40px;
  line-height: 80px;
  text-align: center;
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 0 13px;
  cursor: pointer;
  transition: .25s linear all;
  transform: skew(-0.25rad);
  border: 3px solid #00a5e2;
  border-radius: 10px;
  background-color: #263149;
  box-shadow: 0 0 8px #222;
}

#lazy-center .select p:hover {
  background-color: #f7931e !important;
  box-shadow: 0 0 10px #00a5e2;
}

#lazy-center .select p span {
  display: block;
  transform: skew(0.25rad);
}

.message {
  /*display: none;*/
  font-size: 20px;
  line-height: 2.5rem;
}

.message a {
  color: #fff;
  box-shadow: 0;
}

.message .go {
  font-size: 14px;
  cursor: pointer;
}

@keyframes pulse {
  50% {
    border-color: #fff;
  }
}

#video-controls {
  font-size: .8rem;
  line-height: 30px;
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  display: flex;
  height: 30px;
  color: #eee;
  background-color: rgba(0, 0, 0, 0.5);
}

#video-controls p {
  margin: 0;
}

#video-controls > div {
  white-space: nowrap;
  height: 100%;
  padding: 0 3%;
  cursor: pointer;
}

#video-controls > div:hover {
  color: #00a5e2;
  background-color: #444;
  fill: #00a5e2;
}

#video-controls #video-random {
  text-align: center;
  letter-spacing: -4px;
}

#video-controls #video-random:hover {
  color: #00a5e2;
}

#video-controls #video-random.disabled {
  color: #222;
}

#video-controls #video-pause,
#video-controls #video-play {
  text-align: center;
  display: none;
}

#video-controls #video-channel {
  width: auto;
  padding: 0 1em;
  cursor: default;
}

#video-controls #video-channel:hover {
  color: inherit;
  background-color: transparent;
}

#video-controls #video-channel a {
  text-decoration: none;
  color: inherit;
}

#video-controls #video-channel a:hover {
  text-decoration: underline;
}

#video-controls #video-channel span {
  font-style: italic;
  display: inline-block;
  padding: 0 1em;
}

#video-controls #video-aspect svg {
  margin-top: 3px;
  cursor: pointer;
  fill: #eee;
}

#video-controls #video-aspect svg:hover {
  fill: #00a5e2;
}

#video-controls #video-gameSelector {
  font-size: 24px;
}

#playlists {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  bottom: 4vw;
  left: 1vw;
  display: none;
  max-height: 100%;
}

#playlists #video-playlist {
  pointer-events: auto;
  font-size: .8rem;
  line-height: 30px;
  margin-right: 1vw;
  color: #eee;
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px #000;
  flex: 0 0 auto;
}

#playlists #video-playlist p.header {
  padding: 20px 20px 0 20px;
}

#playlists #video-playlist ul {
  padding: 20px 0;
}

#playlists #video-playlist ul li {
  padding: 0 20px;
  cursor: pointer;
}

#playlists #video-playlist ul li:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

#playlists #video-playlist ul li.on {
  font-weight: bold;
  color: #00a5e2;
  text-shadow: 0 0 2px #00a5e2;
}

#playlists #video-playlist ul li span {
  font-size: .7rem;
  float: right;
  padding-left: 30px;
  color: #888;
  text-shadow: none;
}

#playlists #image-playlist {
  display: none;
  pointer-events: auto;
  font-size: .8rem;
  max-height: 100%;
  margin-right: 1vw;
  color: #eee;
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px #000;
  align-self: flex-end;
}

#playlists #image-playlist p.header {
  padding: 20px 20px 0 20px;
}

#playlists #image-playlist ul {
  display: flex;
  flex-wrap: wrap;
  max-height: 92vh;
  padding: 20px;
}

#playlists #image-playlist ul li {
  text-align: center;
  overflow: hidden;
  width: 69px;
  height: 39px;
  margin: 1px;
  cursor: pointer;
}

#playlists #image-playlist ul li.on {
  outline: 1px solid #00a5e2;
}

#playlists #image-playlist ul li:hover {
  transition: .15s ease-out all;
  transform: scale(2.5);
  outline: 1px solid #00a5e2;
  box-shadow: 2px 2px 15px 1px #000;
}

#playlists #image-playlist ul li img {
  max-width: 100%;
}

#confetti {
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
}

@media (min-width: 480px) {
  #main-content {
    display: block;
  }
}

@media (min-width: 768px) {
  #main-content {
    display: block;
  }
}

@media (min-width: 1024px) {
  #main-content {
    display: block;
  }
}

