:root {
	--accent: 2, 132, 197;
	--border-radius: 0.25rem;
}

.link {
	color: rgb(var(--accent));
	text-decoration: underline;
}

.accent {
	color: rgb(var(--accent));
}

.page {
	display: flex;
	flex-direction: column;
	gap: 0;
	background-color: black;
	color: white;
	font-family: 'Open Sans', sans-serif;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1240px;
	padding-left: 1rem;
	padding-right: 1rem;
	overflow: hidden;
}

.navigate {
	width: 100%;
	position: fixed;
	z-index: 99;
	background-color: black;
	padding: 0.5rem 0;
}

.navigate__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;

	@media (max-width: 500px) {
		flex-direction: column;
		gap: 0.25rem;
	}
}

.header {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100vh;
	background-image: url('/images/bg.jpg');
	background-repeat: no-repeat;
	background-position: center center;

	@media (max-width: 500px) {
		background-position: center bottom;
	}
}

.header::before {
	content: '';
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.9) 50%,
		rgba(41, 53, 86, 0) 100%
	);
}

.header__inner {
	padding-top: 1rem;
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: space-between;

	gap: 1rem;
	z-index: 1;
}

.header__title {
	text-align: center;
}

.header__subtitle {
	text-align: center;
	font-size: 42px;

	@media (max-width: 600px) {
		font-size: 26px;
	}
}

.menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.menu__item {
	font-weight: bold;
}

.menu__link {
	color: #ccc;
	text-decoration: none;
	transition: all 0.25s ease-in;
	border-bottom: 1px solid transparent;
}

.menu__link:hover {
	color: white;
	border-bottom: 1px solid rgb(var(--accent));
}

.section {
	width: 100%;
	display: flex;
	padding: 100px 0;
}

.section__inner {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.section__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.section__title {
	font-size: 2rem;
	text-align: center;
}

.section__subtitle {
	font-size: 1.25rem;
	text-align: center;
}

.footer {
	position: fixed;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
	background-color: rgba(0, 0, 0, 0.8);
}

.footer__inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	justify-content: center;
	color: white;
	gap: 1rem;
	font-size: 0.8rem;

	@media (max-width: 600px) {
		grid-template-columns: 1fr;
	}
}

.cert {
	background-color: rgba(var(--accent), 0.2);
}

.cert-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
}

.cert-list__item {
	width: 100%;
	height: auto;
}

.stack {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.stack-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	border-radius: var(--border-radius);
	background-color: rgba(var(--accent), 0.2);
}

.stack-card__header {
	display: flex;
	gap: 0.51rem;
	align-items: center;
}

.stack-card__title {
	margin: 0;
}

.stack-card__list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.badge {
	padding: 0.25rem 0.5rem;
	font-size: 0.9rem;
	background-color: rgb(var(--accent));
	border-radius: var(--border-radius);
}

.winner {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 2rem;
}

.winner__card {
	padding: 2rem;
	border-radius: var(--border-radius);
	background-color: rgba(var(--accent), 0.2);
}

.winner__image {
	border-radius: var(--border-radius);
}

.winner__title {
	margin-top: 0;
	color: rgb(var(--accent));
}

.about {
}

.about-title {
	margin-top: 0;
	font-size: 1.5rem;
}

.about__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.about__author {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: var(--border-radius);
	background-color: rgba(var(--accent), 0.2);
}

.about__author-image {
	border-top-left-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
}

.about__list {
	padding: 0 0 1rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.about__list-item {
	padding: 0 1rem;
	border-right: 1px solid rgb(var(--accent));
}

.about__list-item:last-child {
	border-right: 0;
}

.about__text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
}

.about__info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: var(--border-radius);
	background-color: rgba(var(--accent), 0.2);
	padding: 1rem;
}

.about__info p {
	margin: 0;
}

.about__bitrix {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0.125rem;
	grid-row-gap: 0rem;
}

.about__bitrix-item1 {
	width: 100%;
	grid-area: 1 / 1 / 4 / 2;
}
.about__bitrix-item2 {
	width: 100%;
	grid-area: 1 / 2 / 2 / 3;
}
.about__bitrix-item3 {
	width: 100%;
	grid-area: 1 / 3 / 2 / 4;
}
.about__bitrix-item4 {
	width: 100%;
	grid-area: 2 / 2 / 3 / 3;
}
.about__bitrix-item5 {
	width: 100%;
	grid-area: 2 / 3 / 3 / 4;
}

.count {
	display: flex;
	flex-direction: column;
	text-align: center;
	line-height: 1.2;
}

.count__number {
	font-weight: bold;
	font-size: 2rem;
	margin-right: 0.2rem;
}

.hidden {
	display: none;
}
