/* 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;
}

body {
	background-color: #000;
}

.main-wrapper {
  transform: translateZ(0);
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: all 1s cubic-bezier(0, 0, 0.25, 1) 0s;
  transition-property: height,opacity,-webkit-transform;
 }

.main-wrapper {
  height: 100vh; }

.player-wrapper {
  background: #000000;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -99; 
  -ms-transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    }

#player,
.player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  transition: all 1s cubic-bezier(0, 0, 0.25, 1) 0s;
  width: 100%;
  transition-property: height,opacity,-webkit-transform;
  transition-property: height,transform,opacity;
  transition-property: height,transform,opacity,-webkit-transform; }

.videoloaded #player,
.videoloaded .player-wrapper iframe {
  height: 100%;
  opacity: 1; }

.video-wrapper {
  background: #000000;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  z-index: 99; }

#player-mobile,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all 1s cubic-bezier(0, 0, 0.25, 1) 0s;
  width: 100%;
  transition-property: height,opacity,-webkit-transform;
  transition-property: height,transform,opacity;
  transition-property: height,transform,opacity,-webkit-transform; }

.videoloaded #player-mobile,
.videoloaded .video-wrapper iframe {
  height: 100%;
  opacity: 1; }

.controls-video {
  position: absolute;
  bottom: 20px;
  left: 20px;
  height: 27px;
  width: 65px;
  cursor: pointer;
  z-index: 100;
  background-color: transparent;
  transition: all 1s cubic-bezier(0, 0, 0.25, 1) 0s;
  transition-property: opacity;
  opacity: 0; }

.videoloaded .controls-video {
  opacity: 1; }

#mute-toggle {
  display: block;
  float: left;
  background-image: url(../img/unmute.png);
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -9999px;
  background-size: 24px 22px;
  width: 24px;
  height: 22px;
  margin-top: -1px; }
  #mute-toggle.unmuted {
    background-image: url(../img/mute.png); }

#restart {
  display: block;
  float: left;
  background-image: url(../img/replay.png);
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -9999px;
  background-size: 22px 20px;
  width: 22px;
  height: 20px;
  margin-left: 14px; }
  
.overlay-video {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,1);
	width: 100%;
	height: 100%;
	transition: all 1s cubic-bezier(0, 0, 0.25, 1) 0s;
    transition-property: opacity;
    background-image: url(../img/Zapatilla_Logo_Glitchsmall.gif);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.overlay-video.visible {
	opacity: 1;
	z-index: 200;
}

.overlay-video.visible h1,
.overlay-video h1 {
	display: none;
}

.main-wrapper-mobile h1 a {
	display: block;
	width: 300px;
	height: 123px;
	background-image: url(../img/logo-zapa.png);
	  background-position: center center;
	  background-repeat: no-repeat;
	  text-indent: -9999px;
	  margin: 0px auto;
	  background-size: contain;
}

.safari #player, .safari .player-wrapper iframe {
	height: 100%;
}

#safari-play {
	display: none;
}

.safari #safari-play {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(../img/safari-play.png);
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -9999px;
    background-size: 80px 80px;
    width: 80px;
    height: 80px;
    opacity: 1;
    z-index: 100;
    background-color: rgba(0,0,0,0.8);
    padding: 5px;
    border-radius: 50%;
    -webkit-transform: translateX(-50%) translatey(-50%);
    -moz-transform: translateX(-50%) translatey(-50%);
    transform: translateX(-50%) translatey(-50%);
}

.safari #safari-play:hover {
	cursor: pointer;
}