/* Button 55 Style for Download Button */
.button-55 {
	align-self: center;
	background-color: #fff;
	background-image: none;
	background-position: 0 90%;
	background-repeat: repeat no-repeat;
	background-size: 4px 3px;
	border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
	border-style: solid;
	border-width: 2px;
	box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
	box-sizing: border-box;
	color: #41403e;
	cursor: pointer;
	display: inline-block;
	font-family: Neucha, 'Kalam', cursive, sans-serif;
	font-size: 1rem;
	line-height: 23px;
	outline: none;
	padding: .75rem;
	text-decoration: none;
	transition: all 235ms ease-in-out;
	border-bottom-left-radius: 15px 255px;
	border-bottom-right-radius: 225px 15px;
	border-top-left-radius: 255px 15px;
	border-top-right-radius: 15px 225px;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}
.button-55:hover {
	box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
	transform: translate3d(0, 2px, 0);
}
.button-55:focus {
	box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}
/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.9);
}
.modal-content {
	margin: auto;
	display: block;
	width: 60vw;
	height: 60vh;
	max-width: 60vw;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	font-size: 1.1em;
}
.modal-content, #caption {
	animation-name: zoom;
	animation-duration: 1s;
}
@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
}
.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
}
.download-btn {
	display: inline-block;
	margin: 20px auto 0 auto;
	align-self: center;
}
@media only screen and (max-width: 700px){
	.modal-content {
		width: 100%;
	}
}
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
:root {
	--adjust-size: 0px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Kalam', cursive;
}
html, body {
	overscroll-behavior-x: none;
	overscroll-behavior-y: none;
	scroll-behavior: smooth;
}
body {
	min-height: 100vh;
	background: url('https://images.unsplash.com/photo-1531685250784-7569952593d2?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTMyOTE2OTh8&ixlib=rb-4.0.3&q=100&w=3000') center/cover no-repeat;
}
main {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
}
#gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 1200px;
	padding: 20px;
}
.batch-title {
	grid-column: 1 / -1;
	font-weight: bold;
	font-size: 1.2em;
	margin: 20px 0 10px;
}
#gallery figure {
	position: relative;
	margin: var(--adjust-size);
	padding: 0.5rem;
	border-radius: 5px;
	box-shadow: 0 7px 8px rgba(0,0,0,0.4);
	background: ghostwhite;
	background-image: url("https://images.unsplash.com/photo-1629968417850-3505f5180761?auto=format&fit=crop&w=500&q=80");
	background-size: cover;
	background-blend-mode: multiply;
	text-align: center;
	overflow: hidden;
	transition: transform 500ms cubic-bezier(0.42, 0, 0.58, 1);
}
#gallery figure:after {
	position: absolute;
	top: 0.22rem;
	left: 50%;
	width: 0.7rem;
	height: 0.7rem;
	content: "";
	background: crimson;
	border-radius: 50%;
	box-shadow: 0 0.15rem 0.2rem rgba(0,0,0,0.5);
	transform: translateX(-50%);
	z-index: 2;
}
figure img {
	aspect-ratio: 1/1;
	width: 100%;
	object-fit: cover;
	border-radius: 5px;
	margin-bottom: 10px;
}
figure figcaption {
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
@media (min-width: 800px) {
	#gallery {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
}
body {
	font-family: Arial, sans-serif;
	/* background: linear-gradient(135deg, #222 60%, #444 100%); */
	min-height: 100vh;
	padding: 20px;
}
h1 { text-align: center; margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px; }
.card {
	background: #fff;
	border-radius: 12px;
	overflow: visible;
	box-shadow: 0 8px 24px rgba(0,0,0,0.18);
	position: relative;
	transition: transform 0.7s cubic-bezier(.68,-0.55,.27,1.55);
	top: 0;
	will-change: transform;
}
.card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.card.swinging {
	position: sticky;
	top: 30px;
	z-index: 1;
}
.pin {
	position: absolute;
	left: 50%;
	top: 0px;
	transform: translateX(-50%);
	width: 22px;
	height: 22px;
	background: #e74c3c;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	border: 2px solid #fff;
	z-index: 2;
}
.pin:after {
	content: '';
	display: block;
	position: absolute;
	left: 50%;
	top: 18px;
	width: 4px;
	height: 12px;
	background: #888;
	border-radius: 2px;
	transform: translateX(-50%);
}
.batch-title {
	grid-column: 1 / -1;
	font-weight: bold;
	font-size: 1.2em;
	margin: 20px 0 10px;
}
