/* USER VARIABLES SECTION */

:root {
	--accent: orange;
	--accent-font: 'Kharkiv Tone', sans-serif;;
	--text: #2B2623;
	--white: #F9F9FF;
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: inter, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--index: calc(1vw + 1vh);
}

/* 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/roboto-regular-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/roboto-italic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: italic; }
@font-face { src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: italic; }
@font-face { src: url("../fonts/InterDisplay-Light.woff2") format("woff2"); font-family: "inter"; font-weight: 300; font-style: normal; }
@font-face { src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); font-family: "inter"; font-weight: 600; font-style: normal; }
@font-face { src: url("../fonts/JetBrainsMono-Light.woff2") format("woff2"); font-family: "jetbrains"; font-weight: 100; font-style: normal; }

/* 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; }

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

/* USER STYLES */
figure{
	margin: 0;
}
.image {
	max-width: 100%;
	margin-bottom: var(--bs-gutter-x);
	border-radius: 4px;
}

.accent {
	color: var(--accent);
	font-family: 'Kharkiv Tone', sans-serif;
}
.header__mobile-nav{
	position: fixed;
	/* border: 1px solid greenyellow; */
	padding-left: var(--index);
	padding-right: var(--index);
	top: 0;
	left: 0;
	width: -webkit-fill-available;
	height: 100vh;
	background: linear-gradient(0deg, #e0e6fc 0%, #e0c9af 100%);
	z-index: 98;
	transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
	-webkit-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
	-moz-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
	-ms-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
	-o-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.header__mobile-nav::before{
	content: "";
	width: 100%;
	height: 30%;
	/* background: linear-gradient(rgba(254, 252, 252, 0), rgba(254, 252, 252, 1)); */
	position: absolute;
	bottom: -1px;
	left: 0;
}
.header__mobile-nav--hide{
	top: -120vh;
	left: 0;
}
.hide{
    display: none;
}
.dev{
	margin-right: var(--index);
	margin-top: 10px;
}
.dev span{
	font-family: jetbrains;
	float: right;
}
.dev-link{
	display: block;
	float: right;
	margin-left: 10px;
}
.dev-link img{
	height: 23px;
	width: auto;
}

#loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
}
#loader-wrapper .loader-section {
	position: fixed;
	top: 0;
	width: 51%;
	height: 100%;
	background: #fff;
	z-index: 1000;
	-webkit-transform: translateX(0);
					transform: translateX(0);
}
#loader-wrapper .loader-section.section-left {
	left: 0;
}
#loader-wrapper .loader-section.section-right {
	right: 0;
}
#loader {
	display: block;
	position: fixed;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #E0C9AF;
	-webkit-animation: spin 2s linear infinite;
					animation: spin 2s linear infinite;
	z-index: 99999;
}
#loader:before {
	content: "";
	position: fixed;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--text);
	-webkit-animation: spin 3s linear infinite;
					animation: spin 3s linear infinite;
}
#loader:after {
	content: "";
	position: fixed;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #E0E6FC;
	-webkit-animation: spin 1.5s linear infinite;
					animation: spin 1.5s linear infinite;
}
.loaded #loader-wrapper {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
					transform: translateY(-100%);
	-webkit-transition: all 0.3s 1s ease-out;
	transition: all 0.3s 1s ease-out;
}
.loaded #loader-wrapper .loader-section.section-left {
	-webkit-transform: translateX(-100%);
					transform: translateX(-100%);
	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.loaded #loader-wrapper .loader-section.section-right {
	-webkit-transform: translateX(100%);
					transform: translateX(100%);
	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.loaded #loader {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
						transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
						transform: rotate(360deg);
	}
}
@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
						transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
						transform: rotate(360deg);
	}
} 