:root {
    --color-contrast: #EEC643;
    --color-dark: #141414;
    --color-light: #EEF0F2;
    --color-gray: #738290;
    --color-blue: #188FA7;
}

/* ---------------------------------------------------- */
/* BASE STYLES*/
/* ---------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: var(--color-light);
    color: var(--color-dark);

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------------------------------------------------- */
/* HEADER                                               */
/* ---------------------------------------------------- */

header {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    padding: 20px 0 10px 0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header h1 {
    color: var(--color-contrast);
    margin-top: 0;
    margin-bottom: 5px;
}

header p {
    color: var(--color-light);
    margin-top: 0;
    margin-bottom: 0;
}

/* ---------------------------------------------------- */
/* NAV-BAR                                              */
/* ---------------------------------------------------- */

#nav-menu {
    background-color: var(--color-gray);
    padding: 10px 0;
    text-align: center;

    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    z-index: 900;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    padding: 5px 15px;
    margin: 0 5px;
    font-weight: bold;
}

.nav-link:hover {
    text-decoration: underline;
    color: var(--color-contrast);
}

/* ---------------------------------------------------- */
/* CONTENT                                              */
/* ---------------------------------------------------- */

#content-area {
    width: 80%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    padding-top: 150px;
    padding-bottom: 50px;
    flex-grow: 1;

    margin: 0 auto;
}

#content-area h1 {
    color: var(--color-dark);
    border-bottom: 2px solid var(--color-contrast);
    padding-bottom: 5px;
}

#content-area h2 {
    color: var(--color-blue);
    margin-top: 30px;
}

#content-area ul {
    list-style-type: none;
    padding-left: 0;
}

#content-area ul li {
    margin-bottom: 15px;
}

#content-area ul li strong {
    color: var(--color-dark);
}

figure {
    margin: 2em 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-size: 0.9em;
    font-style: italic;
    color: #555;
    margin-top: 0.8em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------- */
/* FOOTER                                               */
/* ---------------------------------------------------- */

footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    padding: 20px 0;

    width: 100%;
    margin-top: 50px;
}

footer h2 {
    color: var(--color-contrast);
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2em;
}

footer p {
    color: var(--color-light);
    margin: 3px 0;
    font-size: 0.9em;
}