/* This CSS Lightbox is Licensed under the MIT/X11 License. Copyright (c) 2019 by Gregory Schier (https://codepen.io/gschier/pen/HCoqh) */

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 70%;
	max-height: 70%;
	margin-top: 4%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.hover-opacity:hover {
	opacity: 0.9;
	transition: 0.3s;
}
