.title-gif {
    display: block;
    margin: 0 auto;
    height: 80px;
}

body {
	font-family: 'Manrope', sans-serif;
	margin: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

h1 {
	font-family: 'Manrope';
	font-weight: 100;
	font-size: 30px;
	padding: 20px;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

h2 {
	font-family: 'Manrope';
	font-size: 22px;
	margin: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

h3 {
	font-family: 'Poppins';
	font-weight: 100;
	font-size: 15px;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-wrap: balance;
	width: 800px;
	text-align: center;
}

/* Category Links */
h4 {
	font-family: 'Poppins';
	font-weight: 100;
	font-size: 20px;
	margin: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	white-space: nowrap;
	width: 800px;
	text-align: center;
	color: green;
	justify-content: center;
}

h4 a {
    color: inherit;
    text-decoration: underline;
	text-underline-offset: 3px;
}

h4 a:visited {
    color: inherit;
}

.plus {
  text-decoration: none;
  margin: 0 6px; /* optional: adds space around the + */
  color: black; /* sets the + to black */
}

.navbar {
	display: flex;
	letter-spacing: 3px;
	justify-content: center;
	padding: 10px 0;
	height: 70px;
}

.navbar a {
	color: black;
	text-decoration: none;
	padding: 14px 0px;
	margin: 0 10px;
	font-size: 16px;
}

.navbar .active {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Dropdown Container */
.dropdown {
	position: relative; /* Needed for absolute positioning of dropdown content */
	display: flex;
}

/* Dropdown Toggle Link */
.dropdown-toggle {
	color: black;
	text-decoration: none;
	padding: 14px 0;
	margin: 0 10px;
	font-size: 10px;
}

/* Dropdown Content (Initially hidden) */
.dropdown-content {
	display: none; /* Hide the dropdown by default */
	position: absolute;
	background-color: #fff;
	min-width: 200px; /* Adjust the width of the dropdown */
	z-index: 1;
	top: 100%; /* This ensures the dropdown appears below the "Work" link */
	left: 0; /* Align the dropdown content to the left of the parent (Work link) */
}

/* Dropdown Links */
.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

/* Show the dropdown when hovering over the dropdown container */
.dropdown:hover .dropdown-content {
	display: block;
}

/* Optional: Add hover effect for dropdown links */
.dropdown-content a:hover {
	background-color: #ddd;
}

.gallery {
	columns: 3; /* Creates 3 independent columns */
	column-gap: 20px;
	max-width: 92vw;
}

.gallery_social_media {
	columns: 5; /* Creates 3 independent columns */
	max-width: 13vw;
}

.social_media_image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.gallery_project {
	columns: 1;
	column-gap: 20px;
	max-width: 70vw;
}

.gallery_textiles {
	columns: 2;
	column-gap: 20px;
	max-width: 100vw;
}

.gallery_assistants {
  columns: 2;
  column-gap: 20px;
  max-width: 50vw;
}

.assistant-item {
  text-align: center;
}

.assistant-item img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.bio {
	columns: 2;
	column-gap: 20px;
	max-width: 100vw;
}
  
.bio-item {
	text-align: left;
}
  
.bio-item img {
	width: 100%;
	display: block;
	margin: 0 auto;
}

.caption {
	text-align: center;
	margin-top: 8px;
}

.content {
	flex-direction: row;
	max-height: 60vw;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	display: inline-block;
	width: 100%;
	margin-bottom: 20px;
	break-inside: avoid; /* Prevent images from splitting across columns */
}
.gallery-item img {
	width: 100%; /* Make images take full column width */
	display: block;
	transition: opacity 0.3s ease;
}

.moomin-item img {
	width: 80%;        /* Image takes 60% of its container width */
	display: block;    /* Allows margin auto to work */
	margin: 0 auto;    /* Centers the image horizontally */
}
.single_project_item img {
	width: 60%;        /* Image takes 60% of its container width */
	display: block;    /* Allows margin auto to work */
	margin: 0 auto 2rem auto;
}

.gallery-item-projects img {
	width: 100%; /* Make images take full column width */
	display: block;
	margin-bottom: 50px;
}

.gallery-item-textiles img {
	width: 100%; /* Make images take full column width */
	display: block;
	margin-bottom: 20px;
}

.description {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.031);
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	text-align: center;
	font-size: 18px;
	font-family: 'Manrope';
	border-radius: 10px;
	pointer-events: none; /* <-- This fixes the link click issue */
}

.gallery-item:hover .description {
	opacity: 1;
}

.gallery-item:hover img {
	opacity: 0.3; /* Dim image when hovered */
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(255, 255, 255, 0.9);
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 80vh;
}

.close {
	position: absolute;
	top: 20px;
	right: 35px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

.spacer-lg {
	height: 1.5rem;
}

.spacer-lg-after-text {
	height: 3rem;
}

/* MOBILE STYLES */

@media only screen and (max-width: 768px) {
	.title-gif {
		display: block;
		margin: 0 auto;
		height: 80px;
	}
	
	body {
		font-family: 'Manrope', sans-serif;
		margin: 0;
		padding: 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	h1 {
		font-family: 'Manrope';
		font-weight: 100;
		font-size: 30px;
		padding: 20px;
		margin: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	h2 {
		font-family: 'Manrope';
		font-size: 22px;
		margin: 0;
		padding: 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	h3 {
		font-family: 'Poppins';
		font-weight: 100;
		font-size: 15px;
		margin: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-wrap: balance;
		width: 800px;
		max-width: 100%;
		text-align: center;
	}
	
	/* Category Links */
	h4 {
		font-family: 'Poppins';
		font-weight: 100;
		font-size: 20px;
		margin: 0;
		display: flex;
		flex-direction: row;
		align-items: center;
		white-space: nowrap;
		width: 800px;
		text-align: center;
		color: green;
		justify-content: center;
	}
	
	h4 a {
		color: inherit;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
	
	h4 a:visited {
		color: inherit;
	}
	
	.plus {
	  text-decoration: none;
	  margin: 0 6px; /* optional: adds space around the + */
	  color: black; /* sets the + to black */
	}
	
	.navbar {
		display: flex;
		letter-spacing: 3px;
		justify-content: center;
		padding: 10px 0;
		height: 70px;
	}
	
	.navbar a {
		color: black;
		text-decoration: none;
		padding: 14px 0px;
		margin: 0 10px;
		font-size: 16px;
	}
	
	.navbar .active {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
	
	/* Dropdown Container */
	.dropdown {
		position: relative; /* Needed for absolute positioning of dropdown content */
		display: flex;
	}
	
	/* Dropdown Toggle Link */
	.dropdown-toggle {
		color: black;
		text-decoration: none;
		padding: 14px 0;
		margin: 0 10px;
		font-size: 10px;
	}
	
	/* Dropdown Content (Initially hidden) */
	.dropdown-content {
		display: none; /* Hide the dropdown by default */
		position: absolute;
		background-color: #fff;
		min-width: 200px; /* Adjust the width of the dropdown */
		z-index: 1;
		top: 100%; /* This ensures the dropdown appears below the "Work" link */
		left: 0; /* Align the dropdown content to the left of the parent (Work link) */
	}
	
	/* Dropdown Links */
	.dropdown-content a {
		color: black;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
	}
	
	/* Show the dropdown when hovering over the dropdown container */
	.dropdown:hover .dropdown-content {
		display: block;
	}
	
	/* Optional: Add hover effect for dropdown links */
	.dropdown-content a:hover {
		background-color: #ddd;
	}
	
	.gallery {
		columns: 1; /* Creates 3 independent columns */
		column-gap: 20px;
		max-width: 92vw;
	}
	
	.gallery_social_media {
		columns: 5; /* Creates 3 independent columns */
		max-width: 50vw;
	}
	
	.social_media_image img {
		max-width: 100%;
		height: auto;
		display: block;
		object-fit: contain;
	}
	
	.gallery_project {
		columns: 1;
		column-gap: 20px;
		max-width: 92vw;
	}
	
	.gallery_textiles {
		columns: 2;
		column-gap: 20px;
		max-width: 100vw;
	}
	
	.gallery_assistants {
	  columns: 2;
	  column-gap: 20px;
	  max-width: 50vw;
	}
	
	.assistant-item {
	  text-align: center;
	}
	
	.assistant-item img {
	  width: 100%;
	  display: block;
	  margin: 0 auto;
	}
	
	.bio {
		columns: 1;
		column-gap: 20px;
		max-width: 100vw;
	}
	  
	.bio-item {
		text-align: left;
	}
	  
	.bio-item img {
		width: 100%;
		display: block;
		margin: 0 auto;
	}
	
	.caption {
		text-align: center;
		margin-top: 8px;
	}
	
	.content {
		flex-direction: row;
		max-height: 60vw;
	}
	
	.gallery-item {
		position: relative;
		overflow: hidden;
		display: inline-block;
		width: 100%;
		margin-bottom: 20px;
		break-inside: avoid; /* Prevent images from splitting across columns */
	}
	.gallery-item img {
		width: 100%; /* Make images take full column width */
		display: block;
		transition: opacity 0.3s ease;
	}
	
	.moomin-item img {
		width: 80%;        /* Image takes 60% of its container width */
		display: block;    /* Allows margin auto to work */
		margin: 0 auto;    /* Centers the image horizontally */
	}
	.single_project_item img {
		width: 60%;        /* Image takes 60% of its container width */
		display: block;    /* Allows margin auto to work */
		margin: 0 auto 2rem auto;
	}
	
	.gallery-item-projects img {
		width: 100%; /* Make images take full column width */
		display: block;
		margin-bottom: 50px;
	}
	
	.gallery-item-textiles img {
		width: 100%; /* Make images take full column width */
		display: block;
		margin-bottom: 20px;
	}
	
	.description {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 0.031);
		color: black;
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0;
		transition: opacity 0.3s ease;
		text-align: center;
		font-size: 18px;
		font-family: 'Manrope';
		border-radius: 10px;
		pointer-events: none; /* <-- This fixes the link click issue */
	}
	
	.gallery-item:hover .description {
		opacity: 1;
	}
	
	.gallery-item:hover img {
		opacity: 0.3; /* Dim image when hovered */
	}
	
	.modal {
		display: none;
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgba(255, 255, 255, 0.9);
	}
	
	.modal-content {
		margin: auto;
		display: block;
		max-width: 90%;
		max-height: 80vh;
	}
	
	.close {
		position: absolute;
		top: 20px;
		right: 35px;
		color: white;
		font-size: 40px;
		font-weight: bold;
		cursor: pointer;
	}
	
	.spacer-lg {
		height: 1.5rem;
	}
	
	.spacer-lg-after-text {
		height: 3rem;
	}

	.youtube-embed {
		width: 98%;
		max-width: 700px;
		height: 400px;
		border: none;
		display: block;
		margin: 0 auto; /* centers the iframe */
	  }
}

