@import url("http://fonts.googleapis.com/css?family=Nixie+One");
@import url("http://fonts.googleapis.com/css?family=League+Script");

@-webkit-keyframes wiggle {
    0% { -webkit-transform: skewX(24deg); } 
    10% { -webkit-transform: skewX(-8deg); }
    20% { -webkit-transform: skewX(55deg); }
    30% { -webkit-transform: skewX(-90deg); }
    40% { -webkit-transform: skewX(29deg); }
    50% { -webkit-transform: skewX(-90deg); }
    60% { -webkit-transform: skewX(3deg); }
    70% { -webkit-transform: skewX(-2deg); }
    80% { -webkit-transform: skewX(1deg); }
    90% { -webkit-transform: skewX(10deg); }
    100% { -webkit-transform: skewX(0deg); }
}

html{
	height:100%;
}
body{
	padding: 10px;
	background: url("/static/background.png");
	font-family: 'Lato';
	color: #dedede;
}

#logo{
	display:block;
	float:left;
	display:flex;
	padding-left: 2.5%;
	padding-bottom: 5px;	
}

#logo:hover {
  -webkit-animation: wiggle 0.4s;
}

#main_container{
    position: relative;
    padding-bottom: 40%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
    width: 95%;
	margin-left: auto;
	margin-right: auto;
      z-index: 1000;
}

#main_container iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 72%;
    height: 100%;
}

#chat{
	display: inline-block;
	float:right;
	width: 39%;
	margin-right: -11%;
	padding-bottom: 42%;
	position: relative;
      z-index: 1000;

}

#stream{
	display:inline-block;
	position: relative;
	vertical-align: top;
	border:none;
      z-index: 1000;
}

#info{
	text-align:center;
	padding-top:15px;
	padding-left: 2.5%;
	padding-right: 2.5%;
	clear:both;
}
#streams{
	padding-top:1px;
	clear:both;
	text-align:center;
}

#streamlink{
	width: 45px;
	height: 45px;
	border-radius: 5px;
	box-shadow: 0px 0px 3px 3px #5EEC4C;
}

#snowflakeContainer {
    position: absolute;
    left: 0px;
    top: 0px;
}
.snowflake {
    padding-left: 15px;
    font-family: Cambria, Georgia, serif;
    font-size: 14px;
    line-height: 24px;
    position: fixed;
    color: #FFFFFF;
    user-select: none;
    z-index: 500;
}
.snowflake:hover {
    cursor: default;
}

form {
  background: none;
  margin: 0px auto 0;
  width: 280px;
}

input {
  display: block;
  font-size: 14px;
  width:240px;
  margin: 5px auto;
  padding: 10px 8px 10px 8px;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0,0,0, .55), 0px 1px 1px rgba(255,255,255,.5);
  border: 1px solid #666;
}

input {
  opacity: 0.7;
}

input:hover,
input:focus {
  opacity: .8;
  color:#08c;
  border: 1px solid #08c;
   box-shadow: 0px 1px 0px rgba(255,255,255,.25),inset 0px 3px 6px rgba(0,0,0,.25);
}

input[type="text"]:focus,
input[type="password"]:focus {
  box-shadow: inset 0 1px 2px rgba(255,255,255, .35), 0px 1px 15px rgba(0,246,255,.5);
  border: 1px solid #08c;
  outline: none;
}

input[type="button"],
input[type="submit"] {
  appearance: none;
  opacity: .99;
  width:120px;
  background: #08c;
  box-shadow: inset 0 1px 2px rgba(255,255,255, .35), 0px 1px 6px rgba(0,246,255,.5);
  border: 1px solid #0a5378;
  border-radius: 4px;
  color: #eee;
  cursor: pointer;
  text-shadow:0px -1px 0px rgba(0,0,0,.5);
}

input[type="button"]:hover,
input[type="submit"]:hover {
  background: #08c;
  width:120px;
  border: 1px solid #0a5378;
  border-radius: 3px;
  box-shadow: inset 0px 3px 16px rgba(0,0,0,.25),0px 1px 10px rgba(255,255,255,.5),inset 0px -1px 2px rgba(255,255,255,.35);
  text-shadow:0px 1px 1px rgba(0,0,0,.65);
  -webkit-transition: all 0.40s ease-out;
  transition: all 0.40s ease-out;
}

