@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500&subset=cyrillic');
/* fallback */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/materialicons/v55/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
body {
	margin: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-family: Roboto,RobotoDraft,Helvetica,Arial,sans-serif;
	-webkit-font-smoothing: antialiased;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
}
html, body {
	margin: 0;
	width: 100%;
	height: 100%;
}
a {
	text-decoration: none;
	color: inherit;
}
canvas {
    width: 100%;
	height: 100%;
	background-color: #000000;
}
#level-score {
    font-size: 4.5vh;
    position: absolute;
    top: 2vh;
    text-align: center;
    font-weight: 500;
    z-index: 1;
}
@keyframes pause-text {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}
@-moz-keyframes pause-text {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}
@-webkit-keyframes pause-text {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}
#pause-text {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	color: #ffffff;
	display: flex;
	z-index: 100;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation-name: pause-text;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}
#pause-text span {
	font-size: 5vh;
	font-weight: 500;
	text-align: center;
}
#pause-text span p {
	text-align: center;
	margin: 0;
}
#pause-text #start {
	font-size: 7.5vh;
	font-weight: bold;
	margin-top: 15vh;
}
#pause-text #touch {
	font-size: 4vh;
	margin-bottom: 15vh;
}
@keyframes popup-ad {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 1);
    }
}
@-moz-keyframes popup-ad {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 1);
    }
}
@-webkit-keyframes popup-ad {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 1);
    }
}
#window-adv-ad {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: black;
    z-index: 101;
	animation-name: popup-ad;
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
}
#window-adv-ad p {
	text-align: center;
	margin: 0;
}
#window-adv-icon {
	font-size: 25vh;
	height: 25vh;
	font-weight: 500;
	margin-bottom: 5vh !important;
	padding: 0;
}
#window-adv-text {
	width: 75%;
	font-size: 8vh;
	font-weight: 500;
	margin-bottom: 10vh !important;
}
#mute-button {
	position: absolute;
	font-size: 7vh !important;
	top: 5vh !important;
	right: 5vh !important;
	height: 11vh !important;
	width: 11vh !important;
    justify-content: center;
    align-items: center;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	z-index: 101;
	cursor: pointer;
	display: flex;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
	outline: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#mute-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
}
.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
  
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
  
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
  
	/* Support for IE. */
	font-feature-settings: 'liga';
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
	outline: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}