:root {
	--main-background-color: #FFFFFF;
	--element-background-color: #F1F1F1;
	--primary-color: #FF7F51;
	--addit-color: #002642;
	--form-color: #ccc2b5;
	--placeholder-color: #817b72;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Regular.ttf");
}
@font-face {
	font-family: "Montserrat_b";
	src: url("../fonts/Montserrat-Bold.ttf");
}
@font-face {
	font-family: "Montserrat_sb";
	src: url("../fonts/Montserrat-SemiBold.ttf");
}
@font-face {
	font-family: "Roboto_m";
	src: url("../fonts/Roboto-Medium.ttf");
}
@font-face {
	font-family: "Roboto";
	src: url("../fonts/Roboto-Regular.ttf");
}

* {
	font-family: 'Roboto';
}
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);
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(12,60px);
    column-gap: 20px;
	row-gap: 20px;
	z-index: 2;
}

/* circles */
.background-wrapper {
	position: absolute;
	left:0;
	right: 0;

	width: 100%;
	height: 100%;
	overflow: hidden;
}
.abs-circle {
	position: absolute;
	z-index: 1;
	user-select: none;
}
.bottom-right-back-element {
	bottom: 170px;
	right: 0;
	opacity: .9;
}
.bottom-left-back-element {
	bottom: 0;
	left: 0;
	opacity: .7;
}

.middle-right-back-element {
	right: -450px;
	top: 0;
	opacity: .6;
}
.middle-left-back-element {
	left: -300px;
	top: 540px;
	opacity: .7;
}

.top-right-back-element {
	top: 0;
	right: -600px;
}
.top-left-back-element {
	left: -190px;
	top: 0;
	opacity: .6;
}

/* для мобильного меню */
.bottom-left-back-element.__mobile-only {
	bottom: -330px;
	left: -260px;
}

h1 {
	font-family: "Montserrat_sb";
    color: var(--primary-color);
	font-size: 30pt;
	margin-bottom: 15px;
}

section.header-section {
	grid-column: 2/12;

	display: flex;
	justify-content: space-between;
	padding: 18px 0 0 0;
}

/* menu */
.menu-container {
	display: flex;
	align-items: center;
	gap: 25px;
}

.menu-link,
.menu-link:visited {
	color:var(--addit-color);
	text-decoration: none; 
	font-size: 14pt;
	font-family: "Montserrat";
}

.menu-link.__active {
	color: var(--primary-color);
	font-family: "Montserrat_b";
}

.menu-link:hover {
	color: var(--primary-color);
}

.__mobile-only {
	display: none;
}

/* offer */
section.offer-section {
    grid-column: span 12;
    padding: 45px 240px 90px 80px;
	
	box-sizing: border-box;
    position: relative;
	background-position: center;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

section.offer-section .offer-image-element {
    position: absolute;
    right: -30px;
    bottom: -50px;
    opacity: .9;
}

.offer-text {
    font-size: 30pt;
}

.image-overlay {
    background: url(../assets/1main_desk.png);
    grid-column: span 12;

    opacity: .20;
    overflow: hidden;
    border-radius: 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index: -1;

	background-position: center;
	background-size: cover;
}
.image-overlay .image-overlay-filter {
    mix-blend-mode: overlay;
    width: 100%;
    height: 100%;
    background-color: white;
	z-index: -1;
}

section.about-section {
    grid-column: 1/-1;
    position: relative;
	
	padding: 40px 80px 0 80px;
	margin-bottom: 50px;
	box-sizing: border-box;

	display: flex;
	gap: 100px;

	height: 290px;
}

section.about-section h1 {
	width: max-content;
}
section.about-section .about-text-element {
	margin-top: 30px;
	font-size: 14pt;
}

/* footer */
section.footer-section {
    grid-column: 1/13;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 110px;
	margin-top: 100px;
	text-align: center;
}

section.footer-section span {
	font-size: 11pt;
	font-family: "Roboto_m";
}
@media (max-width: 980px) {
	.__desktop-only {
		display: none !important;
	}
	.__mobile-only {
		display: inherit !important;
	}
	h1 {
		font-size: 12pt;
		margin-bottom: 10px;
	}
	.grid-container {
		grid-template-columns: repeat(12,1fr);
		column-gap: 12px;
		margin: 0 24px;   
		row-gap: 10px;
	}

	section.header-section {
		grid-column: 1/-1;
		padding: 13px 0 0 0;
	}
	.header-logo-image {
		height: 22px;
	}

	section.offer-section {
		padding: 10px 110px 30px 24px;
	}
	section.offer-section .offer-image-element {
		right: 0px;
		bottom: unset;
	}
	.offer-text {
		font-size: 12pt;
	}

	.image-overlay {
		background: url(../assets/1main_mob.png);
	}

	section.about-section {
		height: 180px;
		flex-direction: column;
		padding: 20px 0 0 24px;
		gap: 0;
		margin-bottom: 13px;
	}
	section.about-section .about-text-element {
		font-size: 8pt;
		margin-top: 0;
	}

	section.footer-section {
		margin-bottom: 50px;
		margin-top: 35px;
	}

	section.footer-section span {
		font-size: 8pt;
	}

	.top-left-back-element {
		left: -520px;
	}
}