body {
    margin-left: 20px;
    padding: 0;
    background-color: #f4f4f4;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
header {
    display: flex; 
    align-items: center; 
    margin-bottom: 70px; 
    border-bottom: solid 3px;
}

.header-content {
    flex-grow: 1; 
    text-align: center; 
}
.semester-nav {
	background-color: #f8f9fa;
	padding: 15px 0;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.semester-nav a {
	display: inline-block;
	padding: 10px 30px;
	margin: 0 10px;
	color: #333;
	text-decoration: none;
	font-weight: 500;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.semester-nav a:hover {
	background-color: #333;
	color: white;
}

.logo {
    width: 100px; 
    height: auto; 
    margin-right: 10px; 
}

h1 {
    margin: 0; 
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}


.image-container {
    position: relative;
    width: 30%; 
    margin-bottom: 20px;
    overflow:hidden;
}


.image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}


.image-container a {
    display: block; 
    position: relative;
}


.button {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: black;
    color: white;
    padding: 10px 15px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-size: medium; 
    transition: background-color 0.3s; 

}

.button:hover {
    background-color: white;
    color: black;
}

.image-container a:hover img {
    filter: brightness(50%); 
}