html, body, div, span, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, nav, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, a, article, aside, details, figcaption, figure, footer, header, hgroup, menu, section {
    margin: 0;
    padding: 0;
    border: 0;
}

* {
    box-sizing: border-box;
}

ul {
    list-style-position: inside;
}

/* LAYOUT */

nav, footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    display: flex;
    align-items: center;
    gap: 1em
}

img {
    max-width: 100%;
}

#home-content {
    display: flex;
    flex-direction: column;
}

#home-image {
    display: block;
    margin: 0 auto;
    height: auto;
}

/* TYPOGRAPHY */

body {
    font-family: "Lucida Sans", Verdana, sans-serif;
    line-height: 1.5;
}

h1, h2, h3 {
    font-weight: bold;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1em;
}

h3 {
    font-size: 1rem;
}

/* COLOUR SCHEME & BORDERS */

nav, main, aside, footer {
    padding: 1em;
}

body {
    color: #2b2b2b;
}

header {
    background-color: #11376e;
    color: #ffffff;
    padding: 2rem;
}

nav, footer {
    background-color: #223552;
}

h2 {
    color: #0ab3be;
}

h1, nav a, footer {
    color: #ffffff;
}

main p {
    margin-bottom: 1rem;
}

a:hover {
    color: #0fbcf5;
}

nav a {
    text-decoration: none;
}

div {
    background-color: #f1f1f1;
    margin-bottom: 0.5rem
}

main {
    background-color: #f1f1f1
}

label {
    font-weight: bold;
    display: block;
    margin-top: 1em;
}

select {
    border: none;
    background: none;

}

/* BUTTON FORMATTING */

button {
    background: #bebebe;
    font: inherit;
    border: none;
    padding: 0.2rem 0.5rem;
}

button:hover {
    background: #919191;
}

/* RESPONSIVE DESIGN */

@media screen and (min-width: 58em) {
    
    body {
        display: grid;
        grid-template-columns: 1fr 56em 1fr;
    }

    header, footer, nav, main {
        grid-column: 2 / 3;
    }

    nav, footer {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        padding-left: 2em;
    }

    #home-content {
        flex-direction: row;
    }

    .image, .text {
        flex: 1
    }

}

@media screen and (min-width: 96em) {

    body {
        grid-template-columns: 1fr 94em 1fr;
    }

}