@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

/* Reset and base styles  */
:root {
	--main-color: #FFFFFF;
	--second-color: #FF0000;
	--background-color: #000000;
}

* {
	padding: 0px;
	margin: 0px;
	border: none;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a, a:link, a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
	font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

body {
	font-family: "Roboto Mono", monospace;

	font-size: 20px;

	background: var(--background-color);
	color: var(--main-color);
}

a {
	color: inherit;
}

.button {
	position: relative;

	font-size: 32px;
	font-weight: 700;
}

.button::before {
	position: absolute;
	content: '';
	left: 5px;
	bottom: 0;
	height: 4px;
	width: 100%;
	background: var(--second-color);
}

.container {
	max-width: 1230px;
	padding: 0 15px;
	margin: 0 auto;
}

.title {
	font-size: 36px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 25px;
}

.section {
	padding-bottom: 100px;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	background: rgba(255, 0, 0, 0.3);
	z-index: 1;

	display: flex;
	justify-content: center;
	align-items: center;

	cursor: pointer;
}

.popup-show {
	display: flex;
}

.popup__img {
	width: 50%;
}

.accent-color {
	color: var(--second-color);
}

.show {
	display: block;
}

.none {
	display: none;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 36px;
	font-weight: 700;
}

.logo__img {
}

.menu {
	display: flex;
	align-items: center;
	gap: 10px;

	padding-bottom: 10px;
}

.menu__item {
	position: relative;
	padding: 5px 20px;
	transition: all .3s;

}

.menu__item:before {
	position: absolute;
	content: '';
	height: 3px;
	width: 100%;
	background: var(--second-color);
	bottom: -10px;
	left: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: all .3s;
}

.menu__item:hover {
	color: var(--second-color);
}

.menu__item:hover:before {
	transform: scaleX(1);
}