#time{
	padding: 10px;
	border:none;
	display:inline-block;
}

#footer1{
	padding-top: 2em;
	padding-left: 2.5%;
	padding-right: 2.5%;
	text-align:left;
	float:left;
	display:block;
}

#footer2{
	padding-top: 2em;
	padding-left: 2.5%;
	padding-right: 2.5%;
	text-align:right;
	float:right;
	display:block;
}

.skel {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -50%;
  top: -2000px;
  z-index: 9999;
}

.container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-align-content: center;
      -ms-flex-line-pack: center;
          align-content: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  width: 230px;
  /*width: 230px;*/
  margin: 0 auto;
  padding-right: 2.5%;
}

.button {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin: 10px;
  padding: 32px;
  border: 2px solid #f7f7f7;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  -webkit-transition: .3s;
          transition: .3s;
}
.button:after {
  position: absolute;
  -webkit-transition: .3s;
          transition: .3s;
  content: '';
  width: 0;
  left: 50%;
  bottom: 0;
  height: 3px;
  background: #f7f7f7;
}
.button:nth-of-type(2):after {
  height: 120%;
  left: -10%;
  -webkit-transform: skewX(15deg);
      -ms-transform: skewX(15deg);
          transform: skewX(15deg);
  z-index: -1;
}
.button:hover {
  cursor: pointer;
}
.button:hover:after {
  width: 100%;
  left: 0;
}
.button:hover:nth-of-type(2) {
  color: #5bcaff;
}
.button:hover:nth-of-type(2):after {
  left: -10%;
  width: 120%;
}
/*Buttons by James Power http://codepen.io/thejamespower/pen/OVNYLL*/

#glitch {
  position:relative;
  font-family:'Lato';
  font-weight:normal;
  font-size:8em;
  text-align:center;
  cursor:pointer;
  color:rgba(255,255,255,0.95);
}

#glitch:hover {
  -webkit-animation: wiggle 0.2s 2;
  /*transition:all ease-out 0.1s;*/
  text-shadow:30px 13px rgba(246, 0, 153,0.8),
             -38px -4px rgba(15, 210, 255,0.8),
             -2px -4px rgba(255, 210, 0, 1);
}

#glitch:hover:after {
  content:'ayy';
  z-index:100;
  position:absolute;
  top:-0.2em;
  left:2.5em;
  transform:rotate(20deg);
}
/*Glitch effect by Alex Baldwin http://codepen.io/goosey/pen/pveWVV*/

.signcontainer {
    font-family: 'Nixie One', Helvetica, Arial, sans-serif;
    font-size: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.sign {
  -ms-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

#title {
  font-size: 110px;
}
#trav {
  -webkit-animation: blink 0.01s infinite alternate;
  -moz-animation: blink 0.01s infinite alternate;
  -o-animation: blink 0.01s infinite alternate;
  animation: blink 0.01s infinite alternate;
}
#fade {
  opacity: 0.8;
  color: #ebffff;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.3), 0 0px 15px #fff, 0 0 10px #38eeff, 0 0 50px #38eeff;
  -webkit-animation: fade 3s infinite alternate;
  -moz-animation: fade 3s infinite alternate;
  -o-animation: fade 3s infinite alternate;
  animation: fade 3s infinite alternate;
}
.neon-blue {
  margin: 0 auto;
  text-align: center;
  color: #ebffff;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.3), 0 0px 15px #fff, 0 0 10px #38eeff, 0 0 50px #38eeff;
}
.neon-purple {
  font-family: 'League Script', Helvetica, Arial, sans-serif;
  font-size: 100px;
  margin: 0 auto;
  text-align: center;
  color: #ccf;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.5), 0 0 20px #fff, 0 0 10px #7d26cd, 0 0 50px #7d26cd;
}
@-moz-keyframes blink {
  70% {
    opacity: 0.7;
  }
}
@-webkit-keyframes blink {
  45% {
    opacity: 0.5;
  }
}
@-o-keyframes blink {
  70% {
    opacity: 0.7;
  }
}
@keyframes blink {
  70% {
    opacity: 0.7;
  }
}
@-moz-keyframes fade {
  40% {
    opacity: 0.8;
  }
  42% {
    opacity: 0.1;
  }
  43% {
    opacity: 0.8;
  }
  45% {
    opacity: 0.1;
  }
  46% {
    opacity: 0.8;
  }
}
@-webkit-keyframes fade {
  40% {
    opacity: 0.8;
  }
  42% {
    opacity: 0.1;
  }
  43% {
    opacity: 0.8;
  }
  45% {
    opacity: 0.1;
  }
  46% {
    opacity: 0.8;
  }
}
@-o-keyframes fade {
  40% {
    opacity: 0.8;
  }
  42% {
    opacity: 0.1;
  }
  43% {
    opacity: 0.8;
  }
  45% {
    opacity: 0.1;
  }
  46% {
    opacity: 0.8;
  }
}
@keyframes fade {
  40% {
    opacity: 0.8;
  }
  42% {
    opacity: 0.1;
  }
  43% {
    opacity: 0.8;
  }
  45% {
    opacity: 0.1;
  }
  46% {
    opacity: 0.8;
  }
}
/*Neon Sign by Levi Robertson http://codepen.io/lvrbrtsn/pen/QbrozK*/

ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top:15px;
  text-align: center;
}

