@charset "utf-8";

body {
	min-width:320px;
}

strong {
    font-weight: 600;
}

a {
  color: #ffc262;
  font-weight: 700;
  text-shadow: 0px 2px 4px rgb(3, 6, 15);
}

.gameplay .startscreen {
	display: none;
}

.border {
    display: block;
    position: relative;
    width: 100%;
    height: 5px;
    border-bottom: 1px solid #214e71;
    margin-bottom: 15px;
}

.header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	display: block;
	text-align: center;
	/*overflow-x: hidden;*/
	background: linear-gradient(0deg, rgba(5,24,83,0) 0%, rgb(5, 24, 83) 100%);
}

.header-logoline {
    display: block;
    position: relative;
    width: 100%;
}

.header-logo {
    position: relative;
    display: block;
    width: 200px;
    max-width: 48%;
    padding: 20px;
	transition: all 200ms;
}

.header-logo img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.header-logo {
  float: left;
  width: 150px;
  padding-right: 100px;
}

.logo-volley {
  float: right;
  background: linear-gradient(90deg, rgba(5,24,83,0) 0%, rgb(5, 24, 83) 50%);
  padding-left: 100px;
  padding-right: 20px;
}

.logo-volley:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, rgba(30, 82, 221, 0) 0, rgb(3, 207, 253) 100%);
  right: 0;
}

.header a:hover {
	transform: scale(1.05);
}

