* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #f5f5f5;
}

.content {
	flex: 1;
	padding: 20px 0;
}

.div-homepage-link {
	padding: 20px;
	z-index: 10;
}

a {
	color: #2c3e50;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #3498db;
}

.w3-grey {
	background-color: #34495e !important;
	color: white;
	padding: 40px 20px !important;
}

.projects-title {
	font-size: 2.5rem;
	margin-bottom: 10px;
	text-align: center;
}

.projects-title-descr {
	font-size: 1.2rem;
	text-align: center;
	opacity: 0.9;
}

#project-container {
	padding: 20px;
	gap: 20px;
}

.w3-third {
	background: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	margin-bottom: 20px;
}

.w3-third:hover {
	transform: translateY(-5px);
}

#previewImage {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 4px;
	margin: 15px 0;
}

/* Footer */
footer {
	background-color: #34495e;
	color: white;
	padding: 20px;
	margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
	.projects-title {
		font-size: 2rem;
	}

	.projects-title-descr {
		font-size: 1rem;
	}

	.w3-third {
		width: 100% !important;
		margin-bottom: 25px;
	}

	#previewImage {
		height: 150px;
	}

	.div-contact {
		margin: 0 15px !important;
	}
}

@media (max-width: 480px) {
	.div-homepage-link {
		padding: 15px;
	}

	.projects-title {
		font-size: 1.75rem;
	}

	#previewImage {
		height: 120px;
	}
}

/* Contact Form Improvements */
.contact-container {
	background: white;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input[type='submit'] {
	background-color: #34495e !important;
	color: white !important;
	transition: background-color 0.3s ease;
}

input[type='submit']:hover {
	background-color: #3498db !important;
}
