@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&display=swap');



html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, figcaption, figure,footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video, button {
	vertical-align:baseline;
	border:0;
	outline:0;
	font-size:100%;
	padding:0;
	margin:0;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display:block;
}

nav ul {
	list-style:none;
}

ul, ol {
  display:block;
  position:relative;
  text-align:left;
  -webkit-padding-start:0;
  padding-inline-start:0;
  -webkit-padding-end:0;
  padding-inline-end:0;
  -webkit-margin-before:0;
  margin-block-start:0;
  -webkit-margin-after:0;
  margin-block-end:0;
  -webkit-margin-start:0;
  margin-inline-start:0;
  -webkit-margin-end:0;
  margin-inline-end:0;
  padding:0;
  margin:0;
}

a {
	display: inline;
  position: relative;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
	text-decoration: none;
	padding: 0;
	margin: 0;
}

button {
	letter-spacing: normal;
	white-space: nowrap;
	text-transform: none;
	cursor: pointer;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
  word-break: break-word;
	-webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: url(../images/background.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000;
  min-height: 100vh;
}

p {
  font: inherit;
}

a {
	user-drag: none;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

img, video {
  max-width: 100%;
  max-height: 100%;
	user-drag: none;
}




body {
	font-family: 'Poppins', 'Roboto', 'Arial', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	padding: 0px;
	margin: 0px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* BUTTON */
.button {
	display: inline-block;
	position: relative;
	width: auto;
	-webkit-border-radius: 0px;
	border-radius: 0px;
  border: none;
	background: rgba(215,75,70,1);
	font-size: 1em;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	color: rgba(255,255,255,1);
	white-space: nowrap;
	vertical-align: middle;
  cursor: pointer;
  padding: 5% 10%;
  margin: 5% auto 0 auto;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.button:hover {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	    transform: scale(1.1);
}

.main {
	display: inline-block;
	position: relative;
  padding: 30px 6px;
}

.main__camera {
	display: block;
	position: relative;
	overflow: hidden;
  -webkit-box-shadow: 0 4px 67px 0 rgba(0, 0, 0, 0.9);
          box-shadow: 0 4px 67px 0 rgba(0, 0, 0, 0.9);
  border: 1px solid #fff;
  -webkit-border-radius: 29px;
          border-radius: 29px;
}



/* BG */
.main__bg {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	background: url('../images/bg.webp') repeat 0px center / auto 100%;
}

.main__bg > img,
.main__bg > img + div {
	display: block;
	position: relative;
	max-width: 100vw;
	max-height: 100vh;
}



/* ENEMY */
.enemy {
	display: block;
	position: absolute;
	top: 0;
	left: 10%;
	width: 80%;
	-webkit-animation: enemy-idle 4s ease-in-out infinite forwards;
	        animation: enemy-idle 4s ease-in-out infinite forwards;
}
.enemy.enemy-shot-position-0,
.enemy.enemy-shot-position-1,
.enemy.enemy-shot-position-2 {
	top: -10%;
}
.enemy.enemy-shot-position-0,
.enemy.enemy-shot-position-5 {
	left: -10%;
	-webkit-animation: none;
	        animation: none;
}
.enemy.enemy-shot-position-2,
.enemy.enemy-shot-position-3 {
	left: 30%;
	-webkit-animation: none;
	        animation: none;
}



/* PUCK */
.ball-wrap {
	display: block;
	position: absolute;
	top: 22%;
	left: 27%;
	width: 46%;
	height: 50%;
}
.ball {
	display: block;
	position: relative;
	top: 100%;
	width: 20%;
	height: auto;
	-webkit-transform-origin: center;
	    -ms-transform-origin: center;
	        transform-origin: center;
	-webkit-transform: perspective(1000px) translate3d(0vh, 0vh, 0px);
	        transform: perspective(1000px) translate3d(0vh, 0vh, 0px);
	margin: auto;
}

.ball > img {
	display: block;
	-webkit-transform-origin: center center;
	    -ms-transform-origin: center center;
	        transform-origin: center center;
	-webkit-transform: perspective(500px) translate3d(0,0,0);
	        transform: perspective(500px) translate3d(0,0,0);
	margin: auto;
}



/* BUTTON */
.main__button {
	display: block;
	position: absolute;
	bottom: 8%;
	left: 0;
	right: 0;
	height: 11%;
	outline: none;
	border: none;
	background: url('../images/button.webp') no-repeat center center / auto 100%;
	font-size: 1.2em;
	font-weight: 900;
	line-height: 100%;
	color: rgba(255,255,255,1);
	-webkit-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}
.main__button.deactive {
	background-image: url('../images/button-deactive.png');
	cursor: default;
}
.main__button:not(.deactive):active {
	-webkit-transform: scale(0.95);
	-ms-transform: scale(0.95);
	    transform: scale(0.95);
}
.main__button:not(.deactive):hover {
	text-shadow: 0px 0px 25px rgba(255,255,255,0.75);
}



/* LOGO */
.main__logo {
	display: block;
	position: absolute;
	top: 2%;
	left: 40%;
	right: 40%;
	max-width: 20%;
}

.main__logo > img {
	display: block;
	position: relative;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}



/* SCALE */
.scale {
	display: block;
	position: absolute;
	bottom: 1%;
	left: 2%;
	right: 2%;
	height: 5%;
	background: rgba(0,0,0,0.5);
}

.scale > div {
	display: block;
	position: absolute;
	z-index: 1;
}

/* var */
.scale > div {
	top: 0;
	left: 0;
	width: 2%;
	height: 100%;
	background: rgba(255,0,0,1);
}

.scale.force > div {
	width: 0;
	background: rgba(255,0,0,1);
}





/* SCORE and ROUND */
.main__round {
	display: block;
	position: absolute;
	top: 2%;
	left: 2%;
	background: rgba(0,0,0,0.5);
	font-size: 0.8em;
	font-weight: 400;
	line-height: 1.2;
	text-align: left;
	color: rgba(255,255,255,0.5);
	padding: 2%;
	margin: 0;
}
.main__round {
	left: auto;
	right: 2%;
}

.main__round > span {
	font-size: 1.4em;
	font-weight: 700;
	color: rgba(255,255,255,1);
}



/* COVER */
.main__cover {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../images/cover.png') no-repeat center center / 100% 100%;
}

.main__cover > div {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-animation: 3s cover-begin ease-in-out infinite;
	animation: 3s cover-begin ease-in-out infinite;
}

.main__cover > div img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

/* var */
.main__cover > div .main__arrow {
	width: 30%;
	height: 30%;
}

.cover__logo {
	display: block;
	position: absolute;
	bottom: 3%;
	left: 0;
	right: 0;
}

.cover__logo > img {
	display: block;
	max-width: 20%;
	max-height: 100%;
	margin: auto;
}



/* Close Button */
/* .close-button {
	display: block;
	position: relative;
	width: 100%;
	outline: none;
	border: none;
	background: none;
	font-size: inherit;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
	padding: 3%;
	z-index: 100000;
} */



/* POPUP */
.popup {
	display: none;
	position: absolute;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
	max-width: 80%;
	max-height: 80%;
	background: none;
	-webkit-transform: scale(0.9);
	-ms-transform: scale(0.9);
	    transform: scale(0.9);
	padding: 0;
	margin: auto;
	opacity: 0;
	z-index: 10000;
	-webkit-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}
.popup.active {
	display: block;
}
.popup.active.full {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	    transform: scale(1);
	opacity: 1;
}
.popup:before,
.popup:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255,255,255,1);
	z-index: -1;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.popup:before {
	top: -5%;
	bottom: 5%;
	background: url('../images/popup-bg.webp') no-repeat center center / 100% 100%;
}
.popup:after {
	top: -100%;
	bottom: -100%;
	left: -100%;
	right: -100%;
	background: rgba(0,0,0,0);
	z-index: -2;
}
.popup.active.full:after {
	background: rgba(0,0,0,0.5);
}

.popup > .wrap {
	font-weight: 900;
	text-align: center;
	padding: 18% 19% 17% 19%;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.popup__logo {
	display: block;
	padding-bottom: 5%;
  width: 5em;
}
.popup-title__logo > img {
	display: block;
	position: relative;
	max-width: 30%;
	margin: auto;
}

.popup__desc {
  font-weight: 500;
  font-size: 0.9em;
  text-transform: uppercase;
	padding: 5% 0;
	margin: 0;
  text-align: center;
  color: #fff;
  text-shadow: 9px 9px 0 rgba(125, 70, 35, 0.4);
}
.popup__desc strong {
  font-weight: 900;
  font-size: 1.3em;
  display: block;
  margin-bottom: 0.8em;
}

.popup__button {
	width: 100%;
	background: url('../images/popup-button.png') no-repeat center center / 100% 100%;
	font-size: 0.9em;
	padding: 13%;
	margin-top: 5%;
}

/* var */
.popup.popup-success .popup__button {
	color: rgba(0,0,0,1);
}




/* ANIM */
@-webkit-keyframes cover-begin {
	0% {
		top: 0;
	}
	50% {
		top: 5%;
	}
	100% {
		top: 0;
	}
}
@keyframes cover-begin {
	0% {
		top: 0;
	}
	50% {
		top: 5%;
	}
	100% {
		top: 0;
	}
}



@-webkit-keyframes enemy-idle {
	0% {
		left: 5%;
	}
	50% {
		left: 15%;
	}
	100% {
		left: 5%;
	}
}


@media screen and (max-width: 600px) {
  body {
    background-image: url(../images/background-mob.webp);
  }
  .main__camera {
    -webkit-border-radius: 16px;
            border-radius: 16px;
  }
  .main {
    width: 100%;
  }
}
