:root {
	--bg: #181818;
	--fg: #fcfcfc;
	--bottom-border: #333;
	--black: #000000;
	--hover: #00ca00;
	--links: #ff6700;
}

@font-face {
	font-family: 'Neosevka';
	src: url('./assets/Neosevka.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

body {
	font-family: "Neosevka", monospace;
	font-optical-sizing: auto;
	font-weight: normal;
	background-color: var(--bg);
	color: var(--fg);
	margin: 0;
	padding: 0 6%;
}

header {
	position: sticky;
	top: 0;
	z-index: 999;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	padding: 1% 2%;
	border-bottom: 2px solid var(--bottom-border);
	background-color: var(--bg);
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	gap: 10px 20px;
	font-weight: normal;
}

.name {
	font-size: 1.5em;
}

.name,
.header-right {
	flex-grow: 1;
	text-align: center;
	align-items: center;
}

.name {
	text-align: center;
	min-width: max-content;
}

.header-right {
	text-align: center;
	justify-content: center;
	min-width: max-content;
}

.contacts {
	text-align: center;
	justify-content: flex-end;
	min-width: max-content;
}

@media (min-width: 800px) {

	.name,
	.header-right {
		flex-grow: 0;
	}
}

.header-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.contacts {
	align-items: center;
}

.contacts a {
	margin-left: 15px;
}

.container {
	max-width: 1000px;
	margin: auto;
	padding: 40px 20px;
}

a {
	color: var(--links);
	text-decoration: none;
}

a:hover {
	background-color: var(--black);
	color: var(--hover);
}

h1 {
	font-size: 2em;
	margin-bottom: 0;
}

h2 {
	border-bottom: 1px solid var(--bottom-border);
	padding-bottom: 5px;
	margin-top: 30px;
}

h1, h2, h3
h4, h5, h6 {
		font-weight: normal;
}

ul {
	padding-left: 6%;
}

* {
	box-sizing: border-box;
}

.indent {
	padding-left: 1.5em;
}

li {
	margin-bottom: 0.5rem;
}

u {
	text-decoration-thickness: 1px;
}
