@font-face {
	font-family: 'Times New Roman';
	src:
		local('Times New Roman')	
		url('fonts/timesi.ttf') format("truetype");
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Haettenschweiler';
	src: 
		local('Haettenschweiler'),
		url('fonts/HATTEN.ttf') format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

::-webkit-scrollbar {
  background: pink;
}

/* Track */
::-webkit-scrollbar-track {
  background: black;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background-image: url("assets/nome.gif");
  background-size: 100% 100%;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background-image: url("assets/logo_h.gif");
}

:root {
	--viewpoint-border-width: calc(.4vw + 0.6rem);
	--section-padding: .8rem;
	font-family: "Haettenschweiler";
	color: lime;
	text-rendering: geometricPrecision;
	image-rendering: pixelated;
	letter-spacing: .05ch;
}
html {
	overflow-x: clip;
	cursor: url("assets/nome_pointer.gif"), auto;
}
body {
	background: black;
	background-attachment: fixed;
	background-repeat: round;
	overflow-x: clip;
	/*
	background-size: 5%;
	image-rendering: pixelated;
	*/
}

img {
	display: inline-block;
}

#border {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	border-image-source: url("assets/lime_leaves_border.gif");
	border-width: var(--viewpoint-border-width);
	border-style: solid;
	border-image-slice: 16;
	border-image-repeat: round;
	z-index: 100;
	user-select: none;
	pointer-events: none;
}

#inner{
	padding: var(--viewpoint-border-width);
}

.container {
	max-width: 960px;
	width: 100%;
	margin: auto;
}

.standart-container {
	padding-left: 1.2rem;
	padding-right: 1.2rem;
	padding-top: 1.4rem;
	padding-bottom: 1.4rem;
}

.floating-shit {
	position: absolute;
	width: 100%;
	user-select: none;
}

.separator div {
	width: 100%;
	display: flex;
	justify-content: center;
}
.separator img {
	max-width: 1000px;
	width: 100%;

.separator img {
	max-width: 1000px;
	margin: auto;
}	margin: auto;
}

section {
	padding: 0rem var(--section-padding);
	margin-bottom: .8rem;
}

section:last-child {
	margin-bottom: 0rem;
}

section.first {
	padding-top: 3rem;
	margin-bottom: 10rem;
}

section.first .logo-info-wrapper {
	max-width: 625px;
	margin: auto;
	text-align: center;
	font-size: 1.4rem;
}
section.first .container {
	position: relative;
}
section.first .upper {
	position: relative;
}

section.first .floating-shit.heroin {
	left: 0%;
	top: -1.3rem;
	max-width: 140px;
}
section.first .floating-shit.nome {
	right: 0%;
	top: -3rem;
	max-width: 150px;
	transform: skew(268deg, 25deg);
}
section.first .floating-shit.landscape {
	right: -6rem;
	top: 11rem;
	max-width: 300px;
	z-index: 10;
}
section.first .floating-shit.czernyj {
	left: -18rem;
	top: 10rem;
	max-width: 250px;
	z-index: 11;
}

section.first .floating-shit.golova {
	right: -9rem;
	top: 4rem;
	max-width: 200px;
	z-index: 11;
}

section.first .logo-info-wrapper .logo {
	display: inline-block;
	margin-bottom: -1.1rem;
	width: 625px;
	user-select: none;
}
section.first .logo-info-wrapper p {
	display: inline-block;
	line-height: 1;
}

section.first .info {
	position: relative;
	margin: auto
}
section.first .info .overdraw {
	position: absolute;
	top: -65%;
	left: -3%;
	z-index: 1;
	pointer-events: none;
	user-select: none;
}
section.first .info p {
	line-height: 1.2;
	font-size: 1.3rem;
}
section.first .info p > a {
	color: blue;
	text-shadow: 0px 0px 0px lime;
}


section.towns {
	padding-bottom: 2.5rem;
}

section.towns .wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}

section.towns .town {
	width: calc(50% - .8rem/2);
	flex: 0 1 auto;
	position: relative;
}

section.towns .town img {
	width: 100%;
}

section.towns .town p {
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 1.4rem;
	line-height: 1.3;
}

section.towns .town {
	position: relative;
}


