html,
body {
	overflow: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
	width: 0;
	height: 0;
}

body {
	padding: 30px 0 0 0;
	position: relative;
	min-height: 100vh;
	font-family: 'Oswald', sans-serif;
	background-image: url('../img/first_frame.jpg');
	background-size: cover;
	background-position: center center;
}

#bg-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	z-index: -1;
	pointer-events: none; /* отключает любые взаимодействия */
}
.container {
	max-width: 1440px;
	display: block;
	margin: 0 auto;
}
.button {
	color: white;
	font-size: 20px;
	background-color: #cc0a0a;
	padding: 10px;
	border-radius: 5px;
	margin: 0 auto;
}
.button:hover {
	background-color: #800505;
}

.cat-img {
	display: block;
	margin: 80px auto 50px;
	border-radius: 100%;
	transform: translateY(0);
	transition: transform 0.3s ease;
}
.cat-img:hover {
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	from {
		transform: translateY(0) rotate(0deg) scale(1.05);
	}
	to {
		transform: translateY(0) rotate(360deg) scale(1.05);
	}
}

.wrapper {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15%;
	z-index: 10;
}
.block {
	background: #ff5e00;
	background: linear-gradient(
		254deg,
		rgba(255, 94, 0, 1) 0%,
		rgba(255, 229, 0, 1) 85%
	);
	min-width: 300px;
	min-height: 300px;
	border-radius: 10px;

	position: relative;
	padding: 0 0 20px 0;
}
.block:focus {
	background: red;
}
.block__title {
	border-radius: 9px 9px 0 0;
	width: 100%;
	padding: 10px;
	background-color: black;
	font-size: 30px;
	text-align: center;
	color: white;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.clear-input_btn {
	color: white;
	position: absolute;
	font-size: 20px;
	top: 17px;
	right: 15px;
	display: none;
	transition: all 0.2s ease;
	will-change: transform;
}
.clear-input_btn:hover {
	transform: scale(1.2);
}
.clear-input_btn:active {
	color: red;
}
.input {
	font-size: 20px;
	color: rgb(97, 84, 84);
	font-weight: bold;
	width: 80%;
	display: block;
	background-color: rgba(58, 44, 44, 0.1);
	margin: 0 auto 10px;
	height: 65px;
	padding: 15px;
	border-radius: 15px;
}
.input-title {
	color: rgb(10, 9, 9);
	background-clip: text;

	display: block;
	text-align: center;
	font-size: 20px;
	text-transform: uppercase;
	font-weight: bold;
	width: 200px;
	margin: 0 auto 5px;
}

.progress-block {
	position: relative;
	z-index: 100;
}
.btn-grey {
	background-color: #3a3939;
}
/* styling table */
.result-table {
	position: absolute;
	min-width: 70%;
	left: 50%;
	transform: translateX(-50%);
	top: 105%;
	display: none;
}
td,
th {
	border: 1px solid #cc0a0a;
	padding: 5px;
	font-size: 20px;

	background-color: rgba(15, 10, 4, 0.8);
	color: rgb(250, 250, 250);
}
td:hover,
th:hover {
	background-color: rgba(214, 149, 51, 0.8);
}

.table-title {
	font-size: 20px;
	position: relative;
}
.table-step {
	min-width: 80px !important;
}
.table-title th {
	min-width: 170px;
}

.table-btn {
	position: absolute;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	border: none;
	background-color: inherit;
	top: -5px;
}
.table-btn:hover {
	background-color: inherit;
}

.copy-btn {
	font-size: 25px;
	z-index: 1000;
	color: rgb(226, 226, 226);
	transition: transform 0.3s ease;
}
.copy-btn:hover {
	transform: scale(1.1);
}
.copy-btn:active {
	color: rgba(245, 2, 2, 0.8);
}
.close-btn {
	font-size: 25px;
	color: rgb(226, 226, 226);
}
.close-btn:hover {
	transform: scale(1.1);
}
.close-btn:active {
	color: rgba(245, 2, 2, 0.8);
}

.lot-block {
	position: relative;
}
.wrapper-lot_result {
	position: absolute;
	min-width: 300px;
	text-align: center;
	top: 105%;
	left: 50%;
	transform: translateX(-50%);
	display: none;
}

.text {
	font-size: 25px;
	font-weight: bold;
	/* color: rgb(200, 255, 0); */
	color: rgb(250, 250, 250);
}

.risk-block {
	position: relative;
}
.wrapper-risk {
	position: absolute;
	min-width: 300px;
	text-align: center;
	left: 50%;
	transform: translateX(-50%);
	top: 105%;
}

.tyan-img1 {
	width: 25%;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-100%);
	transition: all 1s ease;
	z-index: 200;
}
.tyan-img2 {
	width: 25%;
	position: fixed;
	bottom: 0;
	transform: translateX(0%);
	left: 50%;
	transition: all 1s ease;
	z-index: 200;
}
.hide {
	display: none;
}
.show {
	display: block;
}
/* @media (max-height: 1024px)  */

@media (max-width: 1600px) {
	body {
		padding: 40px 0 0 0;
	}
	.container {
		max-width: 1000px;
	}
	.wrapper {
		gap: 10%;
	}
	td,
	th {
		border: 1px solid #cc0a0a;
		padding: 3px;
		font-size: 15px;
	}
	.table-step {
		min-width: 60px !important;
	}
	.table-title th {
		min-width: 82px;
	}
	.copy-btn {
		font-size: 18px;
	}
	.close-btn {
		font-size: 18px;
	}
	.clear-input_btn {
		font-size: 16px;
		top: 13px;
		right: 15px;
	}
	.wrapper {
		margin-top: 40px;
		top: 45%;

		gap: 12%;
	}
	.block {
		min-width: 200px;
		min-height: 200px;
		border-radius: 10px;

		padding: 0 0 10px 0;
	}
	.block__title {
		font-size: 20px;

		margin-bottom: 20px;
	}

	.input {
		font-size: 14px;
		width: 85%;
		height: 40px;
		padding: 10px;
		border-radius: 10px;
	}
	.input-title {
		font-size: 15px;
	}
	.cat-img {
		margin: 0 auto 0;
		width: 14%;
	}
	.button {
		color: white;
		font-size: 20px;
		background-color: #cc0a0a;
		padding: 10px;
		border-radius: 5px;
		margin: 0 auto;
	}
	.button {
		font-size: 15px;
	}

	.text {
		font-size: 18px;
	}
}
