@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Paytone+One&display=swap');

@font-face 
{
	font-family: Venera;
	src: url(videoplayer/venera-900.otf);
}
html,body
{
	background: #000;
	width: 100%;
	height: 100%;
	overflow: hidden;
	padding:0;
	margin:0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

div#gameContainer
{
	background: transparent!important;
	position: relative;
}

div#gameContainer canvas
{
	position: absolute;
	image-rendering: optimizeSpeed;
	image-rendering: -webkit-crisp-edges;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	image-rendering: pixelated;
	-ms-interpolation-mode: nearest-neighbor;
}
div#gameContainer .progress 
{
	position: absolute;
	left: calc(50% - 150px);
	bottom: 12%;
	height: 18px;
	width: 250px;
}
div#gameContainer .progress .empty
{
	background: url('progressEmpty.Dark.png') no-repeat right / cover;
	float: right;
	width: 100%;
	height: 100%;
	display: inline-block;
}
div#gameContainer .progress .full 
{
	background: url('progressFull.Dark.png') no-repeat left / cover;
	float: left;
	width: 0%;
	height: 100%;
	display: inline-block;
}

/*MOBILE SECTION*/
img#popupBackground 
{	
	background: url('mobile-bg.jpg');
	margin : auto;
	position: fixed;
	height: 100%;
	width: 100%;
	background-size: cover;
    background-position-x: center;
	bottom: 0;
}
#mobilePopUp
{	
	position: fixed;
	height: 100%;
	width: 100%;
}
#mobilePopUp img
{	
	display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}
#mobilePopUp .eduplaytionLogo
{	
	position: absolute;
    width: 100%;
    margin-bottom: 5%;
    bottom: 0;
}
#mobilePopUp .numetryLogo
{	
	position: relative;
    width: 100%;
	margin-top: 5%;
}
#mobilePopUp h3
{	
	text-align: center;
    color: white;
    font-family: Paytone One;
	font-weight: 500;
    font-size: 4.3vw;
	margin-left: 10%;
    margin-right: 10%;
}
#mobilePopUp mark
{	
	background-color:inherit;
	color:#7df9ff;
}
#mobilePopUp p
{	
	color: white;
    text-align: center;
    font-family: Ubuntu;
    font-size: 3.4vw;
	margin-left: 10%;
    margin-right: 10%;
	line-height: 1.4;
}
#mobilePopUp button
{	
	display: block;
    margin-left: auto;
    margin-right: auto;
	width: 60%;
    height: 20vw;
	background-size: contain;
	background-color: inherit;
	background-position: center;
	background-repeat: no-repeat;
	border-width: 0px;
}
#mobilePopUp button a
{	
	font-family: Paytone One;
    font-size: 3.4vw;
	color: white;
	text-decoration: inherit;
	text-shadow: 2px 2px #3c3838;
}
#mobilePopUp .firstButton button
{	
	background-image: url('BtnGreen.png');
}
#mobilePopUp .secondButton button
{	
	background-image: url('BtnPurple.png');
	
}

@media (min-width: 481px) {
	/* ##Device = Tablets, Ipads (portrait) */
	#mobilePopUp button
	{	
		height:10vw;
	}
	#mobilePopUp button a
	{	
		font-size: 2.8vw;
	}
	#mobilePopUp h3
	{	
		font-size: 3.4vw;
	}
	#mobilePopUp p
	{	
		font-size: 2.7vw;
	}
  
}

@media (min-width: 481px) and (max-width: 719px) and (orientation:landscape)
{
	/* ##Device = Low Resolution Tablets, Mobiles (Landscape)*/
	#mobilePopUp
	{	
		overflow: scroll; 
	}
	#mobilePopUp img
	{	
		width: 15%;
	}
	#mobilePopUp .eduplaytionLogo
	{	
		position:relative;
		margin-bottom: 2%;
		bottom: 0;
		margin-top: 7vh;
	}
	#mobilePopUp .numetryLogo
	{	
		margin-top: 2%;
		margin-bottom: 5px;
	}
	#mobilePopUp h3
	{	
		font-size: 2vw;
		margin-top: 3px;
		margin-bottom: 3px;
	}
	#mobilePopUp p
	{	
		font-size: 1.5vw;
		margin-left: 15%;
		margin-right: 15%;
	}
	#mobilePopUp button a 
	{
		font-size: 1.5vw;
	}
	#mobilePopUp button 
	{
		height: 5vw;
	}
	#mobilePopUp .firstButton
	{	
		margin-bottom: 15px; 
	}
}

@media (min-width: 720px) and (max-width: 823px) and (orientation: landscape) 
{
  /* ##Device = Tablets, Ipads (landscape)*/
  #mobilePopUp img
	{	
		width: 13%;
	}
	#mobilePopUp .eduplaytionLogo
	{	
		margin-bottom: 2%;
		bottom: 0;
	}
	#mobilePopUp .numetryLogo
	{	
		margin-top: 2%;
		margin-bottom: 5px;
	}
	#mobilePopUp h3
	{	
		font-size: 1.8vw;
		margin-bottom: 2px;
		margin-top: 2px;
	}
	#mobilePopUp p
	{	
		font-size: 1.4vw;
		margin-left: 15%;
		margin-right: 15%;
		margin-bottom: 6px;
		margin-top: 6px;
	}
	#mobilePopUp button a 
	{
		font-size: 1.4vw;
	}
	#mobilePopUp button 
	{
		height: 4.5vw;
		margin-top: 2vh;
	}
	#mobilePopUp .firstButton
	{	
		margin-bottom: 6vh;
	}
  
}

@media (min-width: 824px) and (orientation: landscape) 
{
  /* ##Device = Tablets, Ipads (landscape)*/
  #mobilePopUp img
	{	
		width: 28vh;
	}
	#mobilePopUp .eduplaytionLogo
	{	
		margin-bottom: 2%;
		bottom: 0;
	}
	#mobilePopUp .numetryLogo
	{	
		margin-top: 2%;
		margin-bottom: 5px;
	}
	#mobilePopUp h3
	{	
		font-size: 3vh;
	}
	#mobilePopUp p
	{	
		font-size: 2.3vh;
		margin-left: 15%;
		margin-right: 15%;
	}
	#mobilePopUp button a 
	{
		font-size: 2.3vh;
	}
	#mobilePopUp button 
	{
		height: 7.5vh;
	}
	#mobilePopUp .firstButton
	{	
		margin-bottom: 15px; 
	}
}

/*WEBGL VIDEO PLAYER */

#videoContainer 
{
	border: none;
	position: relative;
	top: 0; 
	height: 100%; 
	width: 100%;
	transition: opacity 0.3s ease-in-out, height 3s ease-in-out;
	opacity: 1;
}
#externalVPlayer 
{
	opacity: 0;
	transition: opacity 1s ease-in-out, height 3s ease-in-out;
}

#playerControls 
{	
	position: absolute;
	width: 100%;
	height: 100%;
}
#playerControls img
{
	position: relative;
	float: right;
	z-index: 2;
	cursor: pointer;
}

#playerControls img:hover 
{
	filter: brightness(1.4);
}

#playerControls img:active 
{
	filter: brightness(0.5);
}

#subsBtn 
{	
	position: absolute!important;
	bottom: 3%;
	right: 3%;
	width: 3%;
}
#pauseBtn 
{
	width: 3%;
	top: 3%;
}

#skipBtn 
{	
	position: relative;
	width: 5.141%;
	height: fit-content;
	float: right;
	margin-right: 3%;
	margin-left: 1.2%;
	top: 3%;
	cursor: pointer;
}

#skipImg 
{
	width: 100%;
	height: 100%;
}

#skipTxt 
{	
	position: absolute;
	width: 100%;
	height: 100%;
	padding-top: 1.3%;
	font-family: venera;
	font-size: 1.5vmin;
	color: #0efefe;
	z-index: 3;
	align-items: center;
	display: flex;
	justify-content: center; 
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	pointer-events: none;
}

.skipXL
{	
	width: 8%!important;
}

.skipXL div
{	
	font-size: 1.3vmin!important;
}

@media (max-width: 900px)
{	
	#skipTxt
	{	
		font-size: 1.1vmin;
	}
}

@media (min-width: 850px) and (max-width: 1000px)
{	
	.skipXL div
	{	
		font-size: 1vmin!important;
	}
}

@media (max-width: 800px)
{	
	.skipXL div
	{	
		font-size: .85vmin!important;
	}
}

video 
{
	pointer-events: none;
}
video::-webkit-media-controls 
{
	display:none !important;
}
video::cue 
{
	background: none;
	text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
			1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}