body {
    font-family: 'system-ui', 'Segoe UI', Tahoma, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #374151;
}


.prose {
    padding-left: 10%;
    padding-right: 10%;
    text-align: left;
    font-size: 1.1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111827;
}

h1 {
    font-size: 3em;
    font-weight: bold;
}

h2 {
    font-size: 2em;
    font-weight: bold;
}

a {
    color: #333;
}

/* Project Page */
.projects-page-container {
    padding: 10%;
    padding-top: 0;
    padding-bottom: 0;
}

.projects-page-container img {
    height: auto;
    width: 400px;
    object-fit: cover;
    margin-bottom: 10px;
    padding-right: 30px;
}

.projects-page-container h1 {
    margin: 0;
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 20px;
    text-align: left;
}

.text-project {
    display: flex;
    flex-direction: row;
}

.text-project p {
    padding-right: 3%;
    margin: 0;
    text-align: justify;
}

.img-project {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.img-project p {
    text-align: justify;
}

/* People Page */
.people-page-container {
    padding: 10%;
    padding-top: 0;

}

.people-page-container h1 {
    border-bottom: 1px solid #e0e0e0;
}

.people-category {

    padding-top: 1%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.person-block {
    margin: 0.25%;
}

.person-block img {
    height: 200px;
    width: auto;
    size: 50%;
    border-radius: 10%;
}

.alumni-name-container {
    column-count: 3;

}

.alumni-name-container p {
    padding: 0.25%;
    padding-right: 3%;
    text-align: center;
}

/* Centered content */
/* Used on the homepage */

.centered-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.centered-content img {
    max-width: 55%;
    max-height: 80%;
    object-fit: contain;
}

.centered-content p {
    max-width: 55%;
    font-size: 1em;
    text-align: justify;
    line-height: 1.5;

}

/* Used on the legacy link acknowledgement page */

.legacy-link {
    text-decoration: none;
    color: #333;
    font-size: 2em;
    margin: 0 10px;
    font-weight: normal;
    text-align: center;
    padding-bottom: 2.5%;
}

/* Page header */

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.logo img {
    height: 100px;
    margin-bottom: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    margin: 0 10px;
    font-weight: normal;
}


/* Page footer */

footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #555;
}

.image-and-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bottom-logo {
    display: flex;
    align-items: left;
}

.bottom-logo a {
    margin-right: 5px;
}

.bottom-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.bottom-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-contact a {
    margin: 0 10px;
    text-decoration: none;
    color: #555;
}

.disclaimer-and-social-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
}

.disclaimer-and-social-bar p {
    margin: 0;
    text-align: left;
}

.disclaimer {
    text-align: left;
}

.disclaimer p {
    margin: 0;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    height: 20px;
    width: auto;
}

/* Media queries; mostly for mobile */

@media (max-width: 768px) {
    .prose {
        padding-left: 5%;
        padding-right: 5%;
        font-size: 1em;
        /* Adjust font size for smaller screens */
    }

    .header {
        padding: 10px;
    }

    .logo img {
        height: 70px;
        /* Adjust logo size */
        margin-bottom: 10px;
    }

    .main-nav {
        flex-direction: column;
        /* Stack navigation items vertically */
    }

    .main-nav a {
        margin: 5px 0;
        font-size: 14px;
    }

    footer {
        padding: 10px;
        font-size: 12px;
    }

    .image-and-contact-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .bottom-logo,
    .bottom-contact {
        margin-bottom: 10px;
    }

    .disclaimer-and-social-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons a {
        margin-left: 0;
        margin-right: 10px;
    }
}