@font-face{ font-family: 'Manrope'; font-weight: 800; src: url(https://fonts.gstatic.com/s/manrope/v1/xn7gYHE41ni1AdIRggexSg.woff2) format('woff2'); }
@font-face{ font-family: 'Manrope'; font-weight: 700; src: url(https://fonts.gstatic.com/s/manrope/v1/xn7gYHE41ni1AdIRggexSg.woff2) format('woff2'); }

:root{
	--Black: #0F1B33;
	--Blue: #4d88ff;
	--Light: #CCDDFF;
	--Background: #FFF;
	--BodyBackground: #FFF;


	--Background240: #F2F2FF;
	--Blue240: #4D4DFF;
	--Light240: #CCCCFF;

	--PaneWidth: 35vw;
}

@media (prefers-color-scheme: dark) {
	:root{
		--Black: #F2F6FF;
		--Blue: #9ABBFF;
		--Light: #364159;
		--Background: #0F1219;
		--BodyBackground: #0F1219;

		--Background240: #0F0F19;
		--Light240: #353559;
		--Blue240: #9999FF;

	}
}

*{font-family: 'Manrope'}

p{ font-family: 'Manrope'; font-weight: 700; color:var(--Black); }

body { background: var(--BodyBackground); transition: .5s cubic-bezier(0.6, 0, 0.6, 1); }

body,html{ height:100%; overflow-x: hidden; margin:0px; scroll-behavior: smooth}

.fadeChild>*:not(.faded), .fadeSelf:not(.faded){
	opacity:0 !important;
	transform: translateY(30px);
}

.faded, .faded>*{
	animation: fade 1.2s cubic-bezier(0, 0.5, 0, 1);
	opacity:1;
	transform: translateY(0px);
}

.notfaded, .notfaded>*{
	animation: notfade 1.2s cubic-bezier(0, .5, 0, .5);
	opacity:0;
}

@keyframes fade { from {
	transform: translateY(30px);
	opacity:0;
} to {
	transform: translateY(0px);
	opacity:1;
}}

@keyframes notfade { from {
	opacity:1;
} to {
	opacity:0;
}}

.blur>*,.notblur>*{transition: filter 0.5s cubic-bezier(0.6, 0, 0.6, 1), opacity 0.5s cubic-bezier(0.6, 0, 0.6, 1) }

.blur>*{
	filter: blur(50px);
	opacity:0.3;
}

.notblur>*{
	filter: blur(0px);
	opacity:1;
}

/* --- HOME HEAD --- */

/* TODO: Make sections closer so scrolling looks smoother */
#HomeHead { display:flex; position: relative; width:100%; height:100%; transition: 0.5s }

#HomeHeadLeft { width:var(--PaneWidth); height:100%; display: flex; flex-direction: column;
	justify-content: center; position: relative; margin: 0 12.5vh; transition: .5s cubic-bezier(0.5, 0, 0.5, 1); }

#HomeHeadTitle { display: flex; flex-direction: column; font-weight: 800 }

#HomeHeadTitle>iv->svg{height:calc((50vh - 60px)/2.38); 
	max-height: calc(75vw*0.59/2.38) }

#HomeHeadTitle>#HomeHeadSubtitle {margin:-21.5px 0px calc((50vh - 60px)/28.3) 0px;} 

#HomeHeadTitle>iv->#HomeHeadSubtitleSvg { height:calc((50vh - 60px)/8.58); max-height: calc(75vw*0.59/8.58); } 

/* HomeHeadLeft */

#HomeHeadScroll { padding:12.5vh;  bottom:0px;
	padding-left: 0px; position: absolute; }

#HomeHeadScroll:hover #HomeHeadScrollSvg { fill: var(--Black) }

#HomeHeadScrollSvg { fill: var(--Blue); transition: 0.5s; }

/* Right Side */

#HomeHeadRight { width:calc(100px + 20vw); height: 100%; position: absolute; top:0px; right:0px;
	transition:0.5s; padding-left:12.5vh; opacity: 0.8; font-size: 22px; }

#HomeHeadRight:hover { width:calc(40% - calc(100vh*1.75 + 100vw)*0.045 + 100px); opacity:1 }

#HomeHeadRight:hover div p { font-size: 24px; }

#HomeNavLinks { margin-top:10px; transition: 0.3s; }

