body {
	font-size: 24px;
	font-family: 'Roboto', sans-serif;
	line-height: 120%;
	margin: 0;
	padding: 0;
}
@keyframes blink {
  0% {opacity: 1;}
  15% {opacity: 1;}
  50%{opacity: 0.1;}
  90% {opacity: 1;}
  100% {opacity: 1;}
}

/*--------------
   Choose name  
    -------------*/

.registerName {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9000;
	background-color: #fff;
}

.registerName__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	justify-content: center;
}

.registerName__headline {
	margin: 100px auto 40px auto;
	font-size: 22px;
	text-align: center;
	margin: 0 0 40px 0;
	font-weight: 900;
	color: #A0D36E;
}

.registerName__headline span {
	font-size: 14px;
	font-weight: 400;
	color: #9a9a9a;
}

.registerName__row {
	margin-bottom: 24px;
}

.registerName__input {
	border: 1px solid #A0D36E;
	padding: 8px 16px;
	font-size: 16px;
	color: #A0D36E;
	border-radius: 4px;
	width: 300px;
	font-size: 16px;
	font-weight: 700;
	display: block;
	box-sizing: border-box;
}

.registerName .registerName__save {
	width: 300px;
	max-width: 300px;
	padding: 8px 16px;
}


/*-------------
  Style for game 
   ----------------*/

h1 {
	font-size: 22px;
	text-align: center;
	margin: 16px 0;
	font-weight: 900;
	color: #000;
}

.block__elem,
.block__buttons,
.block__score {
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
}

.block__elem {
   height: 130px;
}

.randomNum {
	width: 40%;
	position: relative;
  height: 100%;
}

.button {
	border-radius: 4px;
	color: #9a9a9a;
	background-color: #fff;
	border: 1px solid #fff;
	font-size: 14px;
	padding: 4px 16px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.67);
	width: 100%;
	margin-bottom: 16px;
	cursor: pointer;
	font-weight: 700;
	text-align: center;
}

.block__images img {
	width: 100%;
	max-height: 200px;
}

.randomNum--ai img {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX( -1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

.win {
	position: absolute;
	top: 0;
	left: 50%;
	display: none;
  transform: translateX(-50%);
      z-index: -1;
}

.on {
	display: flex;
}



.button--continue {
	background-color: #8cff8a;
	border-color: #8cff8a;
}

.button--reload {
	background-color: #ff8a8e;
	border-color: #ff8a8e;
}

.block__score .block__point {
	border: 1px solid #A9071E;
	background-color: #fff;
	color: #A9071E;
	border-radius: 4px;
	text-align: center;
	position: relative;
	padding: 10px;
  overflow: hidden;
  margin-top: 4px;
}

.blockScore:first-child {
	margin-right: 100px;
}

.block__point:before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #A9071E;
	position: absolute;
	left: 10px;
	animation-name: bubbles;
	animation-duration: 5s;
	animation-delay: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in;
	z-index: 100;
	bottom: 0;
	transform: translateY(100%);
}

.off {
	display: none !important;
}


/*animacja*/

@keyframes bubbles {
	0% {
		bottom: 0;
		opacity: 0;
	}
	10% {
		opacity: 0.1;
		left: 2px;
	}
	20% {
		left: 10px;
		opacity: 0.2;
	}
	30% {
		left: 14px;
		opacity: 0.3;
	}
	50% {
		left: 10px;
		opacity: 0.4;
	}
	100% {
		bottom: 100%;
	}
}

.block {
	max-width: 545px;
	margin: 0 auto;
	padding: 0 10px;
}

.block__elem {
	min-height: 100px;
  margin-bottom: 24px;
  position: relative;
  padding-top: 24px;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.blockScore span {
	font-size: 14px;
	font-weight: 700;
	display: block;
	text-align: center;
  color: #FACB47;
  line-height: 100%;
}

.blockScore {
	margin-bottom: 24px;
	width: 50px;
}

.button {
	margin-bottom: 16px;
}

.win__content {
	width: 100%;
}

.win__info {
	text-align: center;
	font-size: 18px;
	font-weight: 900;
	line-height: 120%;
  color: #A9071E;
  animation-name: blink;
  animation-duration: 1.2s;
  animation-delay: 0.1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

.block__buttons {
	justify-content: space-between;
	align-items: stretch;
}

.block__buttons .button {
	width: 108px;
  padding: 0;
}

.block__buttons .button:before {
	height: 70px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	content: '';
	display: block;
  margin: auto;
}
.win.blackout {
    z-index: 100;
    display: block;
}
.win.blackout .win__info {
  display: none;
}
.win.blackout .win__content:before {
  content: 'Naciśnij f5';
  display: block;
  font-family: 'Roboto';
  font-size: 20px;
}
.blockScore #yourName {
  color: #A0D36E;
}
.block__buttons .button--unik:before {
  width: 90px;
  background-image: url('images/unik.svg');
}
.block__buttons .button--przeciwTempo:before {
  width: 70px;
  background-image: url('images/przeciwTempo.svg');
}
.block__buttons .button--pistol:before {
  width: 45px;
  background-image: url('images/pistol.svg');
}
.randomNum .pistol {
  width: 130px;
}
.randomNum .przeciwtempo {
  width: 217px;
}
.randomNum .unik {
  width: 240px;
}
.randomNum .block__images {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.randomNum--user .block__images {
  right: auto;
  left: 0;
}