.event-header {
    position: absolute;
    top: -8px;
    left: 50%;
    max-width: 360px;
    width: 98%;
    display: block;
    text-align: center;
    background-image: url("../img/plane-color.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom center;
    transform: translate(-50%, 0) rotate(1deg);
}

.event-header h1 {
    font-family: Electric;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    padding: 20px 10px 10px 22px;
    background-image: url("../img/plane-black.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 88% auto;
}

.event-header h2 {
    line-height: 1;
    font-size: 15px;
    padding: 6px 5px 8px;
    text-transform: uppercase;
}

.background {
    background: url("../img/plane2.jpg") no-repeat center center;
    background-size: cover;
	transition: all 200ms;
	transition-timing-function: ease;
	overflow: hidden;
}

/*.overlay .background {left:-100%;transition: all 1000ms;}

.overlaywush .background {left:auto;}*/

.foreground {
    background: url("../img/plane1.png") no-repeat center center;
	background-size: cover;
}

.actor {
  position: absolute;
  right: 50%;
}

.actor1 {  
  	transform: translate(40%, 9%);
	bottom: 5%;
	max-height: 78%;
}

.actor2 {
  	transform: translate(70%, 3%);
	bottom: 4%;
	max-height: 77%;
}

.stone1 {
  	transform: translate(-150%, 16%) scale(0.9);
  	bottom: 0%;
  	max-height: 15%;
}

.stone2 {
  	transform: translate(60%, 20%) scale(0.8);
	bottom: 2%;
	max-height: 15%;
}

.foreground1 {
  background: url("../img/plane2.png") no-repeat center center;
  background-size: cover;
  opacity: 0.8;
  height: 140%;
}

.foreground2 {
  background: url("../img/plane2.png") no-repeat center center;
  background-size: cover;
  opacity: 0.9;
  height: 115%;
}

.foreground3 {
  background: url("../img/plane1.png") no-repeat center center;
  background-size: cover;
  opacity: 0.9;
  height: 120%;
}

.playscreen .foreground1 {
	animation: wave 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.playscreen .foreground2 {
  	transform: scaleX(-1) translate(28%, -30%);
	animation: wave 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.playscreen .foreground3 {
	animation: phase 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.multi-logo {
  max-width: 90%;
  margin: 10px auto 20px;
  width: 360px;
}

.multi-logo img {
  max-width: 100%;
  width: 100%;
  display: block;
  position: relative;
}

.gameplay .multi-logo {display: none;}

.plane {
	width: 110%;
	height: 110%;
	left: -5%;
	bottom: -5%;
    background-size: auto;
  	/*background-size: 100% auto;*/	
	position: absolute;
}

.fog {
    position: absolute;
    bottom: -5%;
    width: 120%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
    animation: phase 10s 5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.light {
    /*background: url("../img/restroom-light.svg") no-repeat top center;*/
	background: none;
	background-size: cover;
/*	-webkit-animation: blink 30s linear 3s infinite;
	-moz-animation: blink 30s linear 3s infinite;
	-o-animation: blink 30s linear 3s infinite;
	animation: blink 30s linear 3s infinite;*/
}

.spark {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
	opacity: 0.5;
}

/*.spark:before, .spark:after {*/
.spark:before {
  content: "";
  background-image: url("../img/spark.png");
  background-position-x: 50%;
  background-repeat: repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  opacity: 0;

  will-change: transform;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.spark:before {
  -webkit-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  -moz-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  -o-animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
  animation: spark 1800s linear infinite, shake 26s linear 13s infinite;
}

.spark:after {
  -webkit-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  -moz-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  -o-animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
  animation: spark 3600s linear infinite, shake-revert 26s linear infinite;
}

canvas {
  width: 100%;
  object-fit: contain;
  max-width: 230px;
  margin: 100px auto 0;
  display: block;
	
	/*transform: scaleX(1.1) scaleY(1.1) scaleZ(1.1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-15%) translateZ(0px) skewX(0deg) skewY(0deg);*/
	transform: scaleX(1.1) scaleY(1.1) scaleZ(1.1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-18%) translateZ(0px) skewX(0deg) skewY(0deg);
	transition: all 500ms;
}

.zooming canvas {
	transform: scaleX(1.9) scaleY(1.9) scaleZ(1.9) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(12%) translateZ(0px) skewX(0deg) skewY(0deg);
}

.midzooming canvas {
  transform: scaleX(1.5) scaleY(1.5) scaleZ(1.5) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0%) translateZ(0px) skewX(0deg) skewY(0deg);
}

.zooming #speedbox, .midzooming #speedbox {
		opacity: 0;
}

/*main {
  max-width: 100%;
  margin: 0 auto;
  max-height: 100%;
  display: block;
  height: 100%;
  position: relative;
	
	perspective: 300px;
}*/

main {
  max-width: 1200px;
  margin: 0 auto;
  max-height: 100%;
  display: block;
  height: 100%;
  position: relative;
  perspective: 300px;
  width: 100%;
}

.playscreen {
	max-width: 100%;
	margin: 0 auto;
	position: relative;
}

.icebox {
  position: absolute;
  width: 200%;
  height: 200%;
  left: -50%;
  top: -50%;
  perspective: 400px;
}

.ice {
  	background-image: url("../img/ice3.png"), url("../img/ice3.png");
	background-repeat: no-repeat;
	position: relative;
	width: 100%;
	height: 100%;
	transform: scaleX(1.1) scaleY(1.1) scaleZ(1.1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-15%) translateZ(-100px) skewX(0deg) skewY(0deg);
	transition: all 500ms;
	background-position: center center, bottom center;
	background-size: 50% auto, 50% auto;
	opacity: 1;
}

.zooming .ice {
	transform: scaleX(1.9) scaleY(1.9) scaleZ(1.9) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(12%) translateZ(-100px) skewX(0deg) skewY(0deg);
}

.midzooming .ice {
    transform: scaleX(1.5) scaleY(1.5) scaleZ(1.5) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0%) translateZ(-100px) skewX(0deg) skewY(0deg);
}

/*.see {
  opacity: 0.7;
}*/

.stone {
  display: block;
  border-radius: 50%;  
  background-repeat: no-repeat;
  background-position: center center;
}

.greet span.stone {
 	display: inline-block;
  	position: relative;
  	width: 20px;
  	height: 20px;
  	line-height: 24px;
  	vertical-align: middle;
	top: inherit;
	left: inherit;
	transform: none;
}

.button-subscribe {
    background: linear-gradient(to bottom,#ff0a08,#d60200);
    color: #fff !important;
    text-transform: uppercase;
    width: auto;
    padding: 10px 15px 9px;
    border-radius: 8px;
    margin: 10px auto 20px;
    z-index: 100;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: Geometria;
    font-size: 24px;
    font-weight: 800;
	letter-spacing: -1px;
    line-height: 36px;
    display: block;
    max-width: 240px;
	/*border:2px solid #fff;*/
	transition: all 200ms;
	text-decoration: none;
}

#repeat {
  background: linear-gradient(to bottom,#1b08ff,#2500d6);
}

.button-subscribe span {
	position: relative;
	display: inline-block;
	width: 100%;
	font-weight: 800;
	text-shadow: 0px 0px 10px rgb(255, 255, 255);
	line-height: 1;
	font-family: Styrene;
}

.gameplay .footer .button-subscribe span {
  line-height: 28px;
}

#overlayresult .button-subscribe span {
  line-height: 30px;
}

.button-subscribe:hover{
    box-shadow: 1px 1px 25px 10px rgba(30, 82, 221,0.5);
	transform: scale(1.05);
	text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
}

    .button-subscribe:before {
          content: "";
          position: absolute;
          top: 0;
          left: -100% !important;
          width: 100%;
          height: 100%;
          background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 1), transparent) !important;
          transition: all 200ms !important;
      }

      .button-subscribe:hover:before {
           left: 100% !important;
       }

.greet .button-subscribe {
    margin: 20px 0 0;
    display: inline-block;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
	   
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
	
	text-align: center;
	display: block;
}

.footer .button-subscribe {
  display: inline-block;
  padding-left: 20px;
  padding-right: 22px;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 36px;
  vertical-align: middle;
	height: 38px;
	line-height: 38px;
}

.footer .sound {
	padding-left: 10px;
	padding-right: 10px;
}

.footer .sound span {
	position: relative;
	display: block;
	width:36px;
	height: 36px;
	background-image: url("../img/button-sound-off.svg");
    background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center center;
}

.footer .sound.on span {
	background-image: url("../img/button-sound-on.svg");
}

.overlay, .greetbox {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
	z-index: 100;
	overflow: hidden;
	transition: all 200ms !important;
}

#overlaycount {
	display: none;
  	overflow: hidden;
	/*background-image:  url("../img/plane2.jpg");
	background-position:  center center;
	background-size: cover;*/
	background: transparent none;
}

#overlaycount:before {
  background-image: url("../img/plane2.jpg");
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: block;
  background-position: center center;
  background-size: cover;
	background-repeat: no-repeat;
}

