* {
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background-color: black;
}

h6{
	margin: 0px;
	padding: 0px;
	text-align: center;
}

.logo {
	float: left;
	background-color: #333;
	height: 88px;
	width: 50%;
}

.topnav {
	overflow: hidden;
	display: flex;
	justify-content: right;
	align-items: center;
	background-color: #333;
	height: 88px;
	width: 50%;
}

.topnav a {
	float: right;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.content {
	background-color: #ddd;
	padding: 10px;
}

.footer {
	background-color: #f1f1f1;
	padding: 10px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
}

.gallery-item {
	border: 1px solid thin #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px); /* Lift card slightly */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Image behavior inside card */
.gallery-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover; /* Keeps aspect ratio intact while cropping to fit */
    display: block;
}

/* Description styling */
.gallery-item .desc {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

.gallery-img {
    cursor: pointer;
}

/* Lightbox Background overlay */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background with opacity */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 4px;
    animation: zoomIn 0.3s ease; /* Smooth pop-in animation */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #bbb;
}

/* Animation for smooth scaling */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}