body {
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 20px 50px;
    line-height: 1.6;
    color: #4A3B35;
    background-color: #F5EFE6;
}

header {
    background-image: linear-gradient(rgba(74, 59, 53, 0.55), rgba(74, 59, 53, 0.55)), url("images/old-well.jpg");
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid #D9849B;
    padding: 70px 15px 15px 15px;
    margin-bottom: 40px;
}

.logo {
    display: block;
    text-align: center;
    font-size: 52px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.tagline {
    text-align: center;
    color: #fae3e9;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 5px 0 40px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
}

nav a {
    color: #f0ecea;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 8px 18px;
    border-bottom: 3px solid transparent;
    transition: background-color 0.2s, color 0.2s;
}

nav a:hover {
    background-color: rgba(248, 215, 223, 0.3);
}

nav a.active {
    font-weight: bold;
    border-bottom: 3px solid #F8D7DF;
}

.active {
    font-weight: bold;
}

a {
    color: #4A3B35;
}

h1 {
    color: #4A3B35;
}
.intro p {
    font-size: 20px;
}

h2 {
    border-bottom: 2px solid #D9849B;
    padding-bottom: 5px;
    margin-top: 30px;
}

.quote {
    background-color: #F8D7DF;
    border-left: 3px solid #D9849B;
    padding: 5px 15px;
    margin: 30px 0;
    font-style: italic;
    text-align: center;
    font-size: 22px;
}

.name {
    background-color: #F8D7DF;
    padding: 5px 15px;
    margin: 30px 0;
    font-size: large;
    font-weight: bold;
    font-style: normal;
}

.intro {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 30px 0 40px 0;
}

.intro-text {
    flex: 1;
}

.intro h1 {
    font-size: 26px;
    margin-top: 0;
}

.photo {
    width: 460px;
    height: 460px;
    object-fit: cover;
    border: 2px solid #D9849B;
    flex-shrink: 0;
}

.placeholder {
    background-color: yellow;
}

.date {
    color: #8C7B72;
}

footer {
    background-color: #F8D7DF;
    border-top: 2px solid #D9849B;
    margin-top: 40px;
    padding: 10px 15px;
}

.resume-page {
    display: block;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    margin: 0 auto 20px auto;
}

.research-page {
    display: block;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    margin: 0 auto 20px auto;
}

.img-left {
    float: left;
    width: 300px;
    margin: 5px 20px 10px 0;
}

.img-right {
    float: right;
    width: 300px;
    margin: 5px 0 10px 20px;
}

footer {
    clear: both;
}

@media (max-width: 600px) {
    .img-left, .img-right {
        float: none;
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 15px 0;
    }
}
.about > p {
    font-size: 18px;
}
.big-quote {
    margin-bottom: 50px;
}

.big-quote p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.big-quote .name {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .logo {
        font-size: 36px;
    }

    header {
        padding-top: 40px;
    }
}
.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #D9849B;
    color: white;
    border: 2px solid #D9849B;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    transition: background-color 0.2s, color 0.2s;
}

.button:hover {
    background-color: #B8566F;
    border-color: #B8566F;
}

.button-outline {
    background-color: transparent;
    color: #4A3B35;
}

.button-outline:hover {
    background-color: #D9849B;
    border-color: #D9849B;
    color: white;
}