#overlaycount.see:before {
	opacity: 0.3;
}

.greetbox {
	display:none;
	overflow-y: hidden;
}

.overlay .wall, .greetbox .wall {
	position: absolute;
	top:0;
	left:0;
	right:0;
	width:100%;
	height:100%;
	background: linear-gradient(0deg, rgba(5, 27, 87, 0.9) 0%, rgba(0, 142, 238, 0.9) 100%);
}

#overlayresult  {
	overflow: hidden;
}

#overlayresult .wall {
	background: linear-gradient(0deg, rgba(5, 27, 87, 0.99) 0%, rgba(0, 142, 238, 0.99) 100%);
}

#overlayresult .background:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: block;
  left: 0;
  background: linear-gradient(180deg, #062a74 0%, rgba(5, 27, 87, 0) 100%);
  opacity: 1;
}

.overlay-container {
    position: relative;
    display: block;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    min-height: 300px;
    top: 50%;
    transform: translate(0, -50%);
	max-height:100%;
}

.greetbox .overlay-container {
	min-height: auto;
}

.overlay-container > div {
    border-radius: 10px;
    /*overflow: hidden;*/
    position: relative;
    display: block;
    background: linear-gradient(0deg, rgba(12, 30, 58, 0.8) 0%, rgb(8, 23, 54) 100%);
    font-size: 16px;
    line-height: 1;
	box-shadow: 1px 1px 25px 10px rgb(30, 82, 221);
}

.overlay-placeholder {
    position: relative;
    width: 100%;
    display: block;
    max-height:100%;
}

.greet {
    padding: 0;
	/*cursor: hand;
	cursor: pointer;*/
	background: linear-gradient(0deg, rgba(0, 32, 92, 0.67) 0%, rgb(0, 32, 92) 100%);
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.footer .greet {
  max-width: 64%;
  margin: 0 auto 18px;
  border-radius: 12px;
  width: 640px;
}

.gameplay .footer .greet {
	display: none;
}

.gameplay .footer .startgame {
	display: none;
}

.footer .help {
	display: none;
}

.footer #shotball {
	display: none;
}

.footer #cleanball {
	display: none;
}

.gameplay .footer #shotball {
  margin: 0 auto 10px;
  width: 90%;
  max-width: 300px;
  padding: 5px 15px;
	display: block;
	line-height: 32px;
	height: 32px;
}

.gameplay .footer #cleanball {
  margin: 0 auto 10px;
  width: 90%;
  max-width: 300px;
  padding: 5px 15px;
	display: block;
	line-height: 32px;
	height: 32px;
	background: linear-gradient(to top,#b07300,#e6b700);
}

.gameplay .footer .help {
	display: inline-block;
	line-height: 28px;
	height: 30px;
}

.footer .startgame {
  padding-left: 18px;
  padding-right: 18px;
}

.bleak {
    opacity: 0.7;
}

.greet img {
    display: block;
    float: left;
    position: relative;
    width: 36px;
    margin: 0 15px 0 0;
}

.greet h4 {
    position: relative;
    display: flex;
    padding: 0 0 10px;
    width: 100%;
    align-items: center;
}

.greet p {
    font-size: 14px;
    line-height: 22px;
    padding: 0 0 10px;
}

.greet a {
    color: #ffdd26;
}

.greet .accent {
  font-weight: 700;
  color: #ffc262;
  font-size: 16px;
}

.overlay-placeholder .ball-text {
	display:none;
	position: relative;
	overflow:auto;
	max-height:100%;
}

.overlay-container .info {
	backface-visibility: hidden;
	transform: perspective(1000px) rotateY(0deg);
	transition: .5s;
}

.overlay-container .boxform {
	-webkit-perspective: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0,0,0);
	visibility: visible;
	backface-visibility: hidden;
	transform: perspective(1000px) rotateY(-180deg);
	transition: .5s;
	/*overflow: hidden;*/
	height:0;
}

