header {
    display: flex;
    justify-content: space-between; /* Align content at each end */
	text-align: center;
    align-items: center; /* Center items vertically */
    padding: 10px 25px; /* Padding for spacing */
    background-color: #ffffff; /* Example background color */
}

headimg {
	display: flex;
	align-items: center;
}

body {
    font-family: Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Minimum height of the viewport */
    display: flex;
    flex-direction: column;
}

.logo {
    order: -1; /* Move the logo to the start */
}

.logo img {
    width: auto; /* Adjust the size of the logo */
    height: 50px; /* Maintain aspect ratio */
}

nav {
    background-color: #154c79; /* Semi-transparent background for navigation */
    backdrop-filter: blur(5px); /* Blur effect for modern browsers */
    padding: 1em 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Center items */
    align-items: center; /* Center items vertically */
}
nav a {
    color: white;
    text-decoration: none;
    padding: 0.4em 1em;
    margin: 0 60px; /* Adjust margin for space between words */
}
nav a:hover {
    text-decoration: underline;
}

nav a.active {
    font-weight: bold;
    font-size: 1.02em;
}

.container {
    flex: 1;
    padding: 4em;
    box-sizing: border-box;
    width: 65%;
    margin: 0 auto;
    padding: 25px;
    background-color: rgba(128, 128, 128, 0.1); /* Gray with 10% transparency */
}

.home-content {
    flex: 1 1 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;

}

#map {
	height: 150px;  /* The height is 400 pixels */
	width: 150px;    /* The width is the width of the web page */
}

.icon {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    margin-right: 2px;
}


.image-container {
    box-sizing: border-box;
    padding: 1em;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 18px;
    background-color: rgba(128, 128, 128, 0.05);
    text-align: center; /* Optional: Center align the description */
    white-space: nowrap; /* Prevents wrapping onto new lines */
}
.image-container img {
    width: 300px
}

.image-item {
    flex: 0 0 auto; /* Prevents items from growing/shrinking */
    text-align: center;
    display: inline-block; /* Ensures items are displayed in a line */
}

.image-item img {
    width: 280px;
    height: 280px;
    object-fit: cover; /* Maintain aspect ratio and cover container */
    display: block; /* Ensure images don't affect text flow */
    margin-bottom: 10px; /* Space between image and description */
}

.image-description {
    font-style: italic; /* Optional: Styling for description */
    color: #666; /* Optional: Text color */
    text-align: center; /* Center align the description */
}

.member-group {
    margin-bottom: 2em; /* Space between member groups */
    border-bottom: 1px solid #ccc; /* Separator line */
    padding-bottom: 2em; /* Space below separator */
}

.member {
    background: #fff;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2em;
}
.member img {
    width: 100%;
    max-width: 160px;
	min-height: 160px;
    height: auto;
    margin-right: 2em;
}
.member .details {
    flex: 1;
}

.member-image-c {
	display: flex;
	justify-content: center;
	align-items: center;
}
.member-image-c img {
	width: 100%;
	max-width: 160px;
	height: auto;
	margin-right: 2.5em;
}

.research-group {
    flex: 1 1 45%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-bottom: 1px solid #ccc; /* Separator line */
}

.research-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.details {
    margin-top: 10px;
}

.research {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.research img {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin-right: 1em;
}
.research .details {
    flex: 1;
}

.content {
    position: relative; /* Ensure relative positioning */
    padding-bottom: 80px; /* Ensure space for the boxes at the bottom */
}

.footer-boxes {
    display: flex;
    justify-content: left; /* Center the boxes horizontally */
    align-items: flex-end;
    gap: 20px; /* Space between the boxes */
}

.footer-box {
    width: 250px; /* Set the width of the box */
    height: 50px; /* Set the height of the box */
    background-color: #f7f2ee; /* Semi-transparent background color */
    display: flex;
    flex-direction: column; /* Arrange content vertically */
    justify-content: center; /* Center the content vertically */
    align-items: center; /* Center the content horizontally */
    color: black;
    text-decoration: none;
    padding: 10px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2); /* Initial shadow */
    transition: box-shadow 0.35s ease; /* Smooth transition */
    position: relative; /* Position relative for the stripe */
}

.footer-box:hover {
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.4); /* Shadow on hover */
}

.footer-box h3 {
    margin: 0;
    text-align: left;
    font-size: 1.2em;
}

.footer-box p {
    margin: 0;
    text-align: left;
    font-size: 0.9em;
}

/* Green stripe at the bottom */
.footer-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px; /* Height of the stripe */
    background-color: #154c79; /* Green stripe color */
}

footer {
    height: 60px; /* Set height for footer */
    display: flex;
    justify-content: flex-end; /* Align content to the right */
    align-items: center; /* Center items vertically */
    padding-right: 20px; /* Add some padding to the right */
    background-color: #154c79; /* Semi-transparent background for footer */
    color: white;
    position: relative; /* Ensure footer stays at the bottom */
}

footer span {
    display: flex;
    align-items: center;
    font-size: 0.9em; /* Adjust font size as needed */
}

footer span::before {
    content: "\00A9"; /* Copyright symbol */
    margin-right: 5px; /* Space between symbol and text */
}

footer .contact {
	margin-left: 2px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    nav a {
        padding: 1em;
        text-align: left;
    }
    .research-group {
        flex: 1 1 100%;
    }
}