section.towns .floating-shit.begemot {
	right: -1rem;
	top: 4rem;
	max-width: 500px;
	z-index: 12;
}
section.towns .floating-shit.little_prince {
	right: -16rem;
	top: -12rem;
	max-width: 400px;
	z-index: 10;
}
section.towns .floating-shit.little_prince:active {
	filter: invert(1);
}
section.towns .floating-shit.kit {
	right: 24rem;
	top: -2rem;
	max-width: 250px;
	z-index: 10;
	transform: rotate(15deg);
}

section.towns .floating-shit.kit:active {
	filter: invert(1);
}
section.towns .floating-shit.iisus {
	right: 15rem;
	top: -3rem;
	max-width: 200px;
	z-index: 8;
}
section.towns .floating-shit.nbp {
	right: 24rem;
	top: 13rem;
	max-width: 250px;
	z-index: 9;
	transform: rotate(308deg);
}

section.instruction {
	color: red;
	letter-spacing: 0.1ch;
	padding-top: 3.5rem;
	padding-bottom: 3rem;
}
section.instruction .title-space {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}

section.instruction .title-space h1 {
	font-family: "Times New Roman";
	font-style: italic;
	text-transform: uppercase;
	transform: skew(333deg, 0deg) translate(-.5rem, 0);
	font-size: 3.5rem;
	letter-spacing: .5ch;
	margin-right: 3rem;
	line-height: .9;
	flex: 0 0 auto;
	font-weight: 400;
}

section.instruction .title-space p {
	font-size: 1.4rem;
	max-width: 365px;
	line-height: 1.1;
	flex: 1 0 auto;
}

section.instruction .instructions {
}
section.instruction .instructions .wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	column-gap: 1rem;
	margin-bottom: 2.5rem;
}

section.instruction .instructions .wrapper:last-of-type{
	margin-bottom: 0rem;
}

section.instruction .instructions .bullit {
	width: 100%;
	max-width: 69px;
}
section.instruction .instructions .bullit>div {
	float: right;
	position: relative;
	
}
section.instruction .instructions .bullit p {
	display: inline-block;
	position: absolute;
	top: 3px;
	right: 6px;
	font-size: 1.25rem;
}
section.instruction .instructions .bullit img {
	
}

section.instruction .instructions .bullit_1 p {
}

section.instruction .instructions .bullit_2 p {
	top: 1px;
	right: 14px;
}
section.instruction .instructions .bullit_3 p {
	top: 0px;
	right: 14px;
}
section.instruction .instructions .bullit_4 p {
	top: 3px;
	right: 8px;
}

section.instruction .instructions .bullit_5 p {
	top: 2px;
	right: 9px;
}
section.instruction .instructions .instruction {
	flex: 1 1 auto;
	padding-top: .3rem;
}
section.instruction .instructions .instruction h2 {
	font-family: "Times New Roman";
	font-style: italic;
	font-size: 1.4rem;
	margin-bottom: .4rem;
}
section.instruction .instructions .instruction p {
	max-width: 425px;
	line-height: 1.2;
	font-size: 1.4rem;
}

section.instruction .instructions .instruction img {
	margin-top: .6rem;
	display: inline-block;
}

section.instruction .instructions .instruction_1 a {
	color: blue;
	font-size: 1.4rem;
	margin-top: .6rem;
	display: inline-block;
	text-shadow: 0px 0px 0px red;
}
section.instruction .instructions .instruction_1 a img {
	max-width: 28px;
	vertical-align: middle;
	margin-top: 0;
}

footer .container {
	position: relative;
}

footer .wrapper {
	display: flex;
	justify-content: space-between;
	font-family: "Times New Roman";
	font-style: italic;
	font-size: 1.6rem;
	padding: 0rem 4rem;
	text-align: bottom;
	line-height: 1;
}

footer .wrapper .left {
	display: inline-flex;
	align-items: baseline;
	gap: 3rem;
}
footer .wrapper .right {
	display: inline-flex;
	align-items: baseline;
	gap: 1.6rem;
}
footer .wrapper p {
	display: inline-block;
}
footer .wrapper a {
	display: inline-block;
	color: blue;
	font-size: 2rem;
}

footer .floating-shit.two_sit {
	width: 160px;
	left: -8rem;
	top: 0rem;
}

footer .floating-shit.scene {
	width: 160px;
	right: -6rem;
	top: 0rem;
}