.switched .info {
    transform: perspective(1000px) rotateY(180deg);
	display:none;
}

.switched .boxform {
	height:auto;
    transform: perspective(1000px) rotateY(0);
}

.overlay-header {
    border-bottom: 1px solid #0b3352;
    padding: 20px 60px 18px 20px;
    font-family: Electric;
}

.overlay-header h3 {
    font-size: 24px;
	display: inline-block;
}

.overlay-header .box-button {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 20px;
	transition: all 200ms;
}

.box-button img {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
}

.box-button:hover {
	transform: scale(1.2);
}

.overlay .warning {
    display: block;
    position: relative;
    padding: 20px 0 0;
    line-height: 16px;
    font-size: 12px;
    opacity: 0.7;
    color: #c0e0ff;
}

.overlay .warning a {
    color: #fff;
}

.overlay-content {
    display: block;
    position: relative;
    padding: 12px 20px 8px;
    line-height: 22px;
}

#congratstext {
  padding-left: 0;
  padding-right: 0;
	padding-bottom: 0;
}

.footer .overlay-content {
  	padding-bottom: 5px;
}

.overlay .button-subscribe {
    margin: 20px 0 0;
    max-width: 100%;
}

#overlayresult .button-subscribe {
  padding-top: 5px;
  padding-bottom: 5px;
}

.boxform-container {
    padding: 20px 20px 22px;
    position: relative;
    display: none;
}

.switched .boxform-container {
	display:block;
}

form, .regform {
    outline: none;
    border: none;
    display: block;
    position: relative;
	z-index: 2;
}

.gameplay form, .gameplay .regform {
	display: inline-block;
	margin: 0 5px 0;
	/*vertical-align: middle;*/
	z-index: 100;
}

.gameplay .footer .button-subscribe {
  	font-size: 27px;
	padding-left: 18px;
	padding-right: 18px;
	margin-bottom: 15px;
	padding-top: 9px;
	padding-bottom: 9px;
}

.gameplay .footer .sound {
	padding-left: 10px;
	padding-right: 10px;
	height: 30px;
}

.gameplay .sound span {
  	width: 28px;
  	height: 28px;
}

fieldset {
    border: none;
    position: relative;
    display: block;
	padding:0;
}

input[type="text"], input[type="email"] {
    position: relative;
	display: inline-block;
	border-top: 2px solid #2594ff;
	border-bottom: 2px solid #2594ff;
	border-radius: 8px;
	color: #fff;
	line-height: 23px;
	font-size: 16px;
	padding: 0;
	width: 100%;
	margin-bottom: 0;
	max-width: 240px;
	background-color: #00205cde;
	text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
	text-align: center;
	text-transform: uppercase;
	font-weight: 800;
	font-family: Geometria;
	height: 45px;
}

input[type="text"]::placeholder, input[type="email"]::placeholder {
	color:#fff;
}

input[type=text]:focus, input[type=email]:focus {
	background-color:#fff;
    color: #0d88f4;
}

input[type="text"]::-webkit-input-placeholder, input[type="email"]::-webkit-input-placeholder { 
  opacity: 1;
}

input[type="text"]::-moz-placeholder, input[type="email"]::-moz-placeholder { 
  opacity: 1;
}

input[type="text"]:-ms-input-placeholder, input[type="email"]:-ms-input-placeholder { 
  opacity: 1;
}

input[type="text"]:-moz-placeholder, input[type="email"]:-moz-placeholder { 
  opacity: 1;
}

.player-name {
  max-width: 310px;
  margin: 0 auto;
}

.player-name:after {
	content:"";
	position: absolute;
	right: -16px;
	top: 0;
	width: 32px;
	height: 32px;
	background-image: url("../img/button-edit.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center center;
	background-color: rgb(232, 188, 7);
}

.error {
    position: relative;
    padding: 0 0 22px;
    line-height: 20px;
    font-size: 15px;
    color: #ff5050;
}

input.invalid {
    border: 1px solid #ff5050;
    background-color: #ff50502b;
    color: #fff;
    margin-bottom: 10px;
}

label.invalid {
    font-size: 12px;
    position: relative;
    padding: 0 0 20px;
    display: block;
}

input.success {
    border: 1px solid #38b36e;
    background-color: #7bff601c;
    color: #fff;
}

.notifier {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 640px;
    height: auto;
    transform: translate(-50%,-50%);
	text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
    /*background: linear-gradient(0deg, rgb(12, 30, 58) 0%, rgb(8, 23, 54) 100%);
    border-radius: 8px;
    box-shadow: 1px 1px 25px 10px rgb(30, 82, 221);*/
	overflow: hidden;
}

#overlayresult .notifier {
  text-shadow: 0px 0px 10px rgb(9, 18, 40);
	transform: translate(-50%, 0);
	top:0;
}

