@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	color: #494049;
}
body {
	width: 100%;
	height: 100%;
	background-color: #fff;
}
a,
ul,
li {
	text-decoration: none;
	list-style: none;
	color: inherit;
}

.btn {
	width: 300px;
	height: 60px;
	background: #226ce6;
	border-radius: 4px;
	font-size: 20px;
	line-height: 24px;
	/* identical to box height */

	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.btn a {
	width: 100%;
	height: 100%;
	display: grid;
	justify-content: center;
	align-content: center;
}

/* Стили для подложки */

.overlay {
	/* Скрываем подложку  */
	opacity: 0;
	visibility: hidden;

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(70, 70, 72, 0.5);
	z-index: 20;
	transition: 0.3s all;
}

/* Стили для модальных окон */

.modal {
	/* Скрываем окна  */
	opacity: 0;
	visibility: hidden;

	/*  Установаем ширину окна  */
	max-width: 502px;
	max-height: 450px;

	/*  Центрируем и задаем z-index */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* z-index: 30;  */
	/* Должен быть выше чем у подложки  */

	/* position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center; */
	z-index: 30;

	/*  Побочные стили   */
	/* box-shadow: 0 3px 10px -0.5px rgba(0, 0, 0, 0.2);
	text-align: center;
	padding: 30px;
	border-radius: 3px;
	background-color: #fff; */
	transition: 0.3s all;
}

/* Стили для активных классов подложки и окна */

.modal.active,
.overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal_window {
	position: relative;
	z-index: 30;

	max-width: 502px;
	max-height: 450px;

	padding: 60px 94px;
	background: #fff;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 35px;
}

.modal_title {
	font-weight: 600;
	font-size: 21px;
	line-height: 143%;

	max-width: 314px;
}

.model_form {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 35px;
	flex-direction: column;
}

.email_input {
	width: 314px;
	height: 60px;
	background: #f2f6fa;
	box-shadow: inset 0px 2px 8px rgba(199, 196, 196, 0.25);
	border-radius: 4px;
	border: none;

	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 0 15px;
	font-size: 15px;
	line-height: 160%;
	font-family: inherit;
}
.email_input:active,
.email_input:focus {
	outline-color: #226ce6;
}

.btn_and_checkbox {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	flex-direction: column;
}

.input_btn {
	border: none;
	display: none;
}

.check {
	font-size: 11px;
	line-height: 15px;
	display: flex;
	align-content: center;
	gap: 10px;

	align-self: flex-start;
}
.check > input:focus,
.check > input:active {
	outline-color: #226ce6;
}