@media(max-width: 1000px) {
	
	#border {
		height: 100vh;
	}
	
	.separator img { 
		max-width: 85%;
	}
	section.first {
		padding-top: 6rem;
		margin-bottom: 20rem;
	}
	section.first .upper {
		margin-bottom: 12rem;
	}
	section.first .logo-info-wrapper p {
		font-size: 1.2	rem;
	}
	section.first .info {
		position: relative;
	}
	section.first .info .text {
		position: absolute;
		margin-left: 2rem;
		left: 0;
		right: 0;
		width: 300px;
		padding-top: 1.6rem; 
	}
	section.first .info p {
		display: inline-block;
	}
	section.first .info .overdraw {
		width: 300px;
		position: relative;
		margin-left: calc(.8rem + .4rem);
		display: block;
	}
	
	section.first .floating-shit.heroin {
		left: -.8rem;
		top: -6rem;
		max-width: 100px;
	}
	section.first .floating-shit.nome {
		right: 0%;
		top: -6rem;
		max-width: 150px;
		transform: skew(259deg, 32deg);
	}
	section.first .floating-shit.landscape {
		right: -1.6rem;
		top: 11rem;
		max-width: 240px;
		z-index: 10;
	}
	section.first .floating-shit.czernyj {
		left: -5rem;
		top: 7rem;
		max-width: 240px;
		z-index: 11;
	}

	section.first .floating-shit.golova {
		right: -1.6rem;
		top: 6rem;
		max-width: 160px;
		z-index: 11;
	}
	
	
	
	section.towns {
		padding-bottom: 4rem;
	}

	section.towns .wrapper {
		gap: .8rem;
	}

	section.towns .town {
		width: 100%;
	}

	section.towns .floating-shit.begemot {
		left: -.8rem;
		top: -8rem;
		max-width: 12rem;
	}
	section.towns .floating-shit.little_prince {
		right: -1.6rem;
		top: -15rem;
		max-width: 17rem;
	}
	section.towns .floating-shit.kit {
		left: 0rem;
		top: -15rem;
		max-width: 10rem;
	}
	section.towns .floating-shit.iisus {
		left: 7rem;
		top: -19rem;
		max-width: 8rem;
	}
	section.towns .floating-shit.nbp {
		left: 6rem;
		top: -10rem;
		max-width: 10rem;
	}
	
	
	section.instruction {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
	section.instruction .title-space {
		gap: .8rem;
		margin-bottom: 1.5rem;
	}

	section.instruction .title-space h1 {
		display: inline-block;
		padding-left: 1rem;
		padding-right: 1rem;
		max-width: 100%;
		margin-right: 0;
		font-size: 2rem;
	}

	section.instruction .title-space p {
		font-size: 1.2rem;
		max-width: 100%;
	}

	section.instruction .instructions {
	}
	section.instruction .instructions .wrapper {
		margin-bottom: 3.5rem;
	}

	section.instruction .instructions .bullit {
		max-width: 100%;
		display: flex;
		justify-content: center;
	}
	section.instruction .instructions .bullit>div {
		margin: auto;
	}
	section.instruction .instructions .bullit p {
	}
	section.instruction .instructions .instruction {
		padding-top: 0rem;
		display: inline-grid;
	}
	section.instruction .instructions .instruction h2 {
		text-align: center;
	}
	section.instruction .instructions .instruction p {
		font-size: 1.2rem;
		text-align: justify;
		margin: auto;
	}

	section.instruction .instructions .instruction img {
		margin-left: auto;
		margin-right: auto;
	}
	
	


	footer .container {
	}

	footer .wrapper {
		display: flex;
		flex-wrap: wrap;
		font-size: 1.2rem;
		padding: 0rem .8rem;
		gap: 1.6rem;
	}

	footer .wrapper .left {
		justify-content: space-between;
		width: 100%;
	}
	footer .wrapper .right {
		gap: 1rem;
		width: 100%;
	}
	footer .wrapper .right p {
		text-align: right;
		font-size: inherit;
		width: 100%;
	}
	footer .wrapper a {
		font-size: 1.8rem;
	}

	footer .floating-shit.two_sit {
		width: 160px;
		left: -.8rem;
		width: 8rem;
		top: calc(100% + 0rem);
	}

	footer .floating-shit.scene {
		width: 160px;
		right: -.8rem;
		width: 8rem;
		top: calc(100% + 0rem);
	}
}