body {
    font-family: Arial, sans-serif;
    color: #e0e0e0; /* light grey for text */
    background-color: rgb(14, 7, 85);
}

html,
body {
    margin: 0;
}

header,
section,
footer {
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header picture {
    width: 100%;
    max-width: 100%;
    max-height: 300px; /* limits the height of the image */
    overflow: hidden;
}

header img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px; /* Ensures the height doesn't exceed 400px */
    object-fit: contain; /* Ensures the whole image is visible within the given height */
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

h1, h2, h3 {
    color: #d1ab2e; /* gold for headings */
    margin: 20px 0;
}

h1 {
    font-size: 36px;
    font-weight: bold;
}

h2 {
    font-size: 28px;
    font-weight: bold;
}

h3 {
    font-size: 24px;
    font-weight: bold;
}

p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0; /* light grey for main text */
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
    max-width: 800px;
    text-align: left;
    color: #e0e0e0; /* light grey for list items */
}

footer p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 800px;
    margin: 20px auto;
    color: #e0e0e0; /* light grey for footer text */
}

/* Highlight every other paragraph */
p:nth-of-type(odd) {
    color: #b3b3b3; /* lighter grey for variety */
}

/* Responsive design for mobile devices */
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p, ul li, footer p {
        font-size: 16px;
    }

    section {
        padding: 10px;
    }

    header picture {
        max-height: 200px; /* smaller max-height for mobile */
    }

    header img {
        max-height: 200px; /* smaller max-height for mobile */
    }
}
