/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SMOOTH SCROLL */

html {
    scroll-behavior: smooth;
}

/* BODY */

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #dff5e8;
    color: #000;
    line-height: 1.8;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    background: #ffffff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    z-index: 1000;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;

    padding: 15px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* HOME TITLE */

.hero-title {
    font-size: 2.1rem;
    line-height: 1.3;
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
}

/* NAVIGATION */

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.65;
}

/* SECTIONS */

.section {
    padding: 100px 60px 40px;
}

.section:first-of-type {
    padding-top: 140px;
}

/* CONTENT */

.content-box {
    max-width: 900px;
    margin: 0 auto;
}

/* HEADINGS */

.content-box h1,
.content-box h2 {
    margin-bottom: 20px;
    color: #000;
    font-weight: bold;
}

.content-box h1 {
    font-size: 2.6rem;
}

.content-box h2 {
    font-size: 2rem;
}

/* PARAGRAPHS */

.content-box p {
    margin-bottom: 16px;
}

/* LINKS */

.content-box a {
    color: #1e5aa8;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.content-box a:hover {
    opacity: 0.75;
}

/* LISTS */

.content-box ul,
.content-box ol {
    margin: 15px 0 15px 30px;
    padding-left: 10px;
}

.content-box ul {
    list-style-type: disc;
}

.content-box ol {
    list-style-type: decimal;
}

.content-box li {
    margin-bottom: 8px;
}

/* NESTED LISTS */

.content-box ul ul,
.content-box ol ol,
.content-box ul ol,
.content-box ol ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.content-box ul ul {
    list-style-type: circle;
}

.content-box ul ul ul {
    list-style-type: square;
}

/* ABOUT SECTION */

.about-container {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    gap: 50px;

    align-items: flex-start;
}

/* PHOTO */

.photo-box {
    margin-top: 75px;
}

.photo-box img {
    width: 300px;
    height: auto;
    display: block;
}

/* CONTACT SECTION */

#contact {
    padding-bottom: 80px;
}

/* MOBILE */

@media (max-width: 768px) {

    .header-content {
            flex-direction: column;
            gap: 10px;
            padding: 15px 25px;
        }

    .hero-title {
        font-size: 1.7rem;
        white-space: normal;
    }

    .nav-links {
        gap: 15px;
    }

    .section {
        padding: 110px 25px 30px;
    }

    .section:first-of-type {
        padding-top: 150px;
    }

    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .photo-box {
        margin-top: 0;
    }

    .photo-box img {
        width: 100%;
        max-width: 350px;
    }

    .content-box h1 {
        font-size: 2rem;
    }

    .content-box h2 {
        font-size: 1.6rem;
    }

    .content-box ul,
    .content-box ol {
        margin-left: 20px;
    }
}
