* {
	all: unset;
}

.page {
	display: flex;
	flex-direction: column;
	max-width: 100%;
	overflow-x: hidden;
	background: #f579fa;
}

.header {
	max-width: 100%;
	color: #ffffff;
	display: block;
	border-bottom: 1px solid #000000;
	padding: 0 10px 0 10px;
}

.header-manage {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content:space-between;
	gap: 10px;
}

.header a {
	max-width: 100%;
	color: #ffffff;
}

.header_content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.header-logo img {
	max-height: 97px;
	max-width: 97px;
}

.section-1 {
	width: 100%;
	margin: auto;
	display: block;
	position: relative;
}

#section-1_background {
	width: 100%;
	height: 1100px;
	object-fit: fill;
}

.section-1_content {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.subheader {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	justify-content: space-between;
	margin: 50px 0px 40px 0px;
}

.subheader img {
	width: 100%;
	height: 100%;
	max-width: 100px;
	max-height: 100px;
	align-self: center;
	justify-self: center;
}

@media screen and (min-width: 500px) {
	.subheader img {
		max-width: 300px;
		max-height: 300px;
	}
}

.flex-column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.info-brick {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	backdrop-filter: blur(10px);
	border: 5px solid #ffffff;
	color: #ffffff;
	font-family: "Anton";
	text-transform: uppercase;
	font-size: calc((1.2 - 1) * 1.2vw + 1rem);
	text-align: center;
	font-size: 3vw;
}

.button {
	border: 2px solid #ffffff;
	padding: 10px;
	color: #ffffff;
	border-radius: 5px;
	text-transform: uppercase;
	min-height: 30px;
}

.button_small {
	font-size: 1em;
	max-height: 20px;
	padding: 5px;
}

.button:hover {
	cursor: pointer;
	border-color: #000000;
	color: #000000;
	background-color: #ffffff;
	transition: 0.5s;
}

.running-text {
	display: flex;
	align-items: center;
	height: 300px;
	overflow: hidden;
	text-transform: uppercase;
	font-family: "Anton";
}

.scroll {
	white-space: nowrap;
	margin: 0 2em;
}

.scroll div {
	display: flex;
	gap: 2em;
}

.scroll p {
	font-size: 5em;
	font-weight: bold;
	margin-bottom: 0;
	line-height: 10px;
	color: #ffffff;
	opacity: 0.7;
}

.scroll .delayed {
	animation-delay: 10s;
}

.RightToLeft {
	animation: RightToLeft 20s infinite linear;
}

@keyframes RightToLeft {
	0% {
		transform: translate3d(0, 0, 0);
	}

	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

.LeftToRight {
	animation: LeftToRight 20s infinite linear;
}

@keyframes LeftToRight {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0%);
	}
}

.section_2 {
	background: linear-gradient( rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4) ), url("/img/backsite.png");
	background-size: cover;
	height: 600px;
	color: #000000;
	border-bottom: 5px solid #000000;
	margin-top: -120px;
	clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0 100%, 0 15%);
}

.section_3 {
	background: #f579fa;
	display:flex;
	flex-direction:column;
	padding: 30px 20px 30px 20px;
}

@media screen and (min-width: 1549px) {
	.section_3 video {
		max-height: 670px;
		align-self: center;
		justify-self: center;
		grid-area: 1 / 1 / 3 / 2;
	}
	.section_3 {
		display: grid;
		grid-template-columns: 2fr 1fr;
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 20px;
	}
	.buy-step {
		align-self: center;
		font-size: 1.3vw;
	}
}

.section_3 img {
	width: 100%;
	height: auto;
	padding-bottom: 20px;
}

.buy-step {
	text-align: justify;
	padding-top: 20px;
	font-size: 1.3vw;
}

@media screen and (min-width: 700px) and (max-width: 1548px) {
	.buy-step {
		font-size: 2.3vw;
	}
}

@media screen and (max-width: 699px) {
	.buy-step {
		font-size: 4.3vw;
	}
}

.footer {
	background: #f579fa;
	padding: 0px 20px 0px 20px;
	font-family: "Anton";
	padding-bottom: 20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr 4fr 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	text-transform: uppercase;
	font-size: 4vw;
}

.footer_name {
	color: #163716;
	font-weight: 400;
	grid-area: 1 / 1 / 2 / 2;
	font-size: 5vw;
}

.footer_contacts {
	display: flex;
	flex-direction: column;
	grid-area: 2 / 1 / 3 / 2;
}

.footer_mail {
	grid-area: 3 / 1 / 4 / 2;
}

