/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

.site-title {
    font-size: 2.5em;
    color: #333;
}

.site-description {
    color: #666;
    font-style: normal;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #5a0722;
    font-weight: bold;
}

nav ul li a:hover {
    color: #0073aa;
}

main {
    padding: 20px;
    background-color: #fff;
}

section {
    margin-bottom: 20px;
}

/* Intro Section */
.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.intro-photo {
    flex: 1;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.intro-photo img {
    width: 100%;
    height: auto;
    max-width: 350px;  /* Set the maximum width */
    max-height: 525px; /* Set the maximum height */
    border-radius: 5px;
}

.intro-text {
    flex: 2;
}

.intro-text p {
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6;
}

/* Spacing between paragraphs: equivalent to one line height */
.intro-text p + p {
    margin-top: 1.6em;
}

/* Recent Projects */
.recent-projects h2 {
    margin-top: 30px;
    font-size: 2em;
}

.recent-projects ul {
    list-style-type: none;
}

.recent-projects ul li {
    margin-bottom: 10px;
}

.recent-projects ul li a {
    text-decoration: none;
    color: #0073aa;
}

.recent-projects ul li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-photo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.research {
  width: 80%;               /* Set the width of the section to 80% of the body */
  margin: 0 auto;           /* Center the section horizontally */
  text-align: left;         /* Left justify the text */
}

.research p {
  margin-bottom: 1em;       /* Space between paragraphs equal to the height of a line */
}

/* Logo container to place logo at top right */
.logo-container {
  position: absolute;
  top: 50px;  /* Vertically centers the logo */
  left: 20px; /* Distance from the right */
}

.logo {
  height: 40px;  /* Adjust logo size */
  width: auto;
}