#overlayresult .notifier .accent {
  font-size: 20px;
}

.m-gold .notifier, .m-silver .notifier, .m-bronze .notifier{
  /*text-shadow: 0px 1px 5px rgb(7, 28, 69);*/
	top: 0;	
}

.m-gold .wall:after, .m-silver .wall:after, .m-bronze .wall:after {
	content: "";
  	position: absolute;
  	display: block;
  	width: 100%;
  	height: 100%;
  	background-image: url("../img/plane-fin.png");
  	background-repeat: no-repeat;
  	background-position: center bottom;
  	opacity: 1;
  	background-size: 100% auto;
  	bottom: 0;
  	max-width: 700px;
  	left: 50%;
  	transform: translate(-50%, 0);
}

.m-silver .wall:after {
	/*background-image: url("../img/medal-silver.png");*/
}

.m-bronze .wall:after {
	/*background-image: url("../img/medal-bronze.png");*/
}

.notifier .notifier-box {
    padding: 18px 20px 20px;
    display: block;
    position: relative;
	text-align: center;
}

.notifier h2 {
  font-size: 36px;
	font-family: Styrene;
  display: block;
  line-height: 1;
	font-weight: 800;
}

.notifier #placecounter {
  font-size: 50px;
  line-height: 50px;
  font-weight: 1000;
}

.notifier h3 {
  font-size: 28px;
  display: block;
  padding: 0;
  font-family: Styrene;
  line-height: 1;
  font-weight: 800;
}

.notifier #congrats {
  	font-size: 22px;
	font-weight: 800;
}

.notifier p {
    font-size: 16px;
    line-height: 1;
}

#overlayresult .notifier p {
  line-height: 22px;
  font-size: 15px;
}

.notifier h4 {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  padding: 25px 0 20px;
  font-family: Styrene;
}

#leaderboard {
  margin-top: 0;
  margin-bottom: 20px;
}

#leaderboard > div {
  position: relative;
  display: block;
  width: 100%;
  background: linear-gradient(90deg, rgba(37,148,255,0) 0%, rgb(37, 148, 255) 50%, rgba(37,148,255,0) 100%);
}

#leaderboard > .pl {
  background: linear-gradient(90deg, rgba(37,148,255,0) 0%, rgb(255, 190, 37) 50%, rgba(37,148,255,0) 100%);
}

#leaderboard > div:before, #leaderboard > div:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(37,148,255,0) 0%, rgb(255, 255, 255) 50%, rgba(37,148,255,0) 100%);
}

#leaderboard > div > span {
  padding: 8px 0;
  text-align: center;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  width: 32%;
  vertical-align: middle;
  font-weight: 600;
}

.counters {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.roundcountbox, .scorecountbox {
  	text-align: center;
	margin: 12px 10px 0;
	font-size: 24px;
	font-weight: 800;
	display: none;
	position: relative;
	vertical-align: middle;
	transition: all 200ms ease;
	margin-bottom: 50px;
}

.gameplay .roundcountbox, .gameplay .scorecountbox {
	display: inline-block;
}

.gameplay .header .roundcountbox {
  left: -1000%;
}

.gameplay .header .scorecountbox {
  right: -1000%;
}

.notifier .counters {
  margin-top: 10px;
}

.notifier .scorecountbox {
  margin: 10px 5px 0;
}

.roundtimer {
  display: block;
  text-shadow: 0px 0px 8px rgb(3, 25, 79);
  font-weight: 800;
  font-family: Geometria;
  font-size: 55px;
  color: #fff;
  line-height: 1;
	position: relative;
}

.roundcountbox:before, .scorecountbox:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    -webkit-box-shadow: 0px 0 50px 30px rgba(17, 144, 255, 0.7);
    -moz-box-shadow: 0px 0 50px 30px rgba(17, 144, 255, 0.7);
    box-shadow: 0px 0 50px 30px rgba(17, 144, 255, 0.7);
	z-index:0;
	animation: heartbeat 6s infinite;
}

.notifier .roundcountbox:before, .notifier .scorecountbox:before {    
    /*-webkit-box-shadow: 0px 0 10px 10px rgba(17, 144, 255, 0.7);
    -moz-box-shadow: 0px 0 10px 10px rgba(17, 144, 255, 0.7);
    box-shadow: 0px 0 10px 10px rgba(17, 144, 255, 0.7);*/
}

.roundcount {
  position: relative;
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0px 0px 8px rgb(3, 25, 79);
  font-family: Styrene;
}

.scorecount {
  position: absolute;
  display: block;
  font-family: Styrene;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0px 0px 5px rgb(3, 25, 79);
  width: 100%;
  top: 16px;
}

.scorecountbox img {
  position: relative;
  display: block;
  margin-bottom: 7px;
  width: 50px;
  opacity: 0.5;
}

