@import url("master.css");

section#story {
	overflow: hidden;
	margin-top: 120px;
}

section#intro {
	height: 100dvh;
	margin-bottom: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

section#intro div.content {
  text-align: center;
  transform-origin: center;
}

section#intro div.content img {
	width: 600px;
  	display: block;
}
section#intro div.content p {
	font-size: 40px;
	font-weight: 10	0;
}
section#intro-paragraph {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
}
section#intro-paragraph p {
	width: 1200px;
	margin: 0 auto;
	color: #ecc91a;
	font-size: 30px;
	font-weight: 200;
}
section#intro-paragraph h1 {
	width: 1200px;
	margin: 0 auto;
	font-size: 70px;
	font-weight: 200;
}
section#intro-paragraph-2 {	
	width: 100%;
	margin-top: 200px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	left: 0;
	overflow: hidden;

}
section#intro-paragraph-2 p {
	width: 1200px;
	margin: 0 auto;
	font-size: 70px;
}
section#intro-paragraph-2 p:nth-of-type(1) {
	color: white;
	font-weight: 200;
}
section#intro-paragraph-2 p:nth-of-type(2) {

	font-weight: bold;
	color: #ecc91a;
}

section#numbers {

	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 100vh;
	position: relative;
	z-index: 2;
}
section#numbers div.stat {
	text-align: center;
	flex: 1;
}
section#numbers div.stat h1 {
	font-size: 100px;
	font-weight: bold;
	color: #ecc91a;
}
section#numbers div.stat p {
	font-size: 30px;
	font-weight: 100;
}
section#numbers div.stat:nth-of-type(2), section#numbers div.stat:nth-of-type(3), section#numbers div.stat:nth-of-type(4) {
	opacity: 0; 
	position: relative; 
	transform: translateY(150px);
}
section#how {
	height: calc(4 * 100vh);
	position: relative;
}
section#how-we {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

section#how-we h1 {
	color: white;
	font-size: 100px;
	font-weight: 100;
	transform: translate(-70%, 0);
}


section#how-define, section#how-build, section#how-simplify, section#how-iterate, section#how-build, section#how-perfect {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100vh;
	top: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
}


section#how-define h1, section#how-build h1, section#how-simplify h1, section#how-iterate h1, section#how-build h1, section#how-perfect h1 {
	color: #7e8281;
	font-size: 100px;
	font-weight: bold;
	transform: translate(50%, 0);
}


section#how-build {
	top: 600px;
}

section#how-build h1 {
	color: #9e9f9e;
}
section#how-simplify {
	top: 1200px;
}

section#how-simplify h1 {
	color: #cccccc;
}
section#how-iterate {
	top: 1800px;
}

section#how-iterate h1 {
	color: #fff;
}
section#how-perfect {
	top: 2400px;
}

section#how-perfect h1 {
	color: #eac918;
}

section#image {
	text-align: center;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: -300px;
}
section#image img {
	border: 20px solid white;
	border-radius: 10px;
	box-shadow: 0 0 50px black;
	width: 60%;
	scale: 0.5;
	opacity: 0;
	transform: rotate(10deg);
}
section#cta {
	background: #161616;
	text-align: center;
	padding: 50px 20px;
}
section#cta h1 {
	font-size: 40px;
	font-weight: 2	00;
}
section#cta a {
	background: #ecc91a;
	color: black;
	border-radius: 45px;
	padding: 20px 30px;
	border: none;
	margin: 30px auto 0;
	text-decoration: none;
	display: block;
	font-size: 20px;
	width: fit-content;
}

@media (max-width: 1400px) {
	
	section#intro-paragraph h1, section#intro-paragraph p, section#intro-paragraph-2 p {
		width: 90%;
	}
}
@media (max-width: 1000px) {
	section#numbers {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		height: 50vh;
	}
	section#numbers div.stat h1 {
		font-size: 80px;
	}
	section#numbers div.stat p {
		font-size: 30px;
	}
	
}

@media (max-width: 800px) {
	section#intro div.content img {
		width: 100%;
	}
	section#intro div.content p {
		font-size: 25px;
		margin-top: 10px;
	}
	section#intro-paragraph p {
		font-size: 25px;
	}

	section#intro-paragraph-2 p {
		font-size: 50px;
	}
	section#how-we {
		justify-content: flex-start;
		transform: translate(100px, 0);
	}
	section#how-we h1 {
		font-size: 50px;
	}
	section#how-define, section#how-build, section#how-simplify, section#how-iterate, section#how-build, section#how-perfect {
		justify-content: flex-start;
		width: 100%;
	}
	section#how-define h1, section#how-build h1, section#how-simplify h1, section#how-iterate h1, section#how-build h1, section#how-perfect h1 {
		font-size: 50px;
		left: 0;
		transform: translateX(150px);

	}
	section#image img {
		width: 90%;
	}
	section#cta h1 {
		font-size: 30px;
	}
}
@media (max-width: 700px) {
	section#numbers div.stat h1 {
		font-size: 60px;
	}
	section#numbers div.stat p {
		font-size: 30px;
	}
}