:root {
	--main-color: #181818;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	background-color: #181818;
	color: white;
	padding: 0;
	margin: 0;
	font-family: "Montserrat", sans-serif;
	max-width: 100vw;
	font-size: 1.3rem;
	width: 100%;
}
main {
	background-color: black;
	place-items: center;
	/* width: 20vw; */
	display: flex;
	justify-content: center;
	align-items: center;
	/* height: 30vw; */
	max-height: 50vh;
	aspect-ratio: 660/500;
	position: relative;
}
.hero {
	height: 90vh;
	display: grid;
	align-items: center;
	font-size: 2rem;
}
.title {
	font-weight: 800;
}
.eye {
	position: absolute;
	top: calc(x * 1vw);
	left: calc(y * 1vw);
	width: calc(z * 1vw);
	height: auto;
}

.container2 {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	min-height: 100vh;
	padding-top: 5rem;
	padding: 1rem;
}
.left {
	flex: 1;
	padding: 1rem;
	flex-grow: 1;
}
.right {
	flex: 1;
	flex-grow: 1;
	min-width: 20rem;
	word-wrap: break-word;
	padding: 1rem;
}
@media (max-width: 768px) {
	.container2 {
		flex-direction: column;
		align-items: center;
	}

	.left,
	.right {
		flex: none;
		width: 100%;
	}
}

.blob-container {
	position: relative;
	width: 100%;
	height: 100%; /* Adjust the height to your needs */
	overflow: hidden;
}
li {
	padding: 0.5rem;
}
.blob {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: linear-gradient(45deg, #1a1a1a, #001e39, #353535); */
	background: radial-gradient(
		ellipse at top,
		var(--main-color),
		#181818,
		#181818
	);
	filter: blur(150px);
	animation: blob-move 10s infinite ease;
}

.content {
	position: relative;
	z-index: 1;
	color: #fff;
	text-align: center;
	padding: 20px;
}

@keyframes blob-move {
	0% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(200px, 200px) scale(1.1);
	}
	50% {
		transform: translate(400px, -200px) scale(1.2);
	}
	75% {
		transform: translate(-200px, 20px) scale(1.1);
	}
	100% {
		transform: translate(0, 0) scale(1);
	}
}

.blob {
	animation: blob-move 10s infinite, blob-color 10s infinite;
}

.skill-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	box-sizing: border-box;
}

.skill-item > img {
	width: 4rem;
}
.skill-item > h4 {
	text-align: center;
}

.skill-item {
	position: relative; /* Enables positioning for the pseudo-element */
	display: inline-block; /* Adjusts the size to fit content */
	overflow: hidden; /*Ensures the pseudo-element doesn't overflow*/
	padding: 16px; /* Optional: Adds some padding inside the div */
	font-size: 1.2rem; /* Optional: Adjust font size */
	cursor: pointer; /* Pointer effect for interactivity */
}

.skill-item::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: scaleX(0); /* Initial state: background hidden */
	transform-origin: bottom right;
	background: var(--main-color); /* Light blue background */
	z-index: -1; /* Ensures the background stays behind the text */
	transition: transform 0.3s ease; /* Smooth scaling transition */
}

.skill-item:hover::before {
	transform: scaleX(1); /* Fully expand background on hover */
	transform-origin: bottom left;
}
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.project-section {
	padding: 1rem;
}
.card-project {
	width: 25rem;
	padding: 2rem;
	margin-bottom: 1rem;
}
.image img {
	width: 25rem;
	height: auto;
}
.content h3 {
	padding: 0;
	margin: 0;
}
.card-footer-item > a {
	padding: 0.5em;
	background-color: var(--main-color);
	color: white;
	border: none;
	font-size: inherit;
}
footer img {
	width: 5rem;
	height: auto;
}
footer {
	padding: 1rem;
	margin: auto;
	margin-bottom: 3rem;
	width: max-content;
}
footer > a {
	background-color: #181818;
	color: #181818;
}
