#app {
}

body {
    margin: 0;
    justify-content: space-between;
    min-width: 320px;
    min-height: 100vh;
    /*background-image: url("background-photo.png");*/
    background-repeat: no-repeat;
    padding-top: 60px;
}

nav {
    text-align: center;
    border-bottom: 2px solid lightgray;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.nav-link {
    display: inline-block;
    text-decoration: none;
    padding: 20px;
    color: dimgray;
}

.nav-link:hover {
    color: black;
    border-bottom: 4px solid black;
    padding-bottom: 16px;
}

.active {
    color: black;
    border-bottom: 4px solid black;
    padding-bottom: 16px;
}

main {
    text-align: left;
}

h1 {
    font-size: 29px;
    line-height: 39px;
    font-weight: 300;
}

.title {
    margin-bottom: 40px;
    text-align: center;
}

#services {
    display: flex;
    align-items: flex-start;   /* top-align */
    gap: 24px;                 /* space between columns */
    flex-wrap: wrap;           /* stack on narrow screens */
}

img {
    width: 500px;
    background-color: darkgray;
    padding-left: 0;
    display: inline-block;
}

#right {
    display: inline-block;
    flex: 1 1 320px;
    padding-left: 24px;
    padding-right: 180px;
    padding-bottom: 24px;

}

/* Styles suggested by WebStorm AI Chat */
/* Body text: Source Sans 3 (clean, readable) */
:root {
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", sans-serif;
    font-weight: 400;
}

/* Headings: DM Serif Display (academic look) */
h1, h2, h3, h4, h5, h6 {
    font-family: "DM Serif Display", Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 400;        /* DM Serif Display ships as regular weight */
    line-height: 1.2;
    letter-spacing: 0.005em;
    margin: 0.6em 0 0.3em;
}

/* Optional: paragraph readability */
body {
    line-height: 1.65;
    letter-spacing: 0.003em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}