@font-face {
  font-family: 'Snowy';
  src: url("/templates/shaper_helixultimate/fonts/snowy.otf"),
  url("/templates/shaper_helixultimate/fonts/snowy.otf") format('truetype');
}
.xmas-game {
	width: 100vw;
	height: 100vh;
	background: #55020b;
	overflow: hidden;
	font-size: 18px;
}
.xmas-game.contest {
	overflow: auto;
}
.xmas-game h1 {
	font-family: 'Snowy';
	font-size: 50px;
	letter-spacing: 0.05em;
}
.xmas-game #sp-header, .xmas-game #sp-footer {
	background: #000;
	display: none;
}
.xmas-game #sp-footer .container-inner {
	padding: 10px 0px;	
	border-top: none;
}
.xmas-game .play-game {
	background-color: red;
	color: #fff;
	padding: 0px 20px;
	font-family: 'Snowy';
	font-size: 40px;
	letter-spacing: 0.05em;
	display: inline-block;
	cursor: pointer;
	margin: 0 auto;
	border-radius: 20px;
	pointer-events: auto;
}
.xmas-game .play-refresh {
	background-color: #666;
	color: #fff;
	padding: 0px 20px;
	font-family: 'Snowy';
	font-size: 40px;
	letter-spacing: 0.05em;
	display: inline-block;
	cursor: pointer;
	margin: 0 auto;
	border-radius: 20px;
	pointer-events: auto;
}
#snow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
}
#snow canvas {
	z-index: 999;
	position: relative;
}
.game-wrapper {
	position: absolute;
	width: calc(95vh * 1920/1080);
	height: 95vh;
	margin-top: 2vh !important;
	margin: 0;
	  position: absolute;
	  top: 0px;
	  left: 50%;
	  transform: translate(-50%, 0);
  
}
.game-layer {
	width: 100%;
	z-index: 1;
}
.game-layer img {
	width: 100%;
}
.game-instruction {
	background-color: rgba(0,0,0,0.9);
	border-top: 4px solid red;
	border-bottom: 4px solid red;
	border-left: 4px solid red;
	border-right: 4px solid red;	
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2;
	color: #fff;
	text-align: center;
	padding: 40px;
}
.game-instruction.countdown {
	font-size: 300px;
	font-family: 'Snowy';
}
.game-instruction.inactive {
	opacity: 0;
}
.game-timer {
	/* background-color: #000; */
	color: #000;
	display: none;
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 5px 20px;
	font-size: 120px;
	line-height: 120px;
	font-family: 'Snowy';
}
.game-contest {
	background-color: rgba(0,0,0,0.9);
	border-top: 4px solid red;
	border-bottom: 4px solid red;
	border-left: 4px solid red;
	border-right: 4px solid red;	
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2;
	color: #fff;
	text-align: center;
	padding: 40px;
	display: none;	
}
.xmas-block {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translate(-50%,0);
	min-width: 500px;
	color: #fff;
	pointer-events: auto;
}
	
.xmas-block .info {
	font-family: 'Snowy';
	font-size: 45px;
	line-height: 30px;
}
.xmas-block input[type="text"]:not(.form-control) {
	width: 400px !important;
}
.xmas-block .formResponsive button[type="submit"] {
	background-color: red !important;
	background-image: none !important;
	color: #fff !important;
	padding: 20px 20px !important;
	font-family: 'Snowy';
	font-size: 40px;
	letter-spacing: 0.05em;
	display: inline-block;
	cursor: pointer;
	margin: 0 auto;
	border-radius: 20px;
	pointer-events: auto;
}
.xmas-block .formResponsive .formError {
	color: red !important;
}
.distractor-1 {
	position: fixed;
	bottom: -100px;
	left: 20vw;
	z-index: 3;
	max-width: 200px;
	margin: 0px;
}
.distractor-2 {
	position: fixed;
	left: -100px;
	top: 20vh;
	z-index: 3;
	max-width: 200px;
	transform: rotate(40deg);
	margin: 0px;
}
.distractor-3 {
	position: fixed;
	right: -100px;
	top: 40vh;
	z-index: 3;
	max-width: 200px;
	transform: rotate(-50deg);
	margin: 0px;
}
.distractor-4 {
	position: fixed;
	top: -100px;
	left: 50vw;
	z-index: 3;
	max-width: 200px;
	transform: rotate(180deg);
	margin: 0px;
}
.distractor-5 {
	position: fixed;
	bottom: -100px;
	right: 20vw;
	z-index: 3;
	max-width: 200px;
	transform: rotate(-50deg);
	margin: 0px;
}
.game-warning {
	display: none;
	position: absolute;
	width: 100vw;
	height: 100vh;
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: #000;
}
.game-warning .warn-msg {
	color: #fff;
	margin-top: 100px;
	text-align: center;
	width: 100%;
}
.game-warning .warn-msg a {
	color: #fff !important;
}

@media only screen and (max-width: 500px) {
	.game-wrapper {
		width: 100vw;
		height: 100vh;
		margin-top: 0px !important;
	}
	.xmas-block {
		position: absolute;
		top: 0px;
		left: 0px;
		transform: unset;
		min-width: unset;
		padding: 20px;
		width: 100%;
	}
	
	.xmas-block input[type="text"]:not(.form-control) {
		width: 90% !important;
	}
}