@font-face {
	font-family: 'Raleway';
	src: url('../fnt/Raleway-Black.woff2') format('woff2'), url('../fnt/Raleway-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@media (orientation: landscape) {
	:root {
		--stoVX: calc(75vh + 25vw);
	}
}
@media (orientation: portrait) {
	:root {
		--stoVX: calc(75vw + 25vh);
	}
}
:root {
	--rootFontSize: calc((var(--stoVX) + 800px) / 200);
}
*,
:before,
:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,
:active {
	outline: 0 none;
}
ARTICLE,
ASIDE,
DETAILS,
FIGCAPTION,
FIGURE,
FOOTER,
HEADER,
HGROUP,
MAIN,
NAV,
SECTION,
SUMMARY {
	display: block;
	margin: 0;
	padding: 0;
}
HTML,
BODY {
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 320px;
	height: 100%;
	background-color: #101619;
	-webkit-text-size-adjust: none;
}
HTML {
	font-size: 10px;
	font-size: var(--rootFontSize);
}
BODY {
	font-family: sans-serif;
	font-size: 1.6rem;
	color: #fff;
	overflow: hidden;
	position: relative;
	display: flex;
	user-select: none;
}

MAIN {
	position: relative;
	width: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 1;
}
MAIN:before {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACNJREFUeNpiYGBgSADihv///zMwARkKQGwPxAyMIBEYAAgwAJu+Bz0wXJQCAAAAAElFTkSuQmCC');
	/* animation: back 500ms steps(2, jump-none) infinite; */
	z-index: -1;
}

VIDEO {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tapko {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 9rem;
	color: transparent;
	background-color: transparent;
	border: 0 none;
	-webkit-appearance: none;
	appearance: none;
}
.tapko:focus:before {
	content: '';
	position: absolute;
	bottom: 3.2rem;
	left: 3.2rem;
	right: 3.2rem;
	height: 2rem;
	border: 2px solid #3bc;
	border-radius: 1rem;
}

.meter {
	position: absolute;
	bottom: 3.2rem;
	left: 3.2rem;
	right: 3.2rem;
	height: 2rem;
	border: 2px solid #3bc;
	border-radius: 1rem;
	overflow: hidden;
	opacity: .8;
}
.meter:before {
	content: '';
	position: absolute;
	height: 100%;
	background-color: #3cd;
}
.meter.ready:before {
	animation: pbar 6925ms steps(14, jump-none) infinite;
}

.container {
	position: absolute;
	top: 7vh;
	left: 4rem;
	width: calc(100% - 8rem);
	font-size: 5em;
	text-transform: uppercase;
	font-weight: 900;
	color: gold;
	letter-spacing: .2rem;
	font-family: 'Raleway', sans-serif;
	opacity: 0;
}
.container P {
	margin: 0;
	text-align: center;
	line-height: 1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.word,
.letter {
	display: inline-block;
	position: relative;
}

.letter {
	background: linear-gradient(135deg, white, gold);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

#numer {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.75vh;
	font-weight: 900;
	width: 10vh;
	height: 10vh;
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 100;
	font-family: 'Raleway', sans-serif;
}
#numer:after,
#numer:before {
	content: attr(data-title);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}
#numer:before {
	text-shadow: 0 0 .5ex rgba(0,0,0,.5);
	color: transparent;
}
#numer:after {
	background: linear-gradient(180deg, white, gold);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}


@keyframes pbar {
	from { width: 0; }
	to   { width: 100%; }
}

@keyframes back {
	0%   { transform: translate(0,0); background-size: 3px; }
	25%  { transform: translate(0,2px); background-size: 2px; }
	50%  { transform: translate(2px,2px); background-size: 3px; }
	75%  { transform: translate(2px,0); background-size: 2px; }
	100% { transform: translate(0,0); background-size: 3px; }
}


@media (max-width: 821px) and (orientation: portrait), (max-height: 821px) and (orientation: landscape) {
	BODY {
		font-size: 2.2rem;
	}
	BODY:after {
		opacity: .8;
	}
	.container {
		font-size: 3.5em;
	}
	.meter {
		opacity: .9;
	}
}

@media (max-width: 480px) and (orientation: portrait) {
	.text-4 .word:nth-child(3) {
		display: block;
	}
}