@import url('../../css2');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*:focus {
	outline: none;
}

:root {
	--transition: 0.4s all linear;
	--main-color: #f800f6;
	--bg-color: #0f1423;
}

::-webkit-scrollbar {
	width: 6px;
	height: 4px;
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background-color: var(--main-color);
	-webkit-border-radius: 1ex;
}

body {
	font-family: 'Inter', sans-serif;
	font-optical-sizing: auto;
	font-display: swap;
	font-variation-settings: 'slnt' 0;
	background-color: var(--bg-color);
}

.container {
	margin: 0 auto;
	max-width: 90%;
	width: 100%;
}

main {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 23px 0;
}

.logo {
	position: relative;
	display: flex;
	margin: 0 0 15px 0;
	width: auto;
	height: 32px;
	z-index: 9;
}

a.logo {
	transition: var(--transition);
}

a.logo:hover {
	transform: scale(1.05);
}

.logo picture,
.logo img,
.logo p {
	display: flex;
	width: inherit;
	height: 100%;
}

header nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
}

header nav .menu {
	justify-content: flex-end;
}

footer nav .menu {
	justify-content: center;
}

.menu li {
	position: relative;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #fff;
	transition: var(--transition);
}

header .menu li {
	margin: 0 0 15px 38px;
}

.menu li:before {
	content: attr(data-content);
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	color: var(--main-color);
	-webkit-text-stroke: 1px var(--main-color);
	overflow: hidden;
	pointer-events: none;
	transition: var(--transition);
}
.menu li:hover:before {
	width: 100%;
}

.menu li.active:before {
	width: 100%;
}

.menu li a {
	color: inherit;
	text-decoration: none;
}

.burger {
	position: relative;
	display: none;
	z-index: 9;
}

.intro {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	margin: 20px 0 0 0;
	width: 80%;
}

.intro h1 {
	margin: 0 0 8px 0;
	font-size: 52.696px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	color: #fff;
}

.intro h1 span {
	color: var(--main-color);
}

.intro p {
	margin: 0 0 23px 0;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #fff;
}

.intro .button {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-start;
	min-width: 230px;
	padding: 15px 45px;
	border-radius: 83px;
	background: var(--main-color);
	transform: translate3d(0px, 0%, 0px);
	text-decoration: none;
	transition-delay: 0.6s;
	cursor: pointer;
	overflow: hidden;
}

.intro .button:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 50% 50% 0 0;
	transform: translateY(100%) scaleY(0.5);
	transition: all 0.6s ease;
}

.intro .button:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--main-color);
	border-radius: 0;
	transform: translateY(0) scaleY(1);
	transition: all 0.8s ease;
}

.intro .button div {
	position: relative;
	top: 3px;
	width: 100%;
	height: 26px;
	overflow: hidden;
	pointer-events: none;
}

.intro .button span {
	position: absolute;
	z-index: 1;
	top: 0;
	width: 100%;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	color: #fff;
	transition: transform 1s ease;
	pointer-events: none;
}

.intro .button span:first-child {
	color: var(--main-color);
	transform: translateY(24px);
}

.intro .button span:last-child {
	color: #fff;
	transform: translateY(0);
}

.intro .button:hover {
	background: #fff;
	transition: background 0.6s linear;
	transition-delay: 0.3s;
}

.intro .button:hover:after {
	border-radius: 0 0 50% 50%;
	transform: translateY(-100%) scaleY(0.5);
	transition-delay: 0;
}

.intro .button:hover:before {
	border-radius: 0;
	transform: translateY(0) scaleY(1);
	transition-delay: 0;
}

.intro .button:hover span:first-child {
	transform: translateY(0);
}

.intro .button:hover span:last-child {
	transform: translateY(-24px);
}

.content {
	margin: 50px 0;
}

.content.error {
	justify-content: center;
	align-items: center;
	min-height: 45vh;
}

.content .img-text {
	display: flex;
	margin: 30px 0;
	width: 100%;
	height: auto;
	border-radius: 54px;
	overflow: hidden;
}

.content .img-text p,
.content .img-text picture,
.content .img-text img {
	display: flex;
	width: inherit;
	height: inherit;
	transition: var(--transition);
}

.content .img-text:hover img {
	transform: scale(1.02);
	filter: brightness(80%);
}

.content .img-cov {
    width: 200px;
    height: 200px;
	border-radius: 20px;
	overflow: hidden;
}

.content .img-cov p,
.content .img-cov picture,
.content .img-cov img {
	display: flex;
	width: inherit;
	height: inherit;
	transition: var(--transition);
}

.content .img-cov:hover img {
	transform: scale(1.02);
	filter: brightness(80%);
}


