/*Fonts include*/

@font-face {
	font-family: 'avenir';
	src: url('./../fonts/AvenirNextCyr-Regular.woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'avenir';
	src: url('./../fonts/AvenirNextCyr-Medium.woff2');
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'avenir';
	src: url('./../fonts/AvenirNextCyr-Bold.woff2');
	font-weight: 700;
	font-display: swap;
}

/*Base CSS*/
* {
	font-family: avenir, sans-serif;
	box-sizing: border-box;
	outline: none;
}

body {
	font-size: 17px;
	min-width: 375px;
	font-weight: 400;
	position: relative;
	margin: 0;
	padding-top: 80px;
	line-height: 1.55;
	overflow-x: hidden;
	opacity: 1;
	color: #000;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #fff;
}

.body__bg {
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: repeat;
	background-size: 700px;
	background-position: center;
	background-attachment: fixed;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.4;
	filter: blur(1px);
}

b,
strong {
	font-weight: 700;
}

img {
	width: 100%;
	display: inline-block;
}

a {
	text-decoration: none;
}

/*Header CSS*/

.title {
	margin: 0 0 40px;
	text-align: center;
}

.matrix__wrapper {
	max-width: 1150px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.matrix__form {
	max-width: 400px;
	margin: auto;
}

.matrix__input {
	display: block;
	width: 100%;
	height: 54px;
	text-align: center;
	border-radius: 10em;
	border: 2px solid #b4b4b4;
	font-size: 18px;
	font-weight: 700;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.matrix__input:focus {
	border-color: #ccbbe7;
}

.matrix__button {
	background-color: #ccbbe7;
	border: none;
	cursor: pointer;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	padding: 15px 40px 14px;
	display: table;
	margin: 20px auto 0;
	border-radius: 10em;
}

.matrix__button:hover {
	opacity: 0.7;
}

.matrix__button:active {
	transform: translateY(2px);
}

table {
	width: 100%;
	margin-top: 40px;
}

table td {
	background-color: #f4f4f4;
	border-radius: 14px;
	text-align: center;
	padding: 15px;
	font-size: 19px;
	border: 3px solid #fff;
	line-height: 1.2;
}

.td__alt {
	background-color: #fff;
}

.td__alt2 {
	background-color: #f4f4f4;
}

.td__alt3 {
	background-color: #fff;
	color: #fff;
}

.footer {
	text-align: center;
	background-color: #ccbbe7;
	position: relative;
	margin-top: 13vw;
	padding: 50px;
}

.footer .footer__path {
	fill: #ccbbe7;
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	transform: rotateX(180deg) translateY(100%);
}

.introwert a {
	color: #000;
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: all 0.4s ease;
}

.introwert a:hover {
	opacity: 0.7;
}

.introwert a .intrower__svg {
	width: 16px;
	vertical-align: middle;
	margin: 0 3px;
	animation: introwert 1.4s ease infinite;
}

@keyframes introwert {
	50% {
		transform: scale(1.3);
	}

	100% {
		transform: scale(1);
	}
}

.line__data h3 {
	margin: 30px 0 12px 3px;
	font-size: 20px;
	line-height: 1.2;
}

.line__data p {
	display: inline-block;
	margin: 0;
}

/* Media CSS */
@media (max-width: 768px) {
	.matrix__wrapper {
		padding: 0 14px;
	}

	table td {
		padding: 13px;
		border-radius: 8px;
		border: 1px solid #fff;
	}

	.title {
		font-size: 30px;
		margin-bottom: 25px;
	}

	.footer {
		margin-top: 15vw;
	}
}

@media (max-width: 576px) {
	body {
		padding-top: 40px;
	}

	.title {
		font-size: 28px;
		line-height: 1.1;
	}

	.matrix__input {
		font-size: 16px;
		height: 52px;
	}

	table td {
		font-size: 16px;
	}
}

@media (max-width: 500px) {
	.title {
		font-size: 25px;
	}

	table td {
		font-size: 14px;
		padding: 10px 5px;
	}

	.line__data p {
		font-size: 16px;
	}
}
