/* =========================================
   CERTIFICATIONS PAGE — Unique styles
   ========================================= */

main {
	margin: 20px;
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 20px;
}

.div1 {
	border: 1px solid #b8997a;
	border-radius: 2%;
	padding: 30px 20px;
	width: 280px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

.div1 img {
	width: 200px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 4px;
}

.div1 img:hover {
	transform: scale(1.04);
	box-shadow: 0 4px 20px rgba(184, 153, 122, 0.4);
}

.div1 h1 {
	font-size: 18px;
	color: #dbccbd;
	text-align: center;
	font-weight: normal;
	margin: 10px 0 0 0;
	padding: 0;
	line-height: 1.4;
}

/* ── Fullscreen overlay (single, shared) ── */
.fullscreen-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.fullscreen-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 4px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* ── Mobile ── */
@media (max-width: 420px) {
	.div1 {
		width: 90%;
	}

	.div1 img {
		width: 160px;
	}
}
