:root {
	--border-gradient: linear-gradient(
		to right,
		rgb(115, 125, 254),
		rgb(255, 202, 201)
	);
}
/*  MAIN WRAPPER */
.main-wrapper {
	margin-top: 60px;
}

/*  */

/* Services Section */
#services-section {
	/* border: 2px solid; */
	/* height: 40vh; */
}

.about-title-text {
	width: fit-content;
	position: relative;
	/* border: 2px solid; */
	padding: 8px 0;
	margin: 0 auto;
}

.about-title-text svg {
	position: absolute;
	bottom: -1px;
	left: 0;
}

.service-items {
	/* border: 2px solid; */
	width: fit-content;
	display: flex;
	flex-direction: column;
	row-gap: 24px;
	margin: 0 auto;
	padding: 24px;
}

.service {
	font-size: 12px;
	padding: 8px;
	display: flex;
	border: 1px solid;
	border-image-source: var(--border-gradient);
	border-image-slice: 1;
	transition: all 1s;
}
.service p {
	width: 180px;
	margin-left: 12px;
}

.service:hover p {
	/* font-size: 120%; */
	transform: translateY(-2px);
	letter-spacing: 0.5px;
}

/* TECH STACK */
#stack-section {
	/* border: 2px solid; */
	width: fit-content;
	/* min-height: 50vh; */
	display: flex;
	flex-direction: column;
	row-gap: 32px;
	margin: 0 auto;
	margin-top: 40px;
}
.about-title-text.two {
	margin-top: 24px;
}

.stack {
	position: relative;
	overflow: hidden;
}
.stack-img-wrapper {
	transition: all 0.3s;
	animation: moveHat 2s 2;
}
.stack-list {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #181818;
	height: 300px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	transition: all 0.3s;
	transform: translateX(-100%);
	animation: move 2s 2;
	padding: 24px;
}

.stack-list li {
	background: var(--border-gradient);
	background-clip: text;
	color: transparent;
}

.stack:hover .stack-list {
	transform: translateX(0);
}

.stack:hover .stack-img-wrapper {
	transform: translateX(100%);
}

@keyframes move {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes moveHat {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(0);
	}
}
@media screen and (min-width: 600px) {
	#services-section {
	}
	.service {
		justify-content: center;
	}
	.service p {
		width: 70%;
		margin-left: 12px;
	}

	.service-items {
		/* border: 2px solid; */
		width: 350px;
		padding: 24px;
	}

	.service {
		width: 350px;
		font-size: 12px;
		padding: 16px;
	}
}
@media screen and (min-width: 1024px) {
	main {
		padding: 7% 7% 4%;
	}

	.main-wrapper {
		display: flex;
		place-items: center;
	}

	#about-container {
		width: 100%;
		height: 70vh;
		display: flex;
		font-display: row;
		align-items: center;
		/* border: 2px solid; */
	}

	#services-section {
		/* border: 2px solid; */
		width: 40%;
		height: 70%;
		margin-right: 100px;
	}

	.service-items {
		/* border: 2px solid; */
		/* width: 90; */
		display: flex;
		flex-direction: column;
		align-items: start;
		justify-content: center;
		row-gap: 24px;
		padding: 16px;
		padding-top: 50px;
	}

	.service {
		background-color: #242220;

		/* border: 2px solid; */
		font-size: 14px;
		padding: 12px 0;
		width: 80%;
		align-items: center;
		justify-content: center;

		font-weight: 300;
	}

	.service p {
		width: 200px;
		padding-left: 16px;
		margin-left: 0px;

		/* border: 2px solid pink; */
	}

	.about-title-text {
		/* border: 2px solid green; */
		height: 10%;
	}

	#stack-section {
		/* border: 2px solid; */
		width: 40%;
		height: 70%;
		align-items: end;
		justify-content: end;
	}

	.stack {
		width: 100%;

		margin-top: 40px;
		height: 90%;
	}

	.stack-img-wrapper img {
		/* border: 2px solid; */
		width: 70%;
		height: 70%;
		object-fit: cover;
		margin: 0 auto;
	}
	.about-title-text.two {
		/* height: 0%; */
		/* border: 2px solid; */
		margin-top: 0;
	}

	.about-title-text {
		width: fit-content;
		position: relative;
		/* border: 2px solid; */
		padding: 8px 0;
		margin: 0 auto;
	}

	.about-title-text svg {
		position: absolute;
		top: 27px;
		left: 0;
	}

	.stack-img-wrapper {
		width: 100%;
		height: auto;
		margin: 0 auto;
		transform: translateY(0);
		animation: moveHat 2s 1;
		animation-delay: 1s;
	}

	.stack-img-wrapper img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.stack-list {
		font-size: 14px;
		padding: 16px;
		height: 90%;
		width: 100%;
		margin: 0 auto;
		text-align: center;
		transition: all 0.3s;
		transform: translateY(-100%);
		animation: move 2s 1;
		animation-delay: 1s;
	}

	.stack:hover .stack-list {
		transform: translateY(0);
	}

	.stack:hover .stack-img-wrapper {
		transform: translateY(0);
	}

	@keyframes moveHat {
		0% {
			transform: translateY(100%);
		}
		100% {
			transform: translateY(0);
		}
	}

	@keyframes move {
		0% {
			transform: translateY(-100%);
		}
		100% {
			transform: translateY(0);
		}
	}
}

@media screen and (min-width: 1440px) {
	.service-items {
		/* border: 2px solid; */
		width: 400px;
	}
	.service {
		width: 350px;
		font-size: 12px;
		padding: 16px;
		display: flex;
		justify-content: center;
	}

	.service p {
		/* border: 2px solid red; */

		width: 160px;
	}
}
