:root {
	--light: #EEE;
	--dark: #252625;
	--darker: #070807;
	--pink: #EC4899;
	--purple: #885CF6;
	--lightyellow: #fbf7e4;
	--yellow: #edc447;
	--darkyellow: #fdb714;
	--light2: #faf865;
	--olive: #423E37;
	--neutral: #8349e9;

	--large: min(4.5vmax,400%);
	--medium: min(2.5vmax,220%);
	--medium2: min(3vmax,220%);
	--small: min(2vmax,135%);
	--small2: min(2.5vmax,135%);
}

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

/* Modal Styles */
#image-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#image-modal .modal-content {
	max-width: 90%;
	max-height: 90%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
}

#image-modal img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto; /* Preserve aspect ratio */
	height: auto; /* Preserve aspect ratio */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Remove zoom effect in modal */
.gallery img:hover {
	transform: scale(1.05); /* Keep hover effect in the gallery */
}

#image-modal img:hover {
	transform: none; /* Disable zoom effect for modal images */
}


body {
	font-family: "Georgia", serif;
	line-height: 1.6;
	background-color: #f9f9f9;
	color: #333;
}

/* Header */
header {
	background-color: #f5f5f5;
	padding: 2rem 1rem;
	text-align: center;
	border-bottom: 1px solid #e0e0e0;
}

header h1 {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	color: #5a5a5a;
}

header p {
	font-size: 1.2rem;
	color: #7a7a7a;
}

/* Main Content */
main {
	padding: 2rem 1rem;
}

.introduction {
	max-width: 800px;
	margin: 0 auto 3rem auto;
	text-align: center;
}

.introduction h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #5a5a5a;
}

.introduction p {
	font-size: 1.1rem;
	color: #555;
}

/* Portfolio Section */
.portfolio {
	max-width: 1200px;
	margin: 0 auto;
}

.portfolio h2 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #5a5a5a;
}
  
/* Gallery Grid */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	padding: 0 1rem;
}
  
.image-container {
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	background-color: #fff;
}
  
/* Styling for the GIF to span full width */
.image-container.gif {
	grid-column: 1 / -1; /* Make the GIF span all columns */
}
  
.image-container img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}
  
.image-container:hover img {
	transform: scale(1.05);
}

figcaption {
	text-align: center;
	padding: 1rem;
	font-size: 1rem;
	color: #4a4a4a;
	font-style: italic;
}
  
/* Footer */
footer {
	text-align: center;
	padding: 1rem;
	background-color: #f5f5f5;
	color: #7a7a7a;
	border-top: 1px solid #e0e0e0;
	font-size: 0.9rem;
}
  