ul.img-list li {
  position: relative; 
  top: 0px;
  display: inline-block;
  margin: 0 1.2em 0 0;
  height: 45px;
  position: relative;
  width: 45px;
      -webkit-transition: .1s;
            transition: .1s;
}

ul.img-list li:hover {
  position: relative;
  border-radius: 10px;
  box-shadow: 0px 0px 6px 6px #5EEC4C;
	top: -2px;
      -webkit-transition: .1s;
            transition: .1s;

}

span.text-content {
  color: white;
  cursor: pointer;
  display: table;
  height: 45px;
  left: 0;
  position: absolute;
  top: 0;
  width: 45px;
}

span.text-content span {
  display: table-cell;
  text-align: center;
  padding-top: 52px;
}

span.text-content {
  color: white;
  cursor: pointer;
  display: table;
  height: 45px;
  left: 0;
  position: absolute;
  top: 0;
  width: 45px;
  opacity: 0;
}

ul.img-list li:hover span.text-content {
  opacity: 1;
}

span.text-content {
  color: white;
  cursor: pointer;
  display: table;
  height: 45px;
  left: -5px;
  position: absolute;
  top: 0;
  width: 45px;
  opacity: 0;
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  -o-transition: opacity 300ms;
  transition: opacity 300ms;
}


input[type="checkbox"] { 
  position: absolute;
  opacity: 0;
}

/* Normal Track */
input[type="checkbox"].ios-switch + div {
  vertical-align: middle;
  width: 40px;  height: 20px;
  border: 1px solid rgba(0,0,0,.4);
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-transition-duration: .4s;
  -webkit-transition-property: background-color, box-shadow;
  box-shadow: inset 0 0 0 0px rgba(0,0,0,0.4);
  margin: 60px 1.2em 15px 1em;
}


/* Big Track */
input[type="checkbox"].bigswitch.ios-switch + div {
  width: 50px;  height: 25px;
}

/* Green Track */
input[type="checkbox"].green.ios-switch:checked + div {
  background-color: #00e359;
  border: 1px solid rgba(0, 162, 63,1);
  box-shadow: inset 0 0 0 10px rgba(0,227,89,1);
}

/* Normal Knob */
input[type="checkbox"].ios-switch + div > div {
  float: left;
  width: 18px; height: 18px;
  border-radius: inherit;
  background: #ffffff;
  -webkit-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
  -webkit-transition-duration: 0.4s;
  -webkit-transition-property: transform, background-color, box-shadow;
  -moz-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
  -moz-transition-duration: 0.4s;
  -moz-transition-property: transform, background-color;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  margin-top: 1px;
  margin-left: 1px;
}


/* Big Knob */
input[type="checkbox"].bigswitch.ios-switch + div > div {
  width: 23px; height: 23px;
  margin-top: 1px;
}

/* Checked Big Knob (Blue Style) */
input[type="checkbox"].bigswitch.ios-switch:checked + div > div {
  -webkit-transform: translate3d(25px, 0, 0);
  -moz-transform: translate3d(16px, 0, 0);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
}

/* Green Knob */
input[type="checkbox"].green.ios-switch:checked + div > div {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 162, 63,1);
}