* {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	background: linear-gradient(#222 55%, #183542 160%);
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Montserrat', sans-serif;
	overflow: hidden;
}

canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

@keyframes hide {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

#controls {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 5vh;
	transform: translateX(-50%);
	flex-direction: column;
	align-items: center;
	z-index: 1;
}

.mobile #controls {
	width: 100%;
	bottom: 0;
}

.mobile #controls .row {
	justify-content: space-between;
	width: 100%;
}

.mobile #controls .key {
	justify-content: space-between;
	width: 100%;
	width: 10vh;
	height: 10vh;
	animation: none;
	margin: 3vh;
}

.mobile #controls .key:after {
	border-width: 3vh;
}

.mobile #key-up, .mobile #key-down {
	display: none !important;
}

.mobile #key-left:after {
	transform: translateX(0%);
}

.mobile #key-right:after {
	transform: translateX(60%);
}

#controls .row {
	display: flex;
}

#controls .key {
	width: 5vh;
	height: 5vh;
	border-radius: 1vh;
	border: 0.4vh solid #85fcfd;
	background: rgba(0,0,0,0.4);
	box-shadow: 0 0 1vh rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0.5vh;
	opacity: 0.5;
}

#level-transition {
	opacity: 0;
	font-size: 8vw;
	white-space: nowrap;
	letter-spacing: 1vw;
	font-weight: bold;
	color: #183542;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-shadow: 0 0 4vh rgba(109,170,198,1);
	/* text-shadow: 0 0 5vh rgba(0,0,0,.2); */
	transition: opacity 0.2s ease-out;
}

#level-transition.active {
	opacity: 1;
}


@keyframes controlPulse {
	0% {
		opacity: 0.5;
		border-color: #85fcfd;
	}

	50% {
		opacity: 1;
		border-color: #fff;
	}

	100% {
		opacity: 0.5;
		border-color: #85fcfd;
	}
}

#key-left {
	animation: controlPulse 2s both ease-in-out infinite;
}

#key-right {
	animation: controlPulse 2s both ease-in-out infinite;
	animation-delay: 1s;
}

.key:after {
	content: '';
	border: 1.5vh solid transparent;
}

#key-left:after {
	border-right-color: #85fcfd;
	transform: translateX(-25%);
}

#key-right:after {
	border-left-color: #85fcfd;
	transform: translateX(25%);
}

#key-up:after {
	border-bottom-color: #85fcfd;
	transform: translateY(-25%);
}

#key-down:after {
	border-top-color: #85fcfd;
	transform: translateY(25%);
}

.done-loading #loading-screen {
	pointer-events: none;
	animation: hide 0.5s ease-out 1 both;
	animation-delay: 0.5s;
}

.done-loading #loading-screen .inner {
	opacity: 0;
}

#loading-screen {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	background: linear-gradient(#222 55%, #183542 160%);
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 99999;
	opacity: 1;
	overflow: hidden;
}

@keyframes pulse {
	0% { transform: scale(0.9); }
    50% { transform: scale(1);}
    100% { transform: scale(0.9); }
}

#loading-screen .inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	color: #fff;
	font-size: 10vw;
	text-shadow: 0 0.4vh 0 rgba(0,0,0,0.8);
	animation: pulse 2s infinite both ease-in-out;
	position: relative;
	z-index: 1;
	transition: opacity 0.5s ease-out;
	opacity: 1;
}

#loading-screen .inner div {
	font-size: 5vw;
	color: #46dff0;
	text-shadow: 0 0.2vh 0 rgba(0,0,0,0.8);
}

#loading-screen svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	width: 100vh;
	height: 100vh;
	opacity: 0.5;
}

@keyframes circleAnim {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	20% {
		transform: scale(2);
		opacity: 1;
	}

	100% {
		transform: scale(16);
		opacity: 0;
	}
}

#c1 {
	transform-origin: center center;
	animation: circleAnim ease-in-out 3s infinite both;
}

#c2 {
	transform-origin: center center;
	animation: circleAnim ease-in-out 3s infinite both;
	animation-delay: 1.5s;
}



section.visible {
	opacity: 1;
	pointer-events: all;
}

section {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
}

#progress {
	z-index: 1;
	position: absolute;
	top: 4vh;
	height: 2.5vh;
	background: #183542;
	border: 0.4vh solid #67c5c7;

	left: 50%;
	width: 50%;
	margin-left: -25%;
	border-radius: 1vh;
}
#progress .inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 0.5vh;
}