.content h2,
.content h3 {
	margin: 25px 0 15px 0;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	color: #fff;
}

.content h4 {
	margin: 0 0 15px 0;
	font-size: 50px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	color: var(--main-color);
}

.content h5 {
	font-size: 35px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	color: #fff;
}

.content h2 span,
.content h3 span {
	color: var(--main-color);
}

.content h2 {
	font-size: 24px;
}
.content h3 {
	font-size: 22px;
}

.content ul,
.content ol {
	align-self: flex-start;
	margin: 0 0 15px 15px;
}

.content ul li:last-child,
.content li ol:last-child {
	margin: 0;
}

.content .table-responsive {
	display: flex;
	overflow: auto;
	margin: 20px 0;
}

.content .table-responsive---f tr th {
    width: 20%;
}

.content .table-responsive table {
	display: table;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.content .table-responsive table,
.content .table-responsive td,
.content .table-responsive th {
	border: 1px solid var(--main-color);
}
.content .table-responsive td,
.content .table-responsive th {
	text-align: center;
	padding: 7px;
	width: 30px;
	height: 25px;
}
.content .table-responsive th {
	font-weight: bold;
	background-color: #fff;
	color: var(--main-color);
}

.content p {
	margin: 0 0 15px 0;
}

.content li {
    margin: 0 0 5px 0;
}

.content p,
.content td,
.content th,
.content li {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #fff;
}

footer {
	padding: 10px 0;
	border-top: 1px solid var(--main-color);
}

footer,
footer nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

footer nav .menu {
	justify-content: center;
}

footer .menu li {
	margin: 10px 16px;
}

@media screen and (max-width: 1024px) {
	header {
		position: relative;
	}

	.logo {
		height: 50px;
	}

	.burger {
		display: flex;
		width: 50px;
		height: 50px;
		background: url('../img/burger-open.webp') center / contain no-repeat;
		border: none;
		transition: var(--transition);
	}

	header.active .burger {
		background: url('../img/burger-close.webp') center / contain no-repeat;
	}

	header .menu {
		position: absolute;
		top: -500%;
		left: 0;
		flex-direction: column;
		align-items: flex-start;
		padding: 50px 0;
		width: 100%;
		background-color: var(--bg-color);
		transition: 0.55s all linear;
		z-index: 8;
	}

	header.active .menu {
		top: 100%;
	}

	header .menu li {
		margin: 0 0 35px 0;
	}

	.menu li {
		font-size: 25px;
	}

	.intro {
		margin: 40px 0 0 0;
		width: 90%;
	}

	.intro h1 {
		margin: 0 0 15px 0;
	}

	.intro p {
		font-size: 22px;
	}

	.intro .button {
		min-width: 300px;
	}

	.intro .button div {
		top: 8px;
		height: 48px;
	}

	.intro .button span {
		font-size: 22px;
	}

	.content.error {
		min-height: 55vh;
	}

	.content h2 {
		font-size: 40px;
	}

	.content h3 {
		font-size: 35px;
	}

	.content p, .content li {
		margin: 0 0 20px 0;
	}

	.content ul, .content ol {
		margin: 0 0 20px 15px;
	}

	.content p, .content td, .content th, .content li {
		font-size: 22px;
	}

	footer {
		padding: 30px 0;
	}
}

@media screen and (max-width: 600px) {
	header {
		padding: 20px 0;
	}

	.logo {
		margin: 0;
		height: 23px;
	}

	.burger {
		width: 20px;
		height: 20px;
	}

	header .menu {
		padding: 31px 0;
	}

	.menu li {
		margin: 0 0 31px 0;
		font-size: 12px;
	}

	.intro {
		width: 100%;
	}

	.intro h1 {
		font-size: 24px;
	}

	.intro p {
		margin: 0 0 20px 0;
		font-size: 12px;
	}

	.intro .button {
		width: 100%;
		padding: 15px;
	}

	.intro .button div {
		top: 2px;
		height: 20px;
	}

	.intro .button span {
		font-size: 12px;
	}

	.content {
		margin: 40px 0 20px 0;
	}

	.content.error {
		min-height: 60vh;
	}

	.content .img-text {
		border-radius: 24px;
	}

	.content h2 {
		font-size: 20px;
	}

	.content h3 {
		font-size: 16px;
	}

	.content ul, .content ol {
		margin: 0 0 10px 10px;
	}

	.content p, .content li {
		margin: 0 0 10px 0;
	}

	.content p, .content td, .content th, .content li {
		font-size: 12px;
	}

	footer {
		padding: 10px 0;
	}
	
	.content .img-cov {
	   width: 100px;
	   height: 100px;
	   border-radius: 12px;
	}
}
