/* Main page specific styles */
/* CV Button Styles */
.cv-link-container {
	margin-top: 1.5em;
	text-align: center;
}

.cv-link {
	display: inline-block;
	padding: 0.75em 2em;
	font-size: 1.1em;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
	border: none;
	border-radius: 30px;
	box-shadow: 0 2px 8px rgba(106,17,203,0.15);
	text-decoration: none;
	transition: background 0.3s, box-shadow 0.3s;
}

.cv-link:hover, .cv-link:focus {
	background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
	box-shadow: 0 4px 16px rgba(106,17,203,0.25);
}
.header {
	font-family: "Open Sans", sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 50px 100px;
	box-sizing: border-box;
}

.header h1 {
	font-size: 3em;
	flex-grow: 2;
	text-align: center;
}

.profile-image {
	width: 30%;
	height: auto;
	float: left;
}

.section {
	padding: 50px;
	text-align: center;
	transition: all 0.1s ease;
}

.section h2 {
	margin-bottom: 30px;
}

.technologies-row,
.socials-row {
	display: flex;
	justify-content: center;
	max-width: 100%;
	flex-wrap: wrap;
}

.technology,
.social-icon {
	max-width: 200px;
	max-height: 50px;
	margin: 10px;
}

.project-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.project {
	background: linear-gradient(#222, #222) padding-box, 
		transparent border-box;
	padding: 20px;
	margin: 10px;
	border-radius: 10px;
	box-sizing: border-box;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	width: calc(50% - 20px);
	border: 2px solid transparent;
	transform: translateY(0) scale(1);
	will-change: transform, box-shadow, background;
}

.project:hover {
	background: linear-gradient(#333, #333) padding-box, 
		conic-gradient(from 0deg, #ff0040, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080, #ff0040) border-box;
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3),
		0 12px 30px rgba(0, 0, 0, 0.4),
		0 0 20px rgba(255, 255, 255, 0.1);
	animation: rgb-border-rotate 4s linear infinite;
}

.project-content {
	display: flex;
	align-items: center;
}

.project-image {
	width: auto;
	height: 150px;
	object-fit: cover;
	border-radius: 10px;
}

.project-details {
	padding-left: 20px;
	width: 50%;
}

.footer {
	background-color: var(--color-bg);
	color: #fff;
	text-align: center;
	padding: 20px 8px;
	width: 100%;
	font-size: 0.85em;
	margin-top: 40px;
}

@media (max-width: 768px) {
	.profile-image {
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}

	.project {
		width: 100%;
		margin: 10px 0;
	}

	.footer {
		padding: 15px 8px;
		margin-top: 30px;
	}

	#connections {
		margin-bottom: 20px;
	}
}
