@font-face {
    font-family: 'Museo Sans';
    src: url('fonts/MuseoSans_300-webfont.eot');
    src: url('fonts/MuseoSans_300-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/MuseoSans_300-webfont.woff') format('woff'),
         url('fonts/MuseoSans_300-webfont.woff2') format('woff2'),
         url('fonts/MuseoSans_300-webfont.ttf') format('truetype'),
         url('fonts/MuseoSans_300-webfont.svg#MuseoSans300') format('svg');
    font-weight: 300;
    font-style: normal;
}

body{
	margin: 0;
	font-family: 'Museo Sans', Helvetica;
}

.player{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: black;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

canvas{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/* -------------------- */

.screen{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.screen:after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url(images/icon360.svg) no-repeat center;
	background-size: 50%;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 1s ease;
	transition: opacity 1s ease;
}
.screen.in:after{
	opacity: 0.8;
}

.viewport{
	position: absolute;
	top: 0;
	height: 100%;
	overflow: hidden;
}

.viewport-left{
	left: 0;
	width: 100%;
}
.viewport-right{
	right: 0;
	width: 0;
	display: none;
}

.vr .viewport-left{
	width: 50%;
}
.vr .viewport-right{
	width: 50%;
	display: block;
}

/* -------------------- */

.toggle-vr{
	position: absolute;
	right: 20px;
	top: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: url(images/iconvr.svg) no-repeat center rgba(170,170,170,0.8);
	background-size: 50%;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	cursor: pointer;
	pointer-events: auto;
}
.toggle-vr:hover{
	opacity: 0.8;
}

/* -------------------- */

.crosshair{
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 4px;
	margin: -2px 0 0 -2px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
}

.vr .crosshair{
	display: block;
}

/* -------------------- */

.tags{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.tag .arrow{
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	will-change: transform;
}
.tag .arrow:after{
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -4px;
	margin-top: -8px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid rgba(255,255,255,0.5);
}

.tag.hidden .icon{
	display: none;
}
.tag.hidden .arrow{
	display: block;
}

.tag{
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	pointer-events: none;
	cursor: pointer;
	opacity: 0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	will-change: transform;
}

.tag.visible{
	pointer-events: auto;
	opacity: 1;
}

.tag .icon{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	background: url(images/plus.svg) no-repeat center #55aaff;
	background-size: 50% 50%;
}
.tag .icon.icon-cart{
	background: url(images/cart.svg) no-repeat center #8f075b;
}
.tag .icon.icon-plus{
	background: url(images/plus.svg) no-repeat center #990906;
}

.tag .icon.icon-none{
	background: no-repeat center transparent;
	background-size: auto;
	box-shadow: none;
}

.vr .tag .icon{
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
}

.tag:hover .icon,
.tag.active .icon{
	-webkit-animation: glow 0.25s linear infinite alternate;
	animation: glow 0.25s linear infinite alternate;
}

.vr .tag:hover .icon,
.vr .tag.active .icon{
	-webkit-animation-iteration-count: 4;
	animation-iteration-count: 4;
}

@-webkit-keyframes glow{
	from { box-shadow: 0 0 0 0 white; }
	to { box-shadow: 0 0 10px 5px white; }
}

@keyframes glow{
	from { box-shadow: 0 0 0 0 white; }
	to { box-shadow: 0 0 10px 5px white; }
}

/* -------------------- */

.popup-container{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 60px solid transparent;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	pointer-events: auto;
}

.vr .popup-container{
	border-width: 100px;
}

.popup{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	max-width: 640px;
	max-height: 360px;
	margin: auto;
	border: 2px solid white;
	background: rgba(255,255,255,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	overflow: hidden;
	-webkit-backdrop-filter: blur(10px);
}

.popup-frame{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.popup-image{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: no-repeat center;
	background-size: cover;
}

.vr .popup-image{
	background-size: cover;
}

.popup-description{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	max-height: 50%;
	border: 15px solid transparent;
	background: rgba(0,0,0,0.5);
	font-size: 16px;
	color: white;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-backdrop-filter: blur(10px);
}

.vr .popup-description{
	padding: 5px;
	font-size: 8px;
}

.popup-button{
	float: right;
	margin-left: 15px;
	padding: 10px 20px;
	background: white;
	border-radius: 5px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: black;
	cursor: pointer;
}
.popup-button:hover{
	opacity: 0.8;
}

.vr .popup-button{
	display: none;
}

/* -------------------- */

.poster{
	position: absolute;
	display: -webkit-flex;
	display: flex;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: black;
}
.poster:before{
	content: "";
	position: absolute;
	width: 100%;
	top: 40px;
	height: 40px;
	background: none;
}
.poster .button{
	margin: auto;
	padding: 20px;
	border: 1px solid white;
	text-transform: uppercase;
	text-indent: 5px;
	letter-spacing: 10px;
	color: white;
	cursor: pointer;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.poster .button:hover{
	background: white;
	color: black;
}

.poster .progress{
	margin: auto;
	width: 20%;
	min-width: 120px;
	height: 10px;
	border: 1px solid white;
	padding: 1px;
}
.poster .progress:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 50%, white 50%, white 75%, transparent 75%, transparent);
	background-size: 20px 20px;
	-webkit-animation: progress-bar-stripes 2s linear infinite;
	animation: progress-bar-stripes 2s linear infinite;
}

@-webkit-keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

@keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

.controls{
	position: absolute;
	left: 16px;
	bottom: 16px;
	pointer-events: auto;
}

.vr .controls{
	display: none;
}

.controls .button{
	display: inline-block;
	width: 40px;
    height: 40px;
    background: no-repeat center #42444a;
	border-radius: 50%;
	-moz-transition: background-color ease 0.2s;
    -webkit-transition: background-color ease 0.2s;
    transition: background-color ease 0.2s;
    cursor: pointer;
}

.controls .button:hover{
    background-color: #212225;
}

.controls .play{
	background-image: url(images/icon-play.svg);
}
.controls .play.pause{
	background-image: url(images/icon-pause.svg);
}