:root {
	--background-color: #FFFFFF;
	--text-color: #01030C;
	--addit-color: #35353D;
	--primary-color: #1465FF;

	--border-color: #DADADA;
	--placeholder-color: #8B8B8B;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter_Medium.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter_Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter_ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-style: normal;
}


* {
	font-family: 'Inter';
	font-size: 18pt;
}
html {
	overflow-x: hidden;
	touch-action: none;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	padding: 0;
	position: relative;
}
#body-wrapper {
	margin: 0;
	padding: 0;
	position: relative;
	background-color: var(--main-background-color);
	width: 100%;
	min-height: 100vh;
	overflow-x: hidden;

	display: flex;
	align-items: center;
	flex-direction: column;
	color: var(--addit-color);
}
section {
	position: relative;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(12,60px);
    column-gap: 20px;
	row-gap: 20px;

	margin-bottom: 80px;
}

section.header-section {
	grid-column: 1/13;

	display: flex;
	justify-content: space-between;
	margin: 27px 0 27px 0;
}

/* defaults */
button,
.button {
	display: block;
	width: fit-content;
	height: 60px;
	padding: 0 60px;
	border-radius: 30px;
	box-sizing: border-box;

	display: flex;
	align-items: center;
	justify-content: center;
	border: none;

	background-color: var(--primary-color);
	color: var(--background-color);
	font-size: 15pt;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
}

h1,
h1 span.__underlined {
	font-size: 30pt;
	font-weight: normal;
}
a.__underlined,
span.__underlined {
	text-decoration: none;
	position: relative;
}
a.__underlined::after,
span.__underlined::after {
	content: '';
	display: block;

	position: absolute;
	left: 0;
	z-index: -1;

	height: 3px;
	width: 100%;
	border-radius: 2px;
	background-color: var(--primary-color);
}

h2 {
	font-size: 18pt;
	color: var(--primary-color);
}

a.__tag,
span.__tag {
	display: inline-flex;
	align-items: center;
	background-color: var(--primary-color);
	color: var(--background-color);
	
	padding: 4px 20px;
	border-radius: 10px;
	text-decoration: none;
}

.__colored,
.__colored a {
	color: var(--primary-color);
}

/* line */
.line {
	position: absolute;
	width: 200vw;
	height: 1px;
	background-color: var(--border-color);
	left: -100vw;
}

.line.__top {
	top: calc(80px - 27px);
}

.line.__bottom {
	bottom: 116px;
}

/* menu */
.menu-container {
	display: flex;
	align-items: center;
	gap: 39px;
}

.menu-link,
.menu-link:visited {
	color:var(--addit-color);
	text-decoration: none; 
	font-size: 12pt;
	width: fit-content;
}

.menu-link::after {
	content: '';
	display: block;
	width: 100%;
	height: 3px;
	background: var(--primary-color);
	opacity: 0;
	transition: opacity .3s;
}

.menu-link:hover::after,
.menu-link.__active::after {
	opacity: 1;
}

/* offer */
section.offer-section {
	padding-top: 60px;
	padding-bottom: 93px;
	grid-column: 1/-1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;

	text-align: center;
	gap: 72px;
}

/* card */
section.card {
	grid-column: span 6;
}
section.card.__border{
    border: 1px solid var(--border-color);
    border-radius: 20px;

    padding: 25px;
}
section.card.__colored {
	padding-left: 25px;
}

/* footer */
section.footer-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	color: var(--text-addit-color);
	padding: 20px 0;
	box-sizing: border-box;

	width: 940px;
	
	margin-top: auto;
}
section.footer-section a, 
section.footer-section span {
	color: var(--addit-color);
	font-size: 12pt;
}

.__mobile-only {
	display: none;
}

@media (max-width: 980px) {
	*, h2 {
		font-size: 11pt;
	}

	h1, 
	h1 span.__underlined {
		font-size: 13pt;
	}

	button,
	.button {
		font-size: 14pt;
		padding: 0px 17px;
		height: 35px;
	}

	section.offer-section .button-container {
        flex-direction: column;
        width: 100%;
        gap: 13px;
    }

    section.offer-section .button-container .button {
        width: 100%;
    }

	.__desktop-only {
		display: none !important;
	}
	.__mobile-only {
		display: inherit !important;
	}
	
	.grid-container {
		grid-template-columns: repeat(12,1fr);
		column-gap: 12px;
		margin: 0 24px 85px 24px;   
	}

	section.header-section {
		grid-column: 1/-1;
		margin: 19px 0 19px 0;
		align-items: center;
	}

	.header-logo-image {
		width: 130px;
	}

	section.card {
		grid-column: 1/-1;
	}

	section.footer-section {
		flex-direction: column;
		padding: 25px;
		align-items: start;
		gap: 55px;
		width: 100%;

	}

	section.footer-section a,
	section.footer-section span {
		font-size: 10pt;
	}

	.line.__top {
		top: 35px;
	}

	.line.__bottom {
		bottom: 184px;
	}

	section.card.__colored {
		padding-left: 0;
	}

	section.offer-section {
		padding-top: 2px;
		padding-bottom: 35px;
	}

	a.__tag,
	span.__tag {
		padding: 8px 14px;
		line-height: 14pt;
	}

	section.card.__border {
		padding: 10px;
		border-radius: 10px;
	}
}
.button.__primary {
	background-color: inherit;
	color: var(--text-color);
	border: 2px solid var(--addit-color);
}