
/* GENERAL */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: black;
    background: white;
    font-family: "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

a {
    color: black;
    text-decoration: none;
}


img {
    width: 100%;
    display: block;
}

h1, h2, .logo {
    font-family: "Sorts Mill Goudy", Georgia, serif;
    font-weight: normal;
}

figure {
    margin: 0;
}


/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
}

.logo {
    font-size: 40px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 13px;
    white-space: nowrap;
}

.desktop-nav a span {
    display: inline-block;
    padding: 8px 5px;
    border: 1px solid transparent;
    border-radius: 50%;
}

.desktop-nav a:hover span {
    border-color: black;
}

.mobile-nav {
    display: none;
}


/* HOME */

#home {
    max-width: 1100px;
    margin: 60px auto 120px;
    padding: 0 40px;
}

.intro {
    display: flex;
    gap: 90px;
    align-items: flex-start;
}

.intro figure {
    width: 45%;
}

.intro figure img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

figcaption {
    font-size: 10px;
    margin-top: 8px;
}

.intro-text {
    width: 55%;
}

.section-number {
    font-size: 14px;
    margin-bottom: 35px;
}

h1 {
    font-size: 70px;
    margin: 0 0 25px;
    line-height: 1.1;
}

.intro-text > p:last-child {
    font-size: 15px;
    line-height: 1.3;
    text-align: justify;
}


/* SECTION LINKS */

.section-links {
    display: flex;
    gap: 70px;
    margin-top: 110px;
}

.section-links a {
    flex: 1;
    font-size: 14px;
}

.section-links img {
    margin-top: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.section-links img:hover {
    opacity: 0.7;
}

.arrow {
    display: none;
}


/* CONTENT SECTIONS */

.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px 120px;
    border-top: 1px solid #aaa;
}

h2 {
    font-size: 70px;
    margin: 0 0 50px;
}

.content {
    display: flex;
    gap: 90px;
    align-items: flex-start;
}

.content p {
    width: 50%;
    font-size: 15px;
    line-height: 1.6;
}

.content img {
    width: 50%;
}


/* FOOTER */

footer {
    max-width: 1100px;
    margin: auto;
    padding: 50px 40px 100px;
    border-top: 1px solid #aaa;

    display: flex;
    justify-content: space-between;
    gap: 60px;
}

footer div {
    width: 50%;
}

footer h3 {
    font-size: 13px;
}

footer a, footer p {
    display: block;
    font-size: 11px;
    margin-top: 20px;
}

footer a {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 800px) {

    /* HEADER */

    header {
        padding: 25px 5%;
    }

    .logo {
        font-size: 32px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        position: relative;
    }

    .mobile-nav summary {
        list-style: none;
        cursor: pointer;
        border: 1px solid black;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        text-align: center;
        line-height: 36px;
        font-size: 20px;
    }

    .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav nav {
        position: absolute;
        right: 0;
        top: 45px;
        width: 220px;
        background: white;
        border: 1px solid black;
        padding: 20px;
        z-index: 2;
    }

    .mobile-nav nav a {
        display: block;
        padding: 10px 0;
        font-size: 13px;
    }


    /* HOME */

    #home {
        margin: 50px auto 100px;
        padding: 0 5%;
    }

    .intro {
        flex-direction: column;
        gap: 50px;
    }

    .intro figure {
        width: 100%;
    }

    .intro figure img {
        aspect-ratio: 1.6 / 1;
    }

    figcaption {
        max-width: 250px;
        margin: 8px auto;
    }

    .intro-text {
        width: 100%;
        padding: 0 5%;
    }

    h1 {
        font-size: 60px;
        margin-bottom: 40px;
    }

    .intro-text > p:last-child {
        font-size: 15px;
    }


    /* SECTION LINKS */

    .section-links {
        flex-direction: column;
        gap: 0;
        margin-top: 80px;
    }

    .section-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 0;
        border-top: 1px solid #777;
        font-size: 20px;
    }

    .section-links a:last-child {
        border-bottom: 1px solid #777;
    }

    .section-links img {
        display: none;
    }

    .arrow {
        display: block;
        font-size: 25px;
    }


    /* CONTENT */

    .content-section {
        padding: 60px 7% 100px;
    }

    h2 {
        font-size: 55px;
    }

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

    .content p,
    .content img {
        width: 100%;
    }


    /* FOOTER */

    footer {
        margin: 0 5%;
        padding: 50px 0;
        flex-direction: column;
    }

    footer div {
        width: 100%;
    }
 .desktop-nav a:hover {
    background-color: red;
}
}
