html, body {
    background-color: rgb(255, 255, 255);
    color: rgb(64, 64, 64);
    margin: 0;
    line-height: 150%;
    font-family: Roboto, Calibri, sans-serif;
}
* {
    box-sizing: border-box;
}
header, footer {
    padding: 20px;
    z-index: 10;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
header, footer { 
    background-color: rgba(46, 105, 209, 0.95);
    color: white;
    text-align: center;
}
header h1 {
    display: none;
}
header img {
    max-width: 275px;
}
nav {
    margin-top: 1em;
    margin-bottom: -0.5em;
}
nav ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
nav ul li {
    display: inline-block;
    margin: 0 0.25em;
}
nav ul li:not(:first-child)::before {
    content: "|";
    margin-right: 0.75em;
}
nav ul li a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
nav ul li a:hover {
    text-decoration: underline;
}
h1, h2 {
    margin: 0;
    text-align: center;
    margin-bottom: 0.75em;
}
h2 {
    font-size: 120%;
}

main ul {
    padding: 0;
}
main ul>li {
    list-style-type: none;
    font-size: 95%;
    margin-left: 23px;
    margin-bottom: 0.5em;
}
main ul>li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    color: rgb(46, 105, 209);
    margin-left: -23px;
    margin-right: 8px;
    width: 15px;
    display: inline-block;
}

form label {
    display: block;
    padding-bottom: 0.5em;
}
form label i {
    display: inline-block;
    width: 30px;
    font-size: 150%;
    padding-top: 5px;
    vertical-align: top;
}
form input, form textarea, form button {
    display: inline-block;
    width: calc(99% - 36px);
    font-family: inherit;
    font-size: inherit;
    padding: 0.5em;
    border: 1px solid rgb(128, 128, 128);
    resize: none;
}
form button {
    background-color: rgb(46, 105, 209);
    color: rgb(255, 255, 255);
    width: 99%;
}
form button i {
    margin-right: 0.25em;
}

footer {
    text-align: center;
    font-size: 80%;
    padding-left: 2em;
    padding-right: 2em;
}
footer span {
    white-space: nowrap;
    margin: 0 0.25em;
}

br.clear {
    clear: both;
    display: none;
}

section {
    padding: 25px 15px;
}

section#aboutus {
    background-image: url('./images/bg_home.jpg');
    background-size: cover;
    background-position: center;
    margin-top: -200px;
    padding-top: calc(200px + 1em);
}

section#contactus {
    background-color: rgba(127, 127, 127, 0.95);
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
section#contactus form input, section#contactus form textarea, section#contactus form button {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}



section#aboutus div {
    background-color: rgba(255, 255, 255, 0.85);
    margin: -25px -20px;
    padding: 0.5em 1.5em;
}

a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}
a:hover {
    text-decoration: underline;
}

section#partnerships {
    display: none;
    text-align: center;
}
section#partnerships img {
    height: 45px;
    margin: 15px 5px;
}

section#services div i {
    display: none;
    text-align: center;
    margin: auto;
    margin-top: -65px;
    margin-bottom: 10px;
    padding-top: 16px;



    border-radius: 100%;
    font-size: 300%;
    border: 5px solid white;

    background-color: rgb(46, 105, 209);
    color: white;
    width: 90px;
    height: 90px;


}

@media screen and ( min-width: 560px ) {
    header img, header nav {
        vertical-align: middle;
    }
    header img {
        float: left;
    }
    header nav {
        float: right;
        padding-top: 0.25em;
    }
    header br.clear {
        display: block;

    }
}

@media screen and ( min-width: 385px ) {
    footer span:not(:first-child)::before {
        content: "|";
        margin-right: 0.5em;
    }
}

@media screen and ( min-width: 640px ) {
    section#aboutus div {
        background-color: rgba(255, 255, 255, 0.8);
        width: 500px;
        margin: auto;
        margin-right: 0;
        margin-top: 20px;
        font-size: 110%;
        line-height: 150%;
        padding-right: 0.25em;

    }
    section#contactus form {
        width: 50%;
        float: right;
    }
    section#contactus div {
        float: left;
        width: 45%;
        vertical-align: top;
    }
    br.clear {
        display: block;
    }
}

@media screen and ( min-width: 768px ) {
    section#services {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
    section#services div {
        display: inline-block;
        margin: 2px;
        width: calc(33% - 4px - 3px);
        padding: 1em;
        padding-bottom: 0;
        border: 3px solid rgb(46, 105, 209);
        vertical-align: top;
        text-align: left;
        margin-top: 2em;
    }
    section#services div i {
        display: block;
    }
    section#partnerships {
        display: block;
    }
}
@media screen and ( min-height: 600px ) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    main {
        padding-top: 145px;
    }
}

@media screen and ( min-width: 768px ) and ( min-height: 600px ) {
    section#aboutus div {
        margin-top: 75px;
        margin-bottom: 125px;
    }
}

@media screen and ( min-width: 1000px ) {
    section, header, footer {
        padding-left: calc(50vw - 500px);
        padding-right: calc(50vw - 500px);
    }
    section#partnerships img {
        margin: 15px;
    }
    
}