#world-bars {
	z-index: 1;
	position: absolute;
	top: 8.4vh;
	height: 2.5vh;

	left: 50%;
	width: 35%;
	transform: translateX(-50%);
	display: grid;
	grid-auto-flow: column;
	gap: 0.5vh;
}

.world-bar {
	height: 2.5vh;
	background: #183542;
	border: 0.4vh solid #67c5c7;
	overflow: hidden;
	position: relative;
	border-radius: 1vh;
}

.world-bar .inner {
	position: absolute;
	left: -2%;
	top: -2%;
	width: 102%;
	height: 102%;
	background:  #85fcfd;
	opacity: 0;
}

.world-bar.active .inner {
	display: block;
	opacity: 1;
}


@keyframes opacityAnimation {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.world-bar.current .inner,
.world-bar.current:after {
	animation: opacityAnimation 2s ease-in-out both infinite;
}

#level, #next-level {
	font-weight: 900;
	position: absolute;
	color: #85fcfd;
	text-shadow: 0 2px rgba(0,0,0,0.4);
	top: -0.2vh;
	font-size: 2.5vh;
}

#level {
	left: -2vh;
	transform: translateX(-100%);
}

#next-level {
	right: -2vh;
	transform: translateX(100%);
}

#progress-bar {
	position: absolute;
	left: -.5%;
	top: -.5%;
	width: 101%;
	height: 101%;
	background: #85fcfd;
	transform-origin: left;
}

#ingame-display {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
}

@media (orientation: portrait) {
	#progress {
		width: 70%;
		margin-left: -15%;
		left: 30%;
	}

	#world-bars {
		width: 40%;
		height: 1.2vh;
	}

	.world-bar {
		height: 1.2vh;
	}

	#skip-button-ingame {
		top: 9vh !important;
		margin: 1vh;
		right: -3vh !important;
	}

	#pause-button {
		top: 9vh !important;
		margin: 1vh;
		width: 5vh;
		padding-right: 0.5vh;
		left: -2vh !important;
	}
}

#control-panel-button {
	position: absolute;
	right: 10px;
	top: 10px;
	font-weight: bold;
	background: rgba(255, 255, 255, 0.6);
	padding: 6px 10px;
}

#paused,
#unlock {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 96vh;
	padding: 2vh 0;
	background: rgba(20, 24, 33, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 48px;
	font-weight: bold;
	color: #fff;
	/* transition: opacity 0.1s; */
	flex-direction: column;
}

#unlock {
	background: rgba(20, 24, 33, 0.6);
	justify-content: center;
	align-items: center;
}

#unlock .inner {
	background: rgba(20, 24, 33, 0.95);
	border: 1vh solid #1eb0f3;
	box-shadow: 0 0 5vh rgba(0,0,0,0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
    width: 50vw;
	position: absolute;
	border-radius: 5vh;
	z-index: 1;
}

@keyframes popIn {
	0% {
		transform: scale(0.2, 0.2);
	}

	90% {
		transform: scale(1.05, 1.05);
	}

	100% {
		transform: scale(1, 1);
	}
}

#unlock.visible .inner {
	animation: popIn 0.2s both 1;
}



@media (orientation: portrait) {
	#unlock .inner {
		width: 70vw;
	}
}

#unlock h2 {
	position: relative;
	font-size: 5.5vh;
	max-width: 100%;
}

#unlock:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8));
	z-index: 0;
	pointer-events: none;
}

#unlock:before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0));
	z-index: 0;
	pointer-events: none;
}

#resume-button-unlock {
	height: 8vh;
    width: 24vh;
    font-size: 4vh;
    margin-right: 1vh;
}

#unlock .buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 32vh;
}

#unlock .button {
	margin: 1vh;
}

#continue-button-unlock {
	background: none;
	border: none;
}

.ships-button[new-indicator]:after {
	content: '';
    background: #ce1a1a;
    width: 2vh;
    height: 2vh;
    position: absolute;
    top: -1vh;
    right: -1vh;
    border-radius: 100%;
    border: 0.4vh solid rgba(255,255,255,0.5);
}

#control-panel, #settings {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(20, 24, 33, 0.97);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 48px;
	font-weight: bold;
	color: #fff;
	/* transition: opacity 0.1s; */
	flex-direction: column;
}

