/* USER VARIABLES SECTION */

:root {
	--accent: #18b921cc;
	--fontsize: 16px;
	--textcolor: #333;
	--dark: #05551670;
	--dark-lighten-7: #424242;
	--dark-lighten-20: #636363;
	--deep: #252525;
	--deep-lighten-6: #343434;
	--lineheight: 1.7;
	--userfont: raleway-vh, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--size: 55px;
	--size-sm: 58px;
	--border-opacity: .1;
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
/* .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { --bs-gutter-x: .625rem; }
.row, .row > * { --bs-gutter-x: 1.25rem; } */

/* FONTS LOAD SECTION */

@font-face { src: url("../fonts/oswaldbold-webfont.woff2") format("woff2"); font-family: "oswald-vh"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/oswaldmedium-webfont.woff2") format("woff2"); font-family: "oswald-vh-m"; font-weight: 500; font-style: normal; }
@font-face { src: url("../fonts/ralewayextrabold-webfont.woff2") format("woff2"); font-family: "raleway-vh"; font-weight: 800; font-style: normal; }
@font-face { src: url("../fonts/ralewaymedium-webfont.woff2") format("woff2"); font-family: "raleway-vh"; font-weight: 500; font-style: normal; }
@font-face { src: url("../fonts/ralewaysemibold-webfont.woff2") format("woff2"); font-family: "raleway-vh"; font-weight: 600; font-style: normal; }
@font-face { src: url("../fonts/robotomedium-webfont.woff2") format("woff2"); font-family: "roboto-vh"; font-weight: 500; font-style: normal; }
@font-face { src: url("../fonts/outfit-regular.woff2") format("woff2"); font-family: "outfit-r"; font-weight: 500; font-style: normal; }
@font-face {
	font-family: "Myriad Pro";
	src: url("./font/MYRIADPRO-REGULAR.OTF") format("opentype");
}
@font-face {
	font-family: 'Franklin Gothic';
	src: url('./font/franklingothic_demi.ttf') format('truetype');
}

/* GENERAL CSS SETTINGS */

::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

h1, h2, h3, h4, h5, h6 {
	font-family: outfit-r;
}

body {
	font-family: var(--userfont);
	font-size: var(--fontsize);
	line-height: var(--lineheight);
	color: var(--textcolor);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}

/* USER STYLES */

body, html {
	height: 100%;
}

/* TOP LINE */

.home-header {
	background-color: var(--deep);
	height: 100%;
	color: #fff;
	padding-top: var(--size);
}

.top-line {
	position: absolute;
	width: 100%;
	height: var(--size);
	top: 0;
	border-bottom: 1px solid rgba(255,255,255, var(--border-opacity));
	z-index: 10;
	background-color: var(--deep);
	display: flex;
	align-items: center;
}

.logo {
	flex: 0 0 200px;
	display: flex;
	align-items: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .5em;
	text-decoration: none;
}

.logo:hover, .logo:focus {
	color: #fff;
	text-decoration: none;
}

.logo__img-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 205px;
	height: 50px;
	padding: 4px 6px;
}

.logo__images, .logo__images-mob {
	height: 100%;
	width: 100%;
}

.logo__images-mob {
	display: none;
}

@media screen and (max-width: 576px) {
	.logo__img-wrapper {
		width: 50px;
		height: 50px;
		padding: 10px;
	}

	.logo__images {
		display: none;
	}
	.logo__images-mob {
		display: block;
	}
}

.top-line__line-vertical {
	margin: auto;
	display: flex;
	border-right: 1px solid #454545;
	height: 30px;
	width: 1px;
}

@media screen and (min-width: 850px) {
	.top-line__decoration {
		flex: 1 0 0;
		text-align: center;
	}

	.top-line__decoration::before {
		content: '';
		height: 1px;
		width: 140px;
		background-color: #fff;
		display: inline-block;
		opacity: calc(var(--border-opacity) * 1.5);
		position: relative;
		top: -5px;
	}

	.top-line__line-vertical {
		margin: auto 4rem;
	}
}

/* .top-line__contacts {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .4em;
	color: rgba(#fff, .5);
	display: flex;
	align-items: center;
} */

.top-line__address {
	display: flex;
	column-gap: 0.5em;
	align-items: center;
	padding: 2px;
	flex: 0 0 auto;
}

.top-line__sections {
	display: flex;
	align-items: center;
	margin-left: 10px;
	margin-right: 10px;
}

.top-line__geo {
	height: 33px;
	width: 25px;
}

.top-line__clock {
	height: 33px;
	width: 33px;
}

@media screen and (max-width: 680px) {
	.top-line__geo, .top-line__clock {
		display: none;
	}
}

@media screen and (max-width: 400px) {
	.top-line__hide-xs {
		display: none;
	}
	.top-line__sections {
		justify-content: space-between;
		flex: 1 1 auto;
	}
}

.top-line__info {
	display: flex;
	flex-direction: column;
	text-align: center;
	line-height: 1;
	letter-spacing: .1em;
}

.top-line__info-title {
	font-size: 12px;
	color: #2fb44b;
	font-family: "Myriad Pro";
}

.top-line__info-row {
	font-size: 12px;
	color: #ffffff;
	font-weight: 500;
	font-family: "Franklin Gothic";
}

.top-line__separator {
	width: 1px;
	height: 30px;
	background-color: rgba(255,255,255, calc(var(--border-opacity) * 1.5));
	margin: 0 20px;
}

/* .top-line__numbers,
.top-line__text {
	font-family: roboto-vh, sans-serif;
	margin-left: 7px;
}
.top-line__numbers a,
.top-line__text a {
	color: var(--accent);
}

.top-line__numbers {
	color: var(--accent);
}

.top-line__text {
	color: rgba(255, 255, 255, 0.75);
} */

/* ASIDE */

.home-header__content {
	height: 100%;
}

.home-aside {
	background-color: var(--dark);
	height: 100%;
	position: absolute;
	top: 0;
	width: var(--size);
	padding-top: var(--size);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 5;
}

.home-aside__decoration {
	flex: 1 0 0;
	background-image: url(../images/decoration.svg);
	width: 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.home-aside__soc {
	flex: 1 0 0;
}

.home-aside__share-icon {
	background-color: #507357b9;
	width: var(--size);
	flex: 0 0 var(--size);
	background-image: url(../images/snow.svg);
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.soc-item {
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid rgba(255,255,255, var(--border-opacity));
	border-bottom: 1px solid transparent;
	margin-top: -1px;
	transition: background .5s ease-out;
}

.soc-item:last-child {
	border-bottom: 1px solid rgba(255,255,255, var(--border-opacity));
}

.soc-item img {
	width: 15px;
	height: auto;
	max-height: 15px;
	opacity: .3;
	transition: opacity .5s ease-out;
}

.soc-item:hover {
	background-color: var(--accent);
}

.soc-item:hover img {
	opacity: 1;
}

/* SLIDER */

.slider-container {
	padding-left: var(--size);
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.slider-bottom {
	position: absolute;
	bottom: 0;
	display: flex;
	align-items: center;
	z-index: 5;
	left: var(--size);
	height: var(--size);
	width: calc(75% - var(--size));
}

.slider-share {
	flex: 0 1 auto;
}

.slider-share__items {
	display: flex;
	position: relative;
	bottom: -.5px;
}

.slider-share__item {
	width: var(--size);
	height: var(--size);
	border: none;
	background-color: var(--dark);
	border-right: 1px solid rgba(255,255,255, var(--border-opacity));
	margin-left: -.5px;
}

.slider-share__item:last-child {
	border: none;
}

.slider-share__item:last-child::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 3px;
	height: 100%;
	background-color: var(--accent);
}

.slider-img {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.slider-img::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0, .45);
	z-index: 2;
}

.slider-img__slide {
	height: 100%;
	overflow: hidden;
}

.slider-img__bg {
	height: 100%;
	background-position: center;
	background-size: cover;
}

.slider__layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
	z-index: -1;
}

.slider__layer::before {
	content: '';
	position: absolute;
	inset: 0;
}

.slider-text {
	position: absolute;
	z-index: 3;
	width: 100%;
	height: calc(100% - var(--size));
}

.slider-text__slide {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.slider-text__content {
	text-align: right;
	padding-right: 16%;
}

.slider-text__heading {
	float: right;
	text-transform: uppercase;
	font-size: 60px;
	line-height: 120%;
	font-family: oswald-vh, sans-serif;
	max-width: 780px;
}

.slider-text__heading span {
	color: var(--accent);
	white-space: nowrap;
}

.slider-text__desc {
	float: right;
	max-width: 500px;
	font-size: 16px;
	font-weight: 500;
	margin-top: 15px;
	margin-bottom: 20px;
	clear: both;
}

.slider-text__button {
	float: right;
	clear: both;
}

/* BUTTON */

.button {
	display: inline-block;
	background-color: var(--accent);
	color: #fff;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	border: none;
	border-radius: 0 10px;
	position: relative;
	padding: 14px 26px;
	font-weight: 800;
}

.button::before {
	content: '';
	position: absolute;
	width: 0;
	height: 100%;
	border-radius: 0 10px;
	background-color: var(--dark);
	top: 0;
	left: 0;
	transition: width .5s ease-out;
}

.button:hover::before {
	width: 100%;
	border-radius: 0 10px;
}

.button span {
	position: relative;
	border-radius: 0 10px;
	z-index: 2;
}

.form-input {
	display: block;
	background-color: var(--dark);
	border: 1px solid var(--dark-lighten-7);
	padding: 12px 18px;
	min-width: 280px;
	color: #fff;
	font-size: 15px;
	transition: border .25s ease-in;
}

.form-input:focus {
	border: 1px solid var(--dark-lighten-20);
}

textarea.form-input {
	min-height: 100px;
}

/* MODAL */

.modal {
	z-index: 1000000;
	position: absolute;
	font-family: raleway-vh, sans-serif;
}

.modal__container {
	background-color: var(--deep-lighten-6);
	box-shadow: 0 0 0 8px rgba(255,255,255, .1);
	border-radius: 0;
}

.modal__title {
	color: #fff;
	text-transform: uppercase;
	font-family: oswald-vh, sans-serif;
	font-weight: 400;
	display: block;
	width: 100%;
}

.modal__close {
	color: #fff;
	opacity: 0.25;
	transition: opacity .25s ease-in;
}

.modal__close:hover {
	opacity: 1;
}

.modal__header {
	text-align: center;
}

.modal__input {
	margin-bottom: 8px;
}

.modal__footer {
	text-align: center;
}