/* ///////////////////// */
/* Общие (start)         */
/* ///////////////////// */


*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: var(--font-manrope);
	color: var(--text-main);
	background: #0f173d;
	line-height: 1;
	scrollbar-width: thin;
	scrollbar-gutter: stable;
	scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

body::-webkit-scrollbar {
	width: 8px;
}

body::-webkit-scrollbar-track {
	background: transparent;
}

body::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.55);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

svg {
	display: block;
}

img,
svg {
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--pad-x-cont);
}

.section {
	padding-top: var(--section-space);
	padding-bottom: var(--section-space);
}

.font-italic {
	font-family: var(--font-roman);
	font-style: italic;
}

.font-manrope { font-family: var(--font-manrope); }
.font-roman   { font-family: var(--font-roman); }
.font-inter   { font-family: var(--font-inter); }

.root {
	display: flex;
    flex-direction: column;
    min-height: 99dvh;
}

main { flex: 1 0 auto; }

main > section:nth-of-type(odd) {
	background: linear-gradient(
		108.5deg,
		var(--blue-2) 1.42%,
		var(--blue-4) 44.1%,
		var(--blue-6) 72.86%,
		var(--blue-7) 94.88%
	);
}

main > section:nth-of-type(even) {
	background: linear-gradient(
		131.84deg,
		var(--blue-3) 67.41%,
		var(--blue-5) 91.94%
	);
}

main > section:first-of-type {
	padding-top: 200px;
}

.btn {
    width: 100%;
    padding: 16px 27px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    border-radius: var(--radius-xs);
    background-color: var(--white);
    color: var(--blue-8);
    font-weight: 400;
    font-size: 20px;
	font-family: var(--font-inter);
    transition: 
		background-color 0.2s ease, 
		color 0.2s ease;
}
.btn:hover {
	background-color: var(--blue-8);
	color: var(--white);
}
.btn.btn--blue {
	background-color: var(--blue-8);
	color: var(--white);
}
.btn.btn--blue:hover {
	background-color: var(--white);
    color: var(--blue-8);
}

.underline {
	text-decoration: underline;
	text-decoration-color: var(--white);
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}

.hover-underline {
	max-width: max-content;
	display: inline-block;
	padding-bottom: 5px;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size 0.2s ease, color 0.2s ease;
}
.hover-underline:hover {
	background-size: 100% 1px;
}


.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* ///////////////////// */
/* Общие (end)           */
/* ///////////////////// */