#touch-indicator {
	display: none;
	width: 200px;
	height: 10px;
	position: absolute;
	transform: translateX(-50%);
}

#touch-indicator:before {
	content: '';
	width: 50%;
	height: 100%;
	position: absolute;
	left: 1px;
	background: linear-gradient(to right, rgba(255,255,255, 0), #fff);
}

#touch-indicator:after {
	content: '';
	width: 50%;
	height: 100%;
	position: absolute;
	right: 1px;
	background: linear-gradient(to left, rgba(255,255,255, 0), #fff);
}

#touch-indicator-inner {
	position: absolute;
	top: -8px;
	left: 50%;
	margin-left: -7px;
	border: 14px solid transparent;
	border-top-color: #1a95ce;
	z-index: 1;
}

#control-panel h2, #settings h2 {
	margin-top: 8vh;
}

#control-panel .buttons {
	display: flex;
	align-items: center;
	margin-bottom: 2vh;
}

.button.navigation {
	font-size: 4vh;
	width: 6vh;
	flex-shrink: 0;
	height: 8vh;
	margin: 0;
}

#control-panel > * {
	position: relative;
	z-index: 1;
}

#control-panel:before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,0));
	z-index: 0;
	pointer-events: none;
}

#control-panel:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8));
	z-index: 0;
	pointer-events: none;
}

#ships-canvas {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	pointer-events: none;
	display: none;
	z-index: 2;
}

#ships-canvas.visible {
	display: block;
}

@media (orientation: landscape) {
	#ships-canvas {
		top: -4%;
	}
}

#control-panel-ship-name {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -20%;
	transform: translate3d(-50%, 0, 0);
}

#main-menu {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	transform: translateY(100%);
	transition-delay: 0.5s;
	transition: transform 0.5s ease-out;
}

#main-menu .button {
	position: relative;
	margin-bottom: 5.5vh;
}

.done-loading #main-menu {
	transform: translateY(0%);
}

#ingame[inactive] {
	opacity: 0.2;
}

#ingame:before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	width: 100%;
	height: 20%;
	background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,0));
	z-index: 0;
}

#ingame:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 20%;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
}

#main-menu:before {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 20%;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
}

.button {
	position: relative;
	z-index: 1;
	border: 0.4vh solid #09364b;
	background: #254c5e;
	text-transform: uppercase;
	width: 20vh;
	height: 5vh;
	margin: 2.5vh;
	/* margin-left: 0; */
	font-size: 2vh;
	text-align: center;
	line-height: 5vh;
	color: #85fcfd;
	font-weight: bold;
	letter-spacing: 0.5vh;
	text-shadow: 0 0.3vh rgba(0,0,0,0.2);
	box-shadow: 0 0 3vh rgba(0,0,0,0.5);
	line-height: 5.2vh;
	cursor: pointer;
	background: linear-gradient(#1a95ce, #104861);
	border-radius: 1vh;
	display: flex;
    align-items: center;
	justify-content: center;
	flex-direction: column;
}

#skip-button-ingame {
	position: absolute;
	right: .3vh;
	top: .3vh;
	opacity: 0;
	pointer-events: hover;
	transition: opacity 0.5s ease-out;
}

#skip-button-ingame[visible], #skip-button-ingame:hover {
	opacity: 1;
	pointer-events: all;
}

.skip-button,
#exit-button {
	width: 15vh;
}

.skip-button {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
}

.skip-button svg {
	width: 3vh;
	height: 3vh;
	margin-left: 1vh;
	margin-right: -1vh;
}

.skip-button path {
	fill: #85fcfd;
}

.skip-button span {
	margin: 0 auto;
}