#HomeNavigation { text-align:left; position: relative; transform: translateY(calc(50vh - 50%)); }

#HomeHeadNavigationButtonDesktopSvg { display:inline-block; fill:var(--Black); transition: 0.5s; } 
#HomeHeadNavigationButtonDesktop:not(.faded) {opacity: 0 !important;}

#HomeHeadNavigationButtonSvg { display:none; }

#HomeNavLinks p.faded { padding:12px 0px; margin:0px; transition: all 0.5s, margin 0s, padding 0s, padding-left .3s; opacity: var(--HomeNavOpacity); }

#HomeNavLinks p:hover.faded { color: var(--Blue); padding-left:5px; }

@media ( max-width: 699px ) {
	#HomeHeadNavigationButtonSvg{ display:inline-block }

	#HomeHead{ display:block; }

	#HomeHeadLeft{ margin:0 12.5vw;
		width:75vw }
	
	#HomeHeadRight { width:100%; margin:0px; top:0px; position:absolute; height:0px; opacity: 1; font-size: 22px; }

	#HomeHeadRight:hover { width:100% }

	#HomeNavigation { transform: translateY(0px); text-align: center; }

	#HomeHeadScrollArea{ text-align: center; position: absolute; bottom:25vh; left:0px; width:100%; height:30px}

	#HomeHeadScroll{ position: relative; display:inline-block; padding:12.5vh; margin-left:0px; }	

	#HomeHeadNavigationButtonDesktopSvg { display:none; }

	#HomeHeadNavigationButtonSvg { fill: var(--Black); transition:0.5s }
	
	/* TODO: Smooth animation */
	#HomeHeadNavigationButton { display:inline-block; position:relative; margin-top: 55px; width:unset; padding:20px; 
		top:calc(75px - 100%); text-align: center; }

	#HomeHeadNavigationButton:hover #HomeHeadNavigationButtonSvg{ fill:var(--Blue) }

	#HomeNavLinks p:hover { padding-left:0px; }

	#HomeHeadTitle * svg { display: block; }

	#HomeNavLinks p.faded { animation: none; opacity: var(--HomeNavOpacity); }

}

/* --- HOME FEATURED --- */

#HomeFeatured { display:flex; position: relative; width:100%; height:100% }

#HomeFeaturedLeft { width:var(--PaneWidth); height:100%; display: flex; flex-direction: column;
	justify-content: center; position: relative; margin: 0 12.5vh; }

#HomeFeaturedTitle { display: flex; flex-direction: column }

#HomeFeaturedTitle text {font-size: 80px} #HomeFeaturedSubtitle text {font-size: 24px}

#HomeFeaturedTitle>#HomeFeaturedSubtitle {margin:-21.5px 0px calc((50vh - 60px)/34.3) 0px} 

#HomeFeaturedTitle>iv->#HomeFeaturedSubtitleSvg { height:calc((50vh - 60px)/10.4); max-height: calc(75vw*0.75/10.4) }

#HomeFeaturedTitle>iv-{margin-bottom:calc((50vh - 60px)/60)}

#HomeFeaturedTitle>iv->svg { height:calc((50vh - 60px)/3.431); max-height: calc(75vw*0.75/3.431); }

#HomeFeaturedTitle text { font-weight: 800; }

#HomeFeaturedAbout { margin-bottom: -25vh; padding: 12.5vh 0; transition: .5s cubic-bezier(0.5, 0, 0.5, 1); height: 30px; }

#HomeFeaturedAbout > * > * { transition: .5s cubic-bezier(0.5, 0, 0.5, 1); }

#HomeFeaturedAbout:hover > * > * { fill:var(--Black) }

@media (max-width:699px){ :root{ --PaneWidth:80vw; --TitleDivider: 1 } #HomeFeaturedTitle{display: inline-flex} 
   #HomeFeaturedLeft{text-align: center} 
}

/* --- HOME BYME --- */

#HomeByme { display:flex; position: relative; width:100%; height:100% }

#HomeBymeTitle { margin:12.5vh; height: min-content; position: relative; display: flex; justify-content: center;
    transition: .5s cubic-bezier(0.5, 0, 0.5, 1); width: min-content}

@media (max-width:699px){ #HomeBymeTitle { width:100% } #HomeFeaturedLeft { margin: 0 12.5vw } }
