/*  

	Author : Moskva Yigit
	Author URI : http://www.moskvayigit.com/

	Table of Contents
	- On-Scroll Fixed Section
	 
*/

.ki-description{max-width:500px;}

/*----------------------------
	.-- On-Scroll Fixed Section
-----------------------------*/

*,
*::after,
*::before {
	box-sizing: border-box;
}

.content--sf{
	padding: 2rem 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.content--sf--perspective {
	perspective-origin: 50% 0%;
	perspective: 1000px;
}

.text-large {
	font-size: clamp(1.5rem,5vw,3rem);
	max-width: 900px;
	margin: 0 0 0.85em 0;
	line-height: 1.2;
}

.content--sf--sticky {
	width: 100vw;
	position: sticky;
	top: 0;
	--offset: 0px;
	top: var(--offset);
	height: calc(100vh - var(--offset));
}

.content--sf--grid,
.content--sf--grid .content--sf__inner {
	display: grid;
	overflow: hidden;
	grid-column-gap: 5vw;
	grid-row-gap: 2vh;
	align-content: center;
	grid-template-areas: 'content-img' 'content-title' 'content-text';
	justify-items: center;
}

.content--sf--grid:has(.content--sf__inner) {
	display: block;
	padding: 0;
}

.content--sf__inner {
	width: 100%;
	height: 100%;
	border-radius: 0 0 2rem 2rem;
}

.content--sf--card {
	display: flex;
	flex-direction: column;
	height: 80vh;
	width: 95vw;
	max-width: 500px;
	aspect-ratio: 0.8;
	top: 10vh;
	margin: auto;
	border-radius: 14px;
	gap: 3vh;
	text-align: center;
	margin-bottom: 5vh;
}

.content--sf--card .content--sf__title {
	font-size: clamp(1.5rem,4vw,3.5rem);
}

.content--sf--card .content--sf__title i {
	display: block;
}

.content--sf--half {
	display: flex;
	flex-direction: column;
	gap: 3vh;
	text-align: center;
}

.content--sf--half:nth-child(odd) {
	margin-left: auto;
}

.content--sf__img {
	grid-area: content-img;
	width: 50%;
	max-width: 300px;
	height: auto;
}

.content--sf__img--large {
	width: 60%;
	height: auto;
}

.content--sf__img--small {
	height: 35%;
	width: auto;
}

.spacer {
	margin-top: 20vh;
}

.content--sf__title {
	grid-area: content-title;
	letter-spacing: -0.095em;
	text-transform: uppercase;
	line-height: 1;
	font-size: clamp(2rem,6vw,5rem);
	margin: 0;
}

.content--sf__text {
	margin: 0;
	max-width: 500px;
	grid-area: content-text;
	text-align: center;
	line-height: 1.5;
	padding: 0 1rem;
	backface-visibility: hidden;
}

.content--sf__text--narrow {
	max-width: 300px;
}

.content--sf--intro {
	padding-top: 25vh;
	padding-bottom: 25vh;
	z-index: 2;
}

.content--sf--outro {
	padding-top: 50vh;
	padding-bottom: 30vh;
}


@media screen and (min-width: 63em) {
	
	.content--sf--grid .content--sf__title {
		align-self: end;
	}
	
	.content--sf--grid,
	.content--sf--grid .content--sf__inner {
		grid-template-areas: 'content-img content-title' 'content-img content-text';
		grid-template-columns: 30% 1fr;
		justify-items: start;
	}
	.content--sf__img--large {
		width: 160%;
	}
	.content--sf__img--left {
		justify-self: end;
	}
	.content--sf__text--left {
		text-align: left;
		align-self: start;
	}
	.content--sf--card {
		width: 50vw;
	}
	.content--sf--half {
		width: 50%;
	}

}

.content--sf__title{
    font-family: sans-serif;
    font-weight: 600;
}

.content--sf__title i{
	font-weight:100;
}