.button[active=true] {
	background: linear-gradient(#1eb0f3, #104861);
}

.button:active {
	background: linear-gradient(#104861, #1eb0f3);
}

.button:hover,
.button[active=true] {
	color: #fff;
	border-color: #fff;
}

.button.big {
	width: 28vh;
	height: 12vh;
	font-size: 5vh;
	position: relative;
	max-width: 60vw;
	min-width: 15vw;
    min-height: 5vw;
}

#select-ship-button {
	width: 26vh;
	height: 8vh;
	font-size: 3vh;
}

.button[disabled=true] {
	background: linear-gradient(#c9c9c9, #606060);
	cursor: default;
	color: #fafafa;
	border-color: #bbb;
}

.button[disabled=true] path {
	fill: #fafafa;
}

.button-sub {
	line-height: 2vh;
	letter-spacing: 0.1vh;
	font-size: 2.2vh;
	background: rgba(0,0,0,0.4);
	padding: .8vh 0 .65vh;
	width: 99%;
	margin-top: 3%;
	/*font-weight: bold;
	font-size: 1.5vh;
	color: #254c5e;
	text-shadow: none;
	position: absolute;
	line-height: 3vh;
	bottom: 0;
	height: 3vh;
	width: 100%;
	letter-spacing: 0;
	border-top: 0.2vh solid #fff; */
}

.button-sub span {
	font-size: 1.3vh;
	position: relative;
	top: -0.3vh;
	margin: 0 0.55vh 0 0.5vh;
}

.ships-button {
	width: 12vh;
	height: 8vh;
	position: absolute;
	right: -6.5vh;
	bottom: 9%;
	transform: translateY(50%);
	background: linear-gradient(#1477a5, #082634);
}

.ships-button[active=true],
.ships-button:hover {
	border-color: #fff;
}

.ships-button[active=true] {
	background: linear-gradient(#1eb0f3, #104861);
}

.ships-button:active {
	background: linear-gradient(#082634, #1477a5);
}

.ships-button svg {
	fill: #85fcfd;
	width: 5vh;
	height: 5vh;
	position: absolute;
	left: 35%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.ships-button[active=true] svg {
	fill: #fff;
}


.ships-button {
	position: relative;
	bottom: 1.7vh;
	right: 0;
	transform: none;
	width: 8vh;
	height: 8vh;
	margin-left: 1vh;
}
.ships-button svg {
	left: 50%;
}


#back-button{
	position: absolute;
	height: 5vh;
	left: .3vh;
	top: .3vh;
	width: auto;
	font-size: 3vh;
	padding-left: 1.6vh;
	padding-right: 1.2vh;
	width: 3vh;
}

@media (orientation: portrait) {
	#back-button {
		margin: 1vh;
	}
}

#settings-button{
	position: absolute !important;
	height: 5vh;
	left: .3vh;
	top: .3vh;
	width: auto;
	font-size: 3vh;
	padding-left: 1.6vh;
	padding-right: 1.2vh;
	width: 3vh;
}

#settings-button svg {
	fill: #85fcfd;
	width: 120%;
    height: 120%;
    position: relative;
    left: -.15vh;
}

#settings-button:hover svg {
	fill: #fff;
}

@media (orientation: portrait) {
	#settings-button {
		margin: 1vh;
	}
}

#settings .buttons {
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) scale(1.5);
	width: 100%;
    display: flex;
    flex-direction: column;
	align-items: center;
}

#settings .buttons h3 {
	text-shadow: none;
	font-size: 2vh;
}

#settings .buttons .button {
	margin: 0;
	border-radius: 0;
	/* border-bottom-width: 0; */
	background: #09364b;
}

#settings .buttons .button[selected] {
	background: linear-gradient(#1a95ce, #1b7097);
}

#settings .buttons .button:hover,
#settings .buttons .button:active {
	border-color: #0d4f6d !important;
}

#settings .buttons .button:first-of-type {
	border-radius: 1vh 1vh 0 0;
}

#settings .buttons .button.last {
	border-bottom-width: 0.4vh;
	border-radius: 0 0 1vh 1vh;
}

#back-button-settings{
	position: absolute;
	height: 5vh;
	left: .3vh;
	top: .3vh;
	width: auto;
	font-size: 3vh;
	padding-left: 1.6vh;
	padding-right: 1.2vh;
	width: 3vh;
}

@media (orientation: portrait) {
	#back-button-settings {
		margin: 1vh;
	}
}

#pause-button{
	position: absolute;
	height: 5vh;
	left: .3vh;
	top: .3vh;
	width: auto;
	font-size: 3vh;
	padding-left: 1.6vh;
	padding-right: 1.2vh;
	width: 3vh;
}

#paused .buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: scale(1.2);
}

#paused .button {
	margin-top: 1.5vh;
}

#paused h2 {
	margin-bottom: 5vh;
}

