@import "./master.css";
header {
	width: 100%;
	aspect-ratio: 1920/843;
	background: radial-gradient(circle at 50% 50%, #282009, #131313);
	background-size: 400% 400%;
	animation: gradientAnimation 10s ease infinite;
	overflow: hidden;
	position: relative;
}

@keyframes gradientAnimation {
	0% {
		background-position: 0% 0%;
	}
	25% {
		background-position: 100% 0%;
	}
	50% {
		background-position: 100% 100%;
	}
	75% {
		background-position: 0% 100%;
	}
	100% {
		background-position: 0% 0%;
	}
}
header div#inner-header {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	height: 100%;
	width: 100%;
	touch-action: pan-y;
	transform: translateX(0%);
	transition: transform 0.5s;
}
header div#inner-header div.slide {
	flex: 0 0 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
header div#inner-header div.slide img {
	width: 100%;
	height: 100%;
	z-index: 0;
	position: absolute;
	top: 0;
	left: 0;
}
header div#inner-header div.slide img.bg {
	z-index: 1;
	object-fit: cover;

}
header div#inner-header div.slide img.content {
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 80%;
	transform: translate(-50%, -50%);
	height: auto;
}
header div#inner-header div.slide img.vertical {
	display: none;
	object-fit: cover;
}
header div#bottom-navigator {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}
header div#bottom-navigator button {
	border: none;
	background: none;
	cursor: pointer;
}
header div#bottom-navigator button i {
	font-size: 20px;
}
section#services {
	background: #161616;
	border-top: 1px solid #2D2D2D;
	border-bottom: 1px solid #2D2D2D;
	padding: 70px 0;
	overflow: hidden;

}

section#services div.content {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	width: 1200px;
	overflow: hidden;
	padding: 0 20px;
	gap: 50px;
}

section#services div.content div.service {
	text-align: center;
	opacity: 0;
}

section#services div.content div.service i {
	color: #ecc91a;
	font-size: 40px;
}
section#services div.content div.service img {
	height: 40px;
}
section#services div.content div.service h1 {
	margin-top: 18px;
}

section#services div.content div.service p {
	margin-top: 18px;
}


section#clients {
	text-align: center;
	margin: 60px 0;
	padding: 0;
}

section#clients h1 {
	font-size: 36px;
	margin-bottom: 45px;
}

section#clients div.content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 auto;
	width: 1200px;
}

section#clients div.content a.client {
	display: block;
	overflow: hidden;
	border-radius: 0;
	box-shadow: none;
	transition: all 0.3s ease;
	position: relative;
	aspect-ratio: 1;
}

section#clients div.content a.client img {
	width: 80%;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease;
}


section#clients div.content a.client:hover {
	z-index: 10;
	box-shadow: 0 0 20px black;
}
section#clients div.content a.client div.overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	height: 120%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
	display: flex;
	padding: 50px;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

section#clients div.content a.client div.overlay p.category {
	background: #ecc91a;
	color: black;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 13px;
	margin-bottom: 10px;

}
section#clients div.content a.client div.overlay p.name {
	font-weight: bold;
	font-size: 40px;
}
section#clients div.content a.client div.overlay p.description {
	font-size: 18px;
}

section#clients div.content a.client:hover div.overlay {
	opacity: 1;
}

section#clients a.btn {
	display: block;
	width: fit-content;
	background: #ecc91a;
	color: black;
	padding: 12px 24px;
	font-size: 15px;
	border-radius: 30px;
	cursor: pointer;
	text-decoration: none;
	margin: 35px auto 0;
}
section#clients a.btn i {
	color: black;
}

section#testimonials {
	background: linear-gradient(to bottom, #38300a, #161616);
	text-align: center;
	padding: 250px 0;
}
section#testimonials h1 {
	font-size: 50px;
}
section#testimonials div.testimonials {
	display: grid;
	grid-template-columns: repeat(3, minmax(300px, 1fr));
	gap: 40px;
	align-items: center;
	justify-content: center;
	margin: 100px auto 0;
	max-width: 1400px;
	width: 100%;
}
section#testimonials div.testimonials div.testimonial {
	position: relative;
}

section#testimonials div.testimonials div.testimonial i:nth-of-type(1) {
	color: #ecc91a;
	position: absolute;
	top: -10px;
	left: -20px;
	font-size: 30px;
}
section#testimonials div.testimonials div.testimonial i:nth-of-type(2) {
	color: #ecc91a;
	position: absolute;
	bottom: 10px;
	right: 0px;
	font-size: 30px;
}
section#testimonials div.testimonials div.testimonial p:nth-of-type(1) {
	font-style: italic;
	font-size: 20px;
	font-weight: 200;
}
section#testimonials div.testimonials div.testimonial p:nth-of-type(2) {
	font-size: 18px;
	font-weight: bold;
	margin-top: 20px;
}

@media (max-width: 1500px) {
	section#testimonials div.testimonials {
		width: 80%;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
	section#testimonials div.testimonials div.testimonial p:nth-of-type(1) {
		margin: 0 10px;
	}

	section#clients div.content {
		width: 90%;
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}

}
@media (max-width: 1200px) {
	section#services div.content {
		width: 90%;
	}
}
@media (max-width: 1000px) {
	section#services div.content div.service {
		padding: 0;
	}
	section#clients div.content a.client div.overlay p.name {
		font-size: 25px;
	}
	section#clients div.content a.client div.overlay p.description {
		font-size: 15px;
	}
}
@media (max-width: 700px) {
	
	section#services div.content {
		display: block;
	}
	section#services div.content div.service {
		width: 100%;
	}
	section#services div.content div.service + div.service {
		margin-top: 50px;
	}

	header {
		aspect-ratio: 920/1445;
	}
	header div#inner-header div.slide img.vertical {
		display: block;
	}
	header div#inner-header div.slide img.horizontal {
		display: none;
	}
}