/* default style for larger screens */
h1 {
	max-width: 800px; /* set the maximum width to 800px */
	margin: 0 auto; /* center the headings within their container */
	margin-bottom: 20px;
	padding: 20px 0;
}

h2,
h3,
h4,
h5 {
	max-width: 600px; /* set the maximum width to 600px */
	margin: 0 auto; /* center the headings within their container */
	margin-bottom: 20px;

	font-weight: 200;
}

.t-width_10 {
	max-width: 500px !important;
}

form {
	display: flex;
	flex-direction: column;
	width: 80%;
	max-width: 400px;
	margin: 0 auto;
}

label {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	display: block;
	color: #333;
}

#myForm > div {
	width: 100%;
}

#myForm > div input,
select,
textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

input,
select,
textarea {
	font-size: 16px;
	padding: 10px;
	margin-bottom: 15px;
	border-radius: 5px;
	border: none;
	background-color: #f2f2f2;
	width: 100%;
	color: #333;
	box-sizing: border-box;
}

select#options {
	margin-bottom: 30px;
}

input[type='radio'] {
	margin-right: 10px;
}

input[type='submit'] {
	background-color: #8d181c;
	color: #fff;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	border: none;
	border-radius: 5px;
	padding: 12px 24px;
	font-size: 18px;
	width: 100%;
}

input[type='submit']:hover {
	background-color: #a02024;
}

input#consent {
	display: none !important;
}

/* media queries for smaller screens */
@media screen and (max-width: 600px) {
	form {
		padding: 20px;
	}

	input {
		width: 100%;
	}
}

#consent {
	transform: translateY(
		2px
	); /* Для корректировки позиции галочки относительно текста */
	margin-right: 5px; /* Для создания расстояния между галочкой и текстом */
}

label[for='consent'] {
	display: inline-block; /* Для установки элемента label в виде блока */
	font-size: 12px; /* Размер шрифта текста */
	opacity: 0.6; /* Чтобы сделать текст менее выразительным */
	font-weight: normal; /* Для уменьшения жирности текста */
}

/* стили прелоадера */

#loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Стили для кругового прогресс-бара */
.circular-progress {
	position: relative;
	width: 120px;
	height: 120px;
}

.circular-progress .inner,
.circular-progress .circle {
	position: absolute;
	box-sizing: border-box;
	border: 10px solid transparent;
	border-radius: 50%;
}

.circular-progress .inner {
	width: 100%;
	height: 100%;
}

.circular-progress .circle {
	width: 100%;
	height: 100%;
	border-top-color: #3498db;
	border-right-color: #3498db;
	animation: rotate 2s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Скрыть прелоадер после загрузки */
#loader.hidden {
	display: none;
}

.wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.wrapper input {
	width: auto !important;
}
