body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #F5F5DC; /* Beige background color */
}

header {
    background-color: #F5F5DC; /* Ensure the header background is the same as the body */
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.container {
    display: flex;
}

.side-panel {
    width: 15%; /* 1/5th of the screen width */
    background-color: #E3D9B0; /* Slightly darker beige */
    padding: 20px;
    text-align: left;
}

.side-panel ul {
    list-style-type: none;
    padding: 0;
}

.side-panel ul li {
    margin: 20px 0;
}

.side-panel ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;   
}

.side-panel ul li a.active {
    background-color: rgb(235, 237, 190);
    color: black;
    width: 108%;
    display: block;
    box-sizing: border-box;
    padding: 10px 20px; /* Adjust padding for the desired look */
}

.maincontent {
    width: 85%;
    padding: 20px;
}

/* -----------------------------------------------------------Research Page----------------------------------------- */
.top-section {
    background-color: #F5F5DC; /* Beige background color */
    text-align: center;
    padding: 50px 0;
}

.title {
    font-size: 48px;
    color: #ADD8E6; /* Light blue color */
    margin: 0;
}

.subtitle {
    font-size: 24px;
    color: #000; /* Black color */
    margin: 10px 0 40px;
}

.video-container {
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 80%;
    height: auto;
}

.bottom-section {
    background-color: #ADD8E6; /* Light blue background */
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-caption-container {
    display: flex;
    align-items: center;
    width: 80%;
}

.large-image {
    width: 40%;
    margin-right: 20px;
}

.caption {
    font-size: 18px;
    text-align: left;
    width: 60%;
}

.caption-title {
    font-size: 24px;
    color: #000;
    margin: 0 0 10px;
}

.caption-description {
    text-align: left; /* Align text to the left */
    font-size: 18px;
    font-style: italic; /* Make text italic */
    margin: 0;
}

/*-------------------------------------------------- Project Grid ----------------------------------------------------*/
.image-container {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    
}

.first-row {
    margin-top: 30px;
}

.second-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.third-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fourth-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.image-container a {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.image-container a:hover img {
    transform: scale(1.05);
    filter: blur(2px); /* Adjust the blur intensity as needed */
}

.image-container img {
    width: 282px;
    height: 300px;
    border: 2px solid #000;
    transition: transform 0.3s, filter 0.3s;
}

.image-container a:hover img {
    transform: scale(1.05);
    filter: blur(2px); /* Adjust the blur intensity as needed */
}

.hover-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-image:hover .hover-caption {
    opacity: 1;
}

.BB {
    height: 500px; /* Adjust this value to lengthen the image vertically */
    width: auto;   /* Maintain aspect ratio */
}

.ProjectsInstruction {
    font-style: italic;
    text-align: center; /* Center the instruction text */
    margin-bottom: 20px; /* Add some space below the instruction */
}
