:root {
	--main-background-color: #FFFFFF;
	--element-background-color: #F1F1F1;
	--primary-color: #EF3959;
	--addit-color: #0D224E;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter.ttf");
}

* {
	font-family: 'Inter';
}
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: 40px;
	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: 0;
	right: 0;
}
.bottom-left-back-element {
	bottom: 0;
	left: 0;
}

.middle-right-back-element {
	right: 0;
	top: -200px;
	opacity: .6;
}
.middle-right-back2-element {
	right: 0;
	bottom: 100px;
}
.middle-left-back-element {
	left: 0;
	top: 200px;
	opacity: .7;
}

.top-right-back-element {
	top: 0;
	right: 0;
}
.top-left-back-element {
	left: 0;
	top: 0;
	opacity: .7;
}

section.header-section {
	grid-column: 2/12;

	display: flex;
	justify-content: space-between;
	padding: 18px 0 13px 0;
}

.button-element,
.button-element:visited {
	background-color: var(--primary-color);
	padding: 0 32px;
	box-sizing: border-box;
	height: 55px;
	color: var(--main-background-color);
	border-radius: 27px;
	font-size: 13pt;
	border: none;
	
	align-self: flex-start;

	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: .3s;

	width: fit-content;
}

.button-element:hover {
	box-shadow: 0 0 40px 0 rgba(239,57,89,.4);
	cursor: pointer;
}

.modal .button-element:hover {
	box-shadow: none;
}

/* menu */
.menu-container {
	display: flex;
	align-items: center;
	gap: 28px;
}

.menu-link,
.menu-link:visited {
	color:var(--addit-color);
	text-decoration: none; 
	font-size: 14pt;
	font-weight: 400;
}


.menu-link.__active {
	color: var(--primary-color);
	font-weight: 600;
}

.menu-link:hover {
	color: var(--primary-color);
}

.__mobile-only {
	display: none;
}

/* offer */
section.offer-section {
    grid-column: span 12;
    padding: 35px 70px 40px 80px;
	
	height: 349px;
	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: 0;
    bottom: -20px;
    opacity: .9;
    z-index: -1;
}

section.offer-section .image-overlay {
    background: url(../assets/index-offer.png);
    grid-column: span 12;
    
    opacity: .04;
    overflow: hidden;
    border-radius: 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index: -1;

	background-position: center;
	background-size: cover;
}
section.offer-section .image-overlay .image-overlay-filter {
    mix-blend-mode: overlay;
    width: 100%;
    height: 100%;
    background-color: white;
	z-index: -1;
}

.offer-text {
    font-size: 30pt;
    font-weight: 500;
}
.offer-text span {
    color: var(--primary-color);
}

/* footer */
section.footer-section {
    grid-column: 1/13;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 80px;
	margin-top: 110px;
	text-align: center;

	font-weight: 500;
	font-size: 11pt;
}
@media (max-width: 980px) {
	.__desktop-only {
		display: none !important;
	}
	.__mobile-only {
		display: inherit !important;
	}

	.grid-container {
		grid-template-columns: repeat(12,1fr);
		column-gap: 12px;
		margin: 0 24px;   
		row-gap: 35px;
	}

	section.header-section {
		grid-column: 1/-1;
		padding: 9px 0 10px 0;
	}
	.header-logo-image {
		height: 22px;
	}

	section.offer-section {
		height: 222px;
		padding: 35px 24px 35px 24px;
	}
	.offer-text {
		font-size: 12pt;
	}
	
	.button-element {
		align-self: unset;
		height: 33px;
		font-size: 8pt;
	}

	section.footer-section {
		margin-bottom: 50px;
		margin-top: 30px;
	
		font-weight: 500;
		font-size: 8pt;
	}
}