h2, h3 {
	text-align: center;
	font-weight: bold;
	letter-spacing: 0.5vh;
	text-transform: uppercase;
	text-shadow: 0 0.5vh 1vh rgba(109,170,198,1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 7vh;
	margin: 3vh;
	max-width: 80%;
}

h3 {
	font-size: 5vh;
	margin: 1.5vh;
}

#credits {
	margin: auto 1vh 3vh;
	text-align: center;
	font-size: 2.5vh;
	font-weight: normal;
}

#credits strong {
	display: block;
	margin-bottom: 1.5vh;
	font-size: 3vh;
}

a {
	color: #85fcfd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


@media (orientation: portrait) {
	#credits {
		font-size: 1.5vh;
	}

	#credits strong {
		font-size: 2vh;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: center;
	}
}

.world-ship {
	display: none;
}

#world-bars{
	background: #183542;
    border: 0.4vh solid #67c5c7;
    position: relative;
	border-radius: .5vh;
	gap: .1vh;
}

.world-bar {
	background: none;
	border: none;
	border-radius: 0;
	overflow: visible;
}

.world-bar:not(:last-of-type) {
	border-right: .2vh solid #67c5c7;
}

.world-bar.inner {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.world-ship {
	position: absolute;
    right: -3vh;
    top: -0.65vh;
    width: 3vh;
    height: 3vh;
    display: flex;
    align-items: center;
	justify-content: center;
	background: #183542;
    border: 0.4vh solid #67c5c7;
	border-radius: 0.4vh;
	z-index: 1;
}

.world-ship svg {
	fill: #85fcfd;
	height: 80%;
	width: 80;
}

.world-bar.hidden {
	display: none;
}


@media (orientation: portrait) {
	#world-bars {
		height: 2.5vh;
	}

	.world-bar {
		height: 2.5vh;
	}
}

#speed {
	position: absolute;
	bottom: 1vh;
	left: 2.5vh;
	font-size: 10vh;
	color: rgba(255,255,255, 0.9);
	pointer-events: none;
	font-weight: bold;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-shadow: 0 0.4vh 0 rgba(0,0,0,0.8);
	transform: translateX(-150%);
	transition: 0.4s ease-out;
}

#speed-etc {
	font-size: 3vh;
	position: relative;
	top: 1.5vh;
	color: rgba(255,255,255, 0.6);
	text-shadow: 0 0.2vh 0 rgba(0,0,0,0.6);
}

#streak {
	text-shadow: 0 0.4vh 0 rgba(0,0,0,0.8);
	position: absolute;
	bottom: 1vh;
	right: 2.5vh;
	font-size: 10vh;
	color: rgba(255,255,255, 0.9);
	align-items: flex-end;
	pointer-events: none;
	font-weight: bold;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transform: translateX(150%);
	transition: 0.4s ease-out;
}

#streak-etc {
	font-size: 3vh;
	position: relative;
	top: 1.5vh;
	color: rgba(255,255,255, 0.6);
	text-shadow: 0 0.2vh 0 rgba(0,0,0,0.6);
}

.mobile #streak,
.mobile #speed {
	bottom: 14vh;
	font-size: 7vh;
}

.mobile #streak-etc,
.mobile #speed-etc {
	font-size: 2.5vh;
}

#speed-best,
#streak-best {
	font-size: 2vh;
	position: relative;
	top: -1.5vh;
	color: rgba(255,255,255, 0.6);
	text-shadow: 0 0.2vh 0 rgba(0,0,0,0.6);
}

.mobile #streak-best,
.mobile #speed-best {
	font-size: 2vh;
	top: -1.2vh;
}



#streak-number, #speed-number {
	will-change: transform;
	position: relative;
}

@keyframes increaseAnimation {
	0% {
		transform: scale(1);
	}
	10% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes decreaseAnimation {
	0% {
		color: #ff3542;
	}
	20% {
		transform: scale(1.4);
	}
	100% {
		transform: scale(1);
		color: rgba(255,255,255, 0.9);
	}
}

.increase {
	animation: increaseAnimation 1 0.5s ease-out;
}

.decrease {
	animation: decreaseAnimation 1 1s ease-out;
}

[notFirstLevel] #ingame.visible #streak,
[notFirstLevel] #ingame.visible #speed {
	transform: translateX(0);
}

#flash {
	opacity: 0;
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ff3542;
}

@keyframes flashAnimation {
	0% {
		opacity: 0.9;
	}

	100% {
		opacity: 0;
	}
}

#flash.flash {
	animation: flashAnimation 1 0.2s ease-in-out;
}
