html, body, h1, ul, p, h1, h2, h3 {
    padding:0;
    margin:0;
}
ul {
    list-style: none inside none;
}
input, textarea, button, address {
    font: inherit;
}
a {
    text-decoration: none;
    color:inherit;
}
#formOptions a:hover,
a:hover {
    color: #adff2f;
    transition: all 500ms ease-in-out;
}
body {
    background:#003459;
    color:#fff;
    font: normal 1em / 1.5 Verdana;
}

header {
    display:flex;
    flex-direction: column-reverse;
}
hgroup {
    text-align: center;
    padding:1.25em 0;
}
hgroup p:not(:first-of-type) {
    padding:1em 0;
}
h1 {
    position:absolute;
    left:-100em;
}


header nav,
header ul {
    display: flex;
}
header nav {
    flex-direction: row;
}
header nav ul {
    flex: 1;
    align-items: center;
}
header ul:last-child {
    justify-content:right;
}


.btn-OpenMenu {
    text-align:right;
}
.btn-OpenMenu span {
    margin:0.25em 0.5em;
    padding:0.125em 0.25em;
    display:inline-block;
    background: #ff0000;
    border-radius: 0.1em;
    text-align:right;
    font: bold 2em inital;
}
.btn-CloseMenu {
    text-align: center;
}


#mainMenu li:not(:last-child):after {
    display:inline-block;
    content: '\007C';
    padding:0.75em;
    /*  background:red; */
    font-weight:bold;
}
#mainMenu a {
    padding: 0.5em 1em;
}
#mainMenu a:hover {
    background:darkgreen;
    color:#000;
    border-radius: 0.25em;
    transition: all 500ms ease-in-out;
}


.headliners {
    display:flex;
    justify-content: center;
    align-items: center;
}
.headliners li:not(:last-child):after {
    display:inline-block;
    font-weight:bold;
    content: '\2022';
    padding:1em;
}
.headliners li:nth-child(1n):after {
    color: #e91e23;
}
.headliners li:nth-child(2n):after {
    color: #02b2e7;
}
.headliners li:nth-child(3n):after {
    color: #fabc16;
}


main {
    max-width:80em;
    width:90%;
    margin:auto;
}
#formContact h2,
section h2 {
    font-size:1.75em;
    /*  color:#fabc16;  */
}
#formContact h2:after,
section:not(#home) h2:after {
    display:block;
    content: '';
    width:100%;
    border-bottom: 2px solid #ff0000;

}


#messages li {
    text-align:center;
    margin:1em 0;
    padding: 1em 0;
    background:darkgreen;
    border-radius: 0.5em;
}


#about div {
    margin: 0.25em;
}


#services dt {
    font-weight: bold;
    font-size: 1.25em;

}
#services dd {
    padding:1em;
}


#container-About,
#container-Contact{
    display:flex;
}
#container-Contact {
    flex-wrap: wrap;
    justify-content: space-around;
    padding:0.5em;
    gap:1em;
}
#container-Contact > div {
    width:20em;
    /*  background:blue;    */
    padding:1em;
    border-radius:0.5em;
    border: 1px solid #FEE440;
}
#container-Contact h3 {
    text-align:center;
}


form label {
    display:block;
}
form textarea,
form input:not([type=checkbox]) {
    width: 100%;
}
form textarea {
    height:8em;
}
#formOptions {
    display:flex;
    align-items: center;
    justify-content: center;
}
#formOptions li {
    padding:1em 0.5em 1em;
}

#formOptions a {
    font-weight:bold;
    color: #ff0000;
}
#formOptions button {
    border:none;
    background: none;
    color: #228b22;
}

#formOptions button:hover {
    color: #adff2f;

}
#formContact fieldset {
    border:none;
}
#formContact input,
#formContact textarea {
    box-sizing: border-box;
}

#formErrors {
    margin:1em;
    padding:0.5em;
    background:red;
    border-radius: 0.25em;
}


#bottom {
    padding:2em 0;
    text-align:center;
}


@media (max-width: 60em) {

    .btn-OpenMenu {
        display:block;
    }


    header nav,
    header ul {
        display: initial;
        text-align: center;
    }


    #mainMenu {
        display:none;
    }
    #mainMenu:target {
        display:block;
        position:fixed;
        top:0;
        width:100%;
        height:100%;
        background:#003459;
        transition: all 500ms ease-in-out;
    }
    #mainMenu:target .btn-CloseMenu {
        display:block;
    }
    #mainMenu:target h2 {
        display:block;
        text-align:center;

    }


    .headliners {
        display:block;
        text-align:center;
    }

    #mainMenu li:not(:last-child):after,
    .headliners li:not(:last-child):after {
        content:none;
    }

    .modalPopup li {
        padding: 2em 3em;
    }

    #container-About {
        display:block;
    }

    #container-About div:first-of-type {
        margin:auto;
    }
}





/*
    IMAGES
    placed via CSS
*/
.logo {
    width: 117px;
    height: 100px;
    background-image: url("images/logo.png");
    background-repeat: no-repeat;
    margin: auto;
}

.mpaOutside {
    background-image: url("images/mpa_outside.jpg");
    width: 400px;
    height: 300px;
}


