body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #2d69fc;
}

header .logo img {
    height: 100px;
    margin-right: 10px;
	background: none;
	border: none;
}

header .heading h1 {
    margin: 0;
}

h1 {
	color: rgba(251, 233, 22, 1.0);
	font-size: 2em;
}

main {
    position: relative;
    width: 100%;
    height: 800px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    /*filter: brightness(50%);*/
	font-size: 1.5em;
	color: #fdf59b;
}

main .content-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(180, 201, 254, 0.85);
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #1e22ae;
	color: rgba(251, 233, 22, 1.0);
}

footer a {
	color: rgba(251, 233, 22, 1.0);
}

/* Gallery Layout */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    display: block;
    margin: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
}

.image-item {
    width: 100%; /* Ensure the item takes full width */
    height: 200px; /* Fixed height for all thumbnails */
    overflow: hidden; /* Ensure the image doesn't overflow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-item img {
    width: 100%; /* The image takes the full width of the container */
    height: 100%; /* The image takes the full height of the container */
    object-fit: cover; /* Ensure the image covers the area while maintaining its aspect ratio */
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.image-item img:hover {
    filter: brightness(1);
}

.gal-content-area {
    position: relative;
    padding: 20px;
    /*background-color: rgba(255, 255, 255, 0.8);*/ /* Semi-transparent background for readability */
}

.gal-content-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg3.jpg'); /* Your background image */
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Adjust this value to control the opacity of the background image */
    z-index: -1; /* Make sure the background image stays behind the content */
}