.footer-location {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.centered {
	align-items: center;
}

.location {
	grid-area: 1 / 3 / 2 / 4;
	text-align: center;
	font-size: 5vw;
}

.time {
	grid-area: 2 / 3 / 3 / 4;
}

.location-country {
	
	color: #163716;
}

.footer_logo {
	grid-area: 1 / 2 / 3 / 3;
	max-width: 170px;
	max-height: 170px;
	align-self: center;
	justify-self: center;
}

.footer_logo img {
	width: 100%;
	height: 100%;
}

.credentials {
	grid-area: 3 / 1 / 4 / 4;
	display: flex;
	justify-content: space-between;
}

.creator {
	text-align: right;
	text-transform: none;
	font-size: 3.3vw;
	display: flex;
	align-items: end;
}

.flag {
	max-width: 25px;
	max-height: 25px;
	margin-right: 10px;
}

.button-lang {
	max-height: 97px;
	max-width: 150px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: "Anton";
}

.social {
	display: flex;
	justify-content: space-between;
}

.social a {
	max-width: 64px;
	max-height: 64px;
}

.stock {
	background: #000000;
	color: #ff00ff;
	font-family: "Tiny5", sans-serif;
	text-align: center;
	padding-top: 20px;
	text-shadow: 2px 2px 2px black;
}

.terminal {
	border: 2px solid #ff00ff;
	border-radius: 15px;
	box-shadow: 0 0 15px 4px #ff00ff;
	display: flex;
	flex-direction: column;
	padding: 30px;
	margin: 30px;
	text-align: left;
	font-size: 5vw;
	position: relative;
	height: 70%;
	min-height: 50vh;
}

.terminal_header {
	text-transform: uppercase;
	font-size: 5vw;
}

.list {
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.list_header {
	z-index: 2;
	padding-top: 20px;
}

.terminal__top {
	position: absolute;
	max-width: 50px;
	max-height: 50px;
	top: 0;
	margin-inline: auto;
	left: 0;
	right: 0;
	z-index: 1;
}

.terminal__mid {
	display: none;
	position: absolute;
	z-index: 1;
	max-width: 200px;
	max-height: 200px;
	top: 30%;
	margin-inline: auto;
	left: 0;
	right: 0;
	z-index: 1;
}

.terminal__bottom {
	position: absolute;
	z-index: 1;
	width: 10em;
	bottom: 0;
	right: 0;
	margin: 8px;
}

.column {
	display: flex;
	flex-direction: column;
	width: 90%;
	align-self: center;
}

.list {
	color: #229c00;
}

.list li {
	margin: 10px 0px;
}

.row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 10px 0px 10px 0px;
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 10%;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	backdrop-filter: blur(10px);
}

.modal-header {
	padding: 10px 10px;
	background-color: #000000;
	color: #229c00;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: "Tiny5", sans-serif;
	text-transform: uppercase;
	border-bottom: solid 1px #229c00;
	font-size: 2em;
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #000000;
	margin: auto;
	padding: 0px 10px;
	max-width: 80%;
	width: fit-content;
	font-family: "Tiny5", sans-serif;
	text-transform: uppercase;
	color: #229c00;
}

.modal-only-img-content {
	position: relative;
	margin: auto;
	padding: 0;
	display: block;
	width: fit-content;
}

.modal-body {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.modal-body p {
	margin: 5px 0px;
}

@media screen and (max-width: 367px) {
	.modal-header {
		font-size: 1.5em;
	}

	.modal-body {
		font-size: 0.9em;
	}

	.header-logo img {
		max-height: 65px;
		max-width: 65px;
	}
}

@media screen and (max-width: 422px) {
	.button_small {
		font-size: 0.6em;
	}
}

.modal-body img {
	width: 550px;
    height: 70vh;
}

@media screen and (max-width: 599px) and (min-width: 370px) {
	.modal-body img {
		width: 360px;
		height: 50vh;
	}
}

@media screen and (max-width: 369px) and (min-width: 300px) {
	.modal-body img {
		width: 300px;
		height: 50vh;
	}
}

.close {
	color: white;
	font-size: 28px;
	font-weight: bold;
}

.close-img {
	position: absolute;
	right: 0;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

@media screen and (max-width: 799px) and (min-width: 750px) {
	.social a {
		max-width: 50px;
		max-height: 50px;
	}
}

@media screen and (max-width: 699px) and (min-width: 460px) {
	.social {
		margin-top: -12px;
	}
}

@media screen and (max-width: 749px) {
	.social a {
		max-width: 32px;
		max-height: 32px;
	}
}

.social a:hover {
	cursor: pointer;
}

@media screen and (min-width: 800px) {
	.footer {
		font-size: 2vw;
		line-height: 1;
	}

	.location {
		font-size: 4vw;
	}

	.footer_name {
		font-size: 4vw;
	}

	.creator {
		font-size: 1.3vw;
	}

	.footer_logo {
		max-width: 250px;
		max-height: 250px;
	}
	.footer_contacts {
		align-self: center;
	}
	.time {
		align-self: center;
	}

	.column {
		align-self: center;
		display: flex;
		flex-direction: column;
	}

	.terminal {
		font-size: 2vw;
	}

	.terminal__top {
		max-width: 100px;
		max-height: 100px;
	}

	.terminal__mid {
		display: block;
	}
}
