/* ------------------------------
modal to zoom pictures
------------------------------ */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	padding-top: 75px;
	overflow: auto;
}

/* show when targeted */
.modal:target {
	display: block;
}

/* clickable dim background (transparent but not fully) */
.modal__bg {
	position: fixed;
	inset: 0;
	//background: rgba(0,0,0,0.2);
}

/* keep content above background */
.modal__box {
	position: relative;
	z-index: 1;
}

/* modal content (when clicked) */
.modal-content {
	margin: auto;
	display: block;
	width: 90%;
	border-radius: 10px;
	border: 1px solid var(--orange);
	height: auto;
	object-fit: contain;
}

/* animation (keep yours) */
.modal-content {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

/* two pictures side by side taking whole width */
.img-row {
	width: 80%;
	overflow: hidden;
}

.img-row .L, .img-row .R {
  float: left;
}

.img-row .R{
	float: right;
}

/* define the percentage here */
.img-row .L, .img-row .R{
	width: 48%;
}

/* image fills its side */
.img-row img{
	//display: block;
	width: 100%;              
	height: auto;
	border: 1px solid var(--orange);
	border-radius: 10px;
}

@-webkit-keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} }
@keyframes zoom { from {transform:scale(0.1)} to {transform:scale(1)} }

/* close mechanism */
.close{
	position: fixed;
	top: 24px;
	right: 150px;
	cursor: pointer;
	z-index: 2;
}

/* cross parameters */
.cross div{
	width: 35px;
	height: 5px;
	background: var(--orange);
	border-radius: 5px;
}
.cross div:first-child { transform: rotate(45deg) translate(4px, 3px); }	/* from top left to bottom right */
.cross div:last-child { transform: rotate(-45deg) translate(0px, 0px); }	/* from bottom left to top right */
