root {
	--border-gradient: linear-gradient(
		to right,
		rgb(115, 125, 254),
		rgb(255, 202, 201)
	);
	--bg-color: #1e1e1e;
	--bg-gradient: linear-gradient(
		to right,
		rgba(115, 125, 254, 0.1) 0%,
		rgb(255, 202, 201, 0.1) 100%
	);
}

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

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

#projects-section {
	/* border: 2px solid green; */
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 40px;
	margin-top: 16px;
}

.project-card {
	background-image: var(--bg-gradient);
	/* background-color: #1e1e1e; */
	border: 1px solid #eeeeee;
	width: 270px;
	height: 350px;
	border-radius: 24px;
	padding: 32px 16px;

	display: flex;
	flex-direction: column;
	align-items: center;

	/* box-shadow: 1px 2px 2px hsl(0deg 0% 0% / 0.38); */

	/* border: 2px solid;
	border-image-source: var(--border-gradient);
	border-image-slice: 1; */
}

.project-card img {
	height: 177px;
	border-radius: 12px;
	margin-bottom: 16px;
	object-fit: cover;
}

.project-body {
	/* border: 2px solid pink; */
	width: 100%;
}
.project-body .title {
	font-weight: 400;
	margin-bottom: 12px;
	color: white;
	font-size: 15px;
}

.button-wrappers {
	display: flex;
	/* justify-content:  */
	column-gap: 8px;
}

.button-wrappers button {
	/* width: 80px; */
	font-size: 12px;
	text-align: center;
	/* border: 2px solid rgb(115, 125, 254),;
	border-image: var(--border-gradient);
	border-image-slice: 1;
	border-width: 3px 0 3px;
*/
	font-weight: 400;
	padding: 9px 18px;
	border: 1px solid white;
	border-radius: 24px;

	box-shadow: 2px 4px 4px hsl(0deg 0% 0% / 0.38);
}
.button-wrappers button:hover {
	box-shadow: none;
}

@media screen and (min-width: 1024px) {
	#projects-section {
		padding: 24px;
		margin-top: 50px;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
	}

	#projects-section .project-card {
		flex: 0 0 auto; /* ensures fixed size for scrolling */
		margin-right: 92px;
	}

	.projects-title-text{
		font-size: 18px;
		font-weight: 400;
	}
}

