body {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 25px;

    font-family: Georgia, "Times New Roman", serif;

    color: #222;
    background: white;

    line-height: 1.6;
}


header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 25px;
    margin-bottom: 40px;
}


h1 {
    font-size: 32px;
    margin-bottom: 5px;
}


h2 {
    font-size: 24px;
    margin-top: 45px;
}


h3 {
    margin-top: 30px;
}


nav {
    margin-top: 25px;
}


nav a {
    margin-right: 20px;
}


a {
    color: #174a7e;
    text-decoration: none;
}


a:hover {
    text-decoration: underline;
}


section {
    margin-bottom: 30px;
}


/* Profile photo and About section */

.about-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}


footer {
    border-top: 1px solid #ddd;
    margin-top: 60px;
    padding-top: 20px;

    color: #777;
    font-size: 14px;
}


@media (max-width: 600px) {

    body {
        padding: 25px 18px;
    }

    nav a {
        display: inline-block;
        margin-bottom: 8px;
    }

    /* Make photo and text stack on small screens */

    .about-container {
        flex-direction: column;
    }

}