.accend {
	animation: heartbeat 4s infinite;
}

.totalcount {
  	font-family: Styrene;
	font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

#overlaycount .roundcountbox {
  margin: 10px 0 0;
  display: block;
}

#overlaycount .roundcount {
  text-shadow: 0px 0px 8px rgb(255, 255, 255);
  font-size: 42px;
}

#posball {
  display: block;
  /*margin: 0 auto 20px;
  max-width: 90%;*/
  position: relative;
 /* width: 338px;*/
}

#speedball, #velball {
	display: block;
	position: relative;
	height: 100%;
}

#posbox {
  /*transform: scaleX(1) scaleY(1) scaleZ(1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg);*/
	transform: scaleX(1) scaleY(1) scaleZ(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg);
  position: relative;
  width: 310px;
  max-width: 100%;
  bottom: 39.5%;
  margin: 0 auto;
	perspective: 300px;
}

#speedbox {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  perspective: 300px;
  height: 100%;
  /*transform: translate(0, 0);*/
}

#posbox .posslider {
	/*background: linear-gradient(90deg, rgba(210, 16, 16, 0) 10%, rgb(210, 16, 16) 50%, rgba(210, 16, 16, 0) 90%);*/
	background: transparent none;
	height: 25px;
	box-shadow: none;
	/*transform: scaleX(1) scaleY(1) scaleZ(1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg);*/
}

#speedbox .speedslider, #speedbox .velslider {
  background: linear-gradient(180deg, rgba(210, 16, 16, 0) 0, rgb(210, 16, 16) 100%);
  box-shadow: none;
  transform: scaleX(0.6) scaleY(0.6) scaleZ(0.6) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0) translateY(-15%) translateZ(0px) skewX(0deg) skewY(0deg);
  height: 100%;
  margin: 0 0 0;
  position: absolute;
}

#speedbox .speedslider {
  right: 30%;
}

#speedbox .velslider {
  left: 30%;
}

#posbox .posslider .rangeslider__fill {
  background: transparent;
	box-shadow: none;
}

#speedbox .speedslider .rangeslider__fill, #speedbox .velslider .rangeslider__fill  {
  background: linear-gradient(0deg, rgb(1, 28, 85) 0, rgb(210, 16, 16) 80%);
  box-shadow: none;
  border-radius: 0;
}

.speedslider .rangeslider__handle, .velslider .rangeslider__handle {
  background: transparent none;
  border: none;
  box-shadow: none;
}

.speedslider .rangeslider__handle:before, .velslider .rangeslider__handle:before {
    background-image: url("../img/arrow-go.svg");
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 0;
  right: initial;
  content: "";
  position: absolute;
  background-position: center center;	
}

.speedslider .rangeslider__handle:after, .velslider .rangeslider__handle:after {
  background-image: url("../img/arrow-go1.svg");
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: -15%;
  transform: translate(-50%, -50%);
  top: 25%;
  right: initial;
  content: "";
  position: absolute;
  background-position: center center;
  transition: all 200ms;
  animation: heartbeat 3s infinite;
}

#speedbox .speedslider:after {
  content: "Сила";
  position: absolute;
  bottom: -15px;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  left: 50%;
  transform: translate(-50%, 0) scaleY(0.7);
  background-color: #021b53;
  border-radius: 4px;
  line-height: 20px;
  padding: 0 12px;
}

#speedbox .velslider:after {
  content: "Вращение";
  position: absolute;
  bottom: -15px;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  left: 50%;
  transform: translate(-50%, 0) scaleY(0.7);
  background-color: #021b53;
  border-radius: 4px;
  line-height: 20px;
  padding: 0 12px;
}

.posslider .rangeslider__handle {
  background: transparent none;
  border: none;
  box-shadow: none;
}

.posslider .rangeslider__handle:before {
  background-image: url("../img/arrow-go2.svg");
  width: 100px;
  height: 64px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 50%;
  transform: translate(-50%, -47%);
  top: 50%;
  right: initial;
  content: "";
  position: absolute;
  background-position: center center;
	transition: all 200ms;
	animation: backbeat 3s infinite;
}

.posslider .rangeslider__handle:after {
  background-image: url("../img/stone-start1.png");
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  bottom: initial;
  right: initial;
}

#speedbox .speedslider:hover:before, #speedbox .velslider:hover:before {
    content: "";
  	position: absolute;
  	display: block;
  	width: 90px;
  	height: 48px;
  	background-color: transparent;
  	border-radius: 4px;
  	bottom: -60px;
  	left: 50%;
  	transform: translate(-50%, 0);
  	background-image: url("../img/mouse.png");
  	background-position: center center;
  	background-size: 40% auto;
  	background-repeat: no-repeat;
  	animation: backbeat 3s infinite;
  	opacity: 1;
}

