html {
    position: relative;
    min-height: 100%;
}

:root {
    --sky:   #4f95c4;
    --olive: #7c7a52;
    --brick: #9c4a3a;
    --sage:  #6b7a55;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    padding-top: 0.5rem; /* Space for the fixed navbar */
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 3rem; /* Space for the footer */
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


footer {
    background: white;
    position: absolute;
    height: 3rem;
    padding-left: 3%;
    padding-right: 3%;
    width: 94%;
    bottom: 0;
    left: 0;
    font-size: 0.8rem;
    z-index: 1000;
}

main {
    max-width: 800px; /* Maximum width of the content area */
    margin: 0 auto; /* Centers the content and adds automatic margin */
    box-sizing: border-box;
    text-align: left;
    /* min-height: 89vh; /* Ensures the footer is pushed to the bottom of the viewport */
}

a, .email {
    text-decoration: none;
    color: var(--sky);
    font-weight: 600;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* Section styles */


/* Container styling */
.container {
    position: relative;
    display: flex; /* Enables flexbox */
    align-items: left; /* Aligns items vertically in the center */
    justify-content: flex-start; /* Aligns items to the start of the flex direction */
    flex-direction: row;
}

/* Text block styling */
.text-block {
    padding-right: 1rem; /* Adds some space between the text and the image */
}

.text-block ul {
    columns: 1;
}

/* Image styling */
.image-block {
    position: relative;
    margin-top: 1.5rem; /* Adds some space between the image and the text */
    width: 100%;
}

.image-block img {
    /* width: 15rem; /* Set your desired image width */
    width: 100%;
    height: auto; /* Maintains the aspect ratio of the image */
    border-radius: 4px; /* Adds rounded corners to the image */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adds a subtle shadow to the image */
}

.contact-section {
    display: block;
}


/* Media Query for screens less than or equal to 600px wide */
@media (max-width: 600px) {
    .container {
        flex-direction: column; /* Changes layout to column on small screens */
    }

    .text-block {
        padding-right: 0; /* Removes the right padding on small screens */
        padding-top: 1rem; /* Adds some space between the image and the text */
        hyphens: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .image-block {
        order: -1;
        width: 100%;
    }

    footer {
        font-size: 0.75rem;
    }
}


li {
    padding: 0.25rem 0;
}

.name {
    font-size: 2rem;
    font-weight: bold;
}

.pronouns {
    font-size: 1.75rem;
    font-weight: lighter;
}

.coauthors {
    font-weight: lighter;
}