: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 Reset */
body, h1, h2, p {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
  
  body {
	font-family: "Georgia", serif;
	background-color: #444444;
	color: #f5f5f5;
	line-height: 1.6;
	padding: 0 1rem;
  }
  
  a {
	color: #76c7c0;
	text-decoration: none;
  }
  
  a:hover {
	text-decoration: underline;
  }
  
  /* Header */
  header {
	background-color: #252625;
	border-radius: 0px 0px 10px 10px;
	text-align: center;
	padding: 2rem 1rem;
	border-bottom: 1px solid #333;
  }
  
  header h1 {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
  }
  
  header p {
	font-size: 1rem;
	max-width: 800px;
	margin: 0 auto;
	color: #cfcfcf;
  }
  
  /* Gallery Sections */
  .gallery-section {
	margin: 3rem 0;
	background-color: #393a39;
	border-radius: 10px;
	padding: 2rem 0;
  }
  
  .gallery-section h2 {
	font-size: 2.5rem;
	text-shadow: #070807 0.2px 0.2px 2px;
	text-align: center;
	margin-bottom: 1.5rem;
	color: #e0e0e0;
  }
  
  .gallery {
	padding: 2rem;
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* Default: single column for small screens */
	gap: 4rem;
  }
  
  .image-container {
	border-radius: 8px;
	overflow: hidden;
	background-color: #1e1e1e;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  .image-container img {
	width: 100%;
	height: auto;
	display: block;
  }

  figcaption {
	text-align: center;
	padding: 1rem;
	font-size: 1rem;
	color: #eee;
	font-style: italic;
}
  
  /* Media Queries */
  @media (min-width: 768px) {
	.gallery {
	  grid-template-columns: repeat(2, 1fr); /* Two columns for medium and large screens */
	}
  }
  
  @media (min-width: 1024px) {
	.gallery {
	  grid-template-columns: repeat(2, 1fr); /* Three columns for larger screens */
	}
  }
  
  /* Footer */
  footer {
	text-align: center;
	padding: 1rem;
	border-top: 1px solid #333;
	margin-top: 3rem;
	color: #cfcfcf;
  }
  
/* 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: 90%;
	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 */
}