#speedbox .pawnspeedslider {
  position: absolute;
  right: 0;
  bottom: 23%;
  height: 50%;
  width: 45%;
  cursor: pointer;
	opacity: 0;
}

#speedbox .pawnvelslider {
  position: absolute;
  left: 0;
  bottom: 23%;
  height: 50%;
  width: 45%;
  cursor: pointer;
	opacity: 0;
}

#speedbox .speedslider .rangeslider__fill:before {
  content: "Установите силу броска";
  display: block;
  position: absolute;
  bottom: -12px;
  left: -210px;
  width: 200px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 5px 15px 8px;
  background-color: #021b54;
  border-radius: 8px;
	transition: all 1000ms;
}

#speedbox .velslider .rangeslider__fill:before {
  content: "Установите силу вращения";
  display: block;
  position: absolute;
  bottom: -12px;
  right: -210px;
  width: 200px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 5px 15px 8px;
  background-color: #021b54;
  border-radius: 8px;
	text-align: right;
	transition: all 1000ms;
}

#speedbox .tip-close .rangeslider__fill:before {
	opacity: 0;
}

@media all and (max-width: 900px) {
	
	.header {
		/*overflow: visible;*/
	}
	
	.counters {
  		position: absolute;
  		display: block;
  		margin: 0 auto;
  		top: 44px;
  		width: 100%;
	}
	
	.notifier .counters {
  		position: relative;
  		top: initial;
	}
	
	.roundcount {  
  		font-size: 20px;  
	}
	
	.scorecountbox img {
  		display: inline-block;
  		margin-bottom: 0;
  		vertical-align: middle;
  		width: 30px;
	}
	
	.notifier-box .scorecountbox img {
  		width: 48px;
	}
	
	#overlayresult .notifier-box .scorecountbox img {
  		width: 26px;
	}	
	
	.scorecount {
  		font-size: 18px;
  		line-height: 1;
  		font-weight: 800;
  		top: 6px;
	}
	
	.notifier-box .scorecount {
  		font-size: 24px;
  		line-height: 32px;
		top: 12px;
	}
	
	#overlayresult .notifier-box .scorecount {
  		font-size: 16px;
  		line-height: 32px;
  		top: 0;
	}
	
	#overlayresult .notifier .scorecountbox {
  		margin: 10px 2px 0;
	}
	
}

@media all and (max-width: 840px) {
	
	.header {
		background: transparent;
	}
	
	.header:before {
   		content: "";
    	position: absolute;
    	width: 100%;
    	height: 14px;
    	display: block;
    	background: linear-gradient(to right, rgb(30, 82, 221) 40%, rgb(3, 207, 253) 60%);
    	top: 26px;
	}
	
	.logo-volley:after {
	  display: none;
	}
	
	.header-logoline {
    	background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(5, 24, 83) 100%);
   		float: left;
	}
	
	.multi-logo {
  		width: 260px;
	}
	
	.event-header {
   		position: absolute;
    	top: 22px;
	}
	
	.header-logo {
    	padding: 10px;
	}
	
	.header-logo {
		width: 120px;
	}
	
	.multi-logo {
		margin-top: 50px;
	}
	
	canvas {
  		margin-top: 90px;
	}
	
	.ice {
  		background-size: 100% auto, 100% auto;
	}
	
	#speedbox .speedslider {
  		right: 25%;
	}
	
	#speedbox .velslider {
  		left: 25%;
	}
	
	canvas {
  		transform: scaleX(1.1) scaleY(1.1) scaleZ(1.1) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-16.2%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
	#posbox {
  		bottom: 37.4%;
	}

}

@media all and (max-width: 575px) {
	
	.foreground {
    	background-position: 72% center;
	}
	
	.greet p {
    font-size: 12px;
    line-height: 20px;
	}
	
	.greet .accent {
  	font-size: 14px;
	}
	
	#speedbox .speedslider {
  		right: 22%;
	}
	
	#speedbox .velslider {
  		left: 22%;
	}
	
	#overlayresult .button-subscribe {
  		font-size: 20px;
	}
	
	#overlayresult .notifier p {
  		line-height: 18px;
  		font-size: 14px;
	}
	
	.notifier h4 {
  		padding: 20px 0 20px;
		font-size: 20px;
	}
	
	#leaderboard > div > span {
  		padding: 6px 0;
  		font-size: 16px;
	}

}

@media all and (max-width: 460px) {
	
	.notifier h2 {
  		font-size: 32px;
	}
	
	.notifier h3 {
  		font-size: 28px;
	}
	
	.multi-logo {
  		width: 200px;
	}	
	
	#speedbox .speedslider {
  		transform: scaleX(0.5) scaleY(0.45) scaleZ(0.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0) translateY(-25%) translateZ(0px) skewX(0deg) skewY(0deg);
  		right: 14%;
	}
	
	#speedbox .velslider {
  		transform: scaleX(0.5) scaleY(0.45) scaleZ(0.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0) translateY(-25%) translateZ(0px) skewX(0deg) skewY(0deg);
  		left: 14%;
	}
	
	#speedbox .pawnspeedslider {
  		bottom: 38%;
  		height: 32%;
		width: 30%;
	}
	
	#speedbox .pawnvelslider {
  		bottom: 38%;
  		height: 32%;
		width: 30%;
	}
	
	.footer .button-subscribe {
		line-height: 44px;
	}
	
	.gameplay .footer #shotball {
		line-height: 38px;
	}
	
	.gameplay .footer .help {
  		line-height: 32px;
	}
	
	input[type="text"], input[type="email"] {
		line-height: 50px;
		height: 44px;
		top: 0;
		padding-top: 0;
		padding-bottom: 0;
		font-size: 17px;
	}
	
	#overlayresult .button-subscribe span {
  		line-height: 44px;
	}
	
}

@media all and (max-width: 414px) {
	
	.counters {
  		top: 36px;
	}
	
	.mobile-deny {
		display:none !important;
	}	
	
	canvas {
  		transform: scaleX(1.8) scaleY(1.8) scaleZ(1.8) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-30%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
	.zooming canvas {
  		transform: scaleX(1.9) scaleY(1.9) scaleZ(1.9) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(20%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
	#speedbox .speedslider {
  		transform: scaleX(0.5) scaleY(0.45) scaleZ(0.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0) translateY(-25%) translateZ(0px) skewX(0deg) skewY(0deg);
  		right: 12%;
	}
	
	#speedbox .velslider {
  		transform: scaleX(0.5) scaleY(0.45) scaleZ(0.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0) translateY(-25%) translateZ(0px) skewX(0deg) skewY(0deg);
  		left: 12%;
	}
	
	#posbox {
  		transform: scaleX(1) scaleY(0.85) scaleZ(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg);
  		width: 260px;
  		bottom: 40.9%;
	}
	
	.zooming #speedbox {
		opacity: 0;
	}
	
	.zooming .ice {
		transform: scaleX(1.9) scaleY(1.9) scaleZ(1.9) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(20%) translateZ(-100px) skewX(0deg) skewY(0deg);
	}

	.midzooming .ice {
		transform: scaleX(1.9) scaleY(1.9) scaleZ(1.9) rotateX(10deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(20%) translateZ(-100px) skewX(0deg) skewY(0deg);
	}
	
	.ice {
  		background-position: top center, center center;
  		background-size: 100% auto, 100% auto;
	}
	
}

@media all and (max-width: 412px) {
	
	canvas {
  		transform: scaleX(1.4) scaleY(1.7) scaleZ(1.6) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-30%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
}

@media all and (max-width: 390px) {

	canvas {
  		transform: scaleX(1.5) scaleY(1.5) scaleZ(1.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-27.2%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
}

@media all and (max-width: 380px) {

	canvas {
  		transform: scaleX(1.5) scaleY(1.59) scaleZ(1.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-27.2%) translateZ(0px) skewX(0deg) skewY(0deg);
	}
	
	input[type="text"], input[type="email"] {
		max-width: 160px;
		margin-bottom: 0;
	}	
	
	#overlayresult .notifier p {
  		line-height: 18px;
  		font-size: 12px;
	}
	
	.overlay .button-subscribe {
  		margin: 20px 0 0;
  		max-width: 100%;
  		line-height: 16px;
	}
	
	#overlayresult .button-subscribe span {
  		line-height: 20px;
  		font-size: 16px;
	}
	
	#leaderboard > div > span {
  		font-size: 12px;
		padding: 5px 0;
	}
	
	.notifier h4 {
		font-size: 16px;
  		padding: 15px 0 15px;
	}
	
	.notifier #placecounter {
  		font-size: 24px;
  		line-height: 24px;
	}
	
	.notifier #congrats {
  		font-size: 16px;
	}
	
	.share_this {
  		margin-top: 12px;
	}
	
	.social_share {
  		width: 20px;
	}
	
	.footer .greet {
  		max-width: 92%;
		margin: 0 auto 10px;
	}
	
	.greet p {
  		font-size: 10px;
  		line-height: 14px;
	}
	
	.greet .accent {
  		font-size: 12px;
	}
	
	.footer .overlay-content {
  		padding: 8px 8px 8px 0;
	}
	
	.multi-logo {
  		width: 140px;
		margin-top: 40px;
	}

}

@media all and (max-width: 375px) {

	canvas {
  		transform: scaleX(1.7) scaleY(1.59) scaleZ(1.5) rotateX(30deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(-27.2%) translateZ(0px) skewX(0deg) skewY(0deg);
	}

}