/* Styles for gallery of images for single art piece */
/* styles.css */
.artPage {
	margin:0;
    background: linear-gradient(#000000, 30%, #555555);
	height: 100%;
}
.textPage {
	margin:0;
    background: black;
	height: 100%;
}
#title {
	display: grid;
	grid-template-columns: 1fr 4fr;
	color: white;
	padding: 10px;
}
#site {
 	color: #FBA082;
	letter-spacing: 1px;
	font: bold 24px Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1em, 2vw, 2em);
	text-wrap: nowrap;
	margin: 1px auto;
	padding: 5px 20px 20px 0px;
}
#site a:link, #site a:visited {
	color: #FBA082;
	text-decoration: none;
	font-weight: normal;
}
#art-title {
	border: 1px solid #555555;
	background: black;
	letter-spacing: 1px;
	font: bold 40px Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1em, 5vw, 2em);
	padding: 5px;
}
.textContainer {
	color: white;
    background: linear-gradient(#000000, 30%, #555555);
	min-width: 200px;
	max-width: 70%;
	margin-top:10px;
	margin-left: 10%;
	padding: 5px 20px 20px 20px;
	border: 1px solid #000;
	display: block;
}

#description{
	color: #FFFFFF;
	background: #000000;
	border: 1px solid #333333;
	padding: 10px;
	margin: 5px;
	width: 90%;
	height: auto;
        font: bold 18px Georgia, "Times New Roman", Times, serif;
}

/* For the grid of images on the page */
.gallery{
    display: grid;
	grid-template-columns:  repeat(auto-fit, minmax(200px, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 90%;
    margin: auto;
}
.thumbnail {
	max-width: 100%;
	max-height: 100%;
	margin: 20px;
	cursor: pointer;
}

/* For the lightbox displaying one image */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
}
.lightbox-img {
	max-width: 95%;
	max-height: 95%;
}
.close-btn {
	position: absolute;
	top: 90%;
	right: 15px;
	font-size: 30px;
	color: #fff;
	cursor: pointer;
}
.prev-btn {
	display: none;
	position: absolute;
	top: 50%;
	left: 1%;
	cursor: pointer;
}
.next-btn {
	display: none;
	position: absolute;
	top: 50%;
	right: 1%;
	cursor: pointer;
}
