/* Portfolio thumbnails — was .portfolio a img in assets/css/style.css */
.portfolio a img {
	width: 100%;
	height: auto;
}

/* <picture> is inline by default, which would box the image in a line box. */
.portfolio a picture,
.image picture {
	display: block;
}

/*
	Every img now carries width/height attributes so the browser can reserve the
	right box before the file arrives. Those attributes also apply as a
	presentational height, so the sized-to-fit images need height back to auto or
	they stretch to their intrinsic pixel height.
*/
.image.fit img {
	height: auto;
}

/* Lightbox — replaces magnific-popup.css and magnific-popup-core.css */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 10002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2em;
	background: rgba(16, 16, 16, 0.92);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox[hidden] {
	display: none;
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	max-width: 100%;
	max-height: 100%;
	transform: scale(0.97);
	transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__figure {
	transform: scale(1);
}

.lightbox__image {
	max-width: 100%;
	/* Leave room for the caption so tall shots never push it off screen. */
	max-height: calc(100vh - 10em);
	object-fit: contain;
	box-shadow: 0 1em 3em rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
	color: #fff;
	font-size: 0.9em;
	text-align: center;
}

.lightbox__caption a {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.5);
}

.lightbox__close {
	position: absolute;
	top: 0.5em;
	right: 0.75em;
	padding: 0;
	width: 1.5em;
	height: 1.5em;
	line-height: 1;
	font-size: 2.5em;
	color: #fff;
	background: none;
	border: 0;
	cursor: pointer;
	opacity: 0.7;
}

.lightbox__close:hover {
	opacity: 1;
}

/* Contact form status message */
#form-status {
	min-height: 1.5em;
	margin: 0;
	font-size: 0.9em;
	text-align: center;
}

#form-status[data-state="error"] {
	color: #ff7676;
}

#form-status[data-state="success"] {
	color: #7ddc9a;
}

/* Turnstile widget sits between the message box and the send button */
.cf-turnstile {
	display: flex;
	justify-content: center;
	margin: 1em 0 0 0;
}

@media screen and (max-width: 736px) {
	.lightbox {
		padding: 1em;
	}

	.lightbox__image {
		max-height: calc(100vh - 8em);
	}
}


/*# sourceMappingURL=bundle.css.map*/