﻿* {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

header {
    margin: 0;
    padding: 0;
}

    header div img {
        width: 100%;
    }

.mySlides {
    display: none;
}

nav {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    display: flex;
    flex-direction: column;    
}


.topnav {
    overflow: hidden;
    background-color: #eae0c8;
    justify-content: center;
}

    .topnav a {
        float: left;
        display: block;
        color: #0066CC;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        font-weight: bold;
    }

#home {
    justify-content: flex-start;
}

.active {
    color: white;
    border-bottom: solid 3px black;
}

.logo {
    width: 25%;
}

.topnav .icon {
    display: none;
}

article {
    margin: 3em;
    margin-bottom: 6em;
}

    article h1 {
        color: #0066CC;
        font-size: 2.1em;
    }

    article p {
        margin-top: 1.5em;
        font-size: 1em;
    }


#footerout {
    display: flex;
    justify-content: center;
    background-color: #eae0c8;
}

#footerin {
    display: flex;
    color: antiquewhite;
    min-width: 80%;
    flex-wrap: wrap;
    justify-content: center;
}

#footleft {
    width: 30%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    color: #0066CC;
    font-weight: bold;
}

#footright {
    width: 30%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    color: #0066CC;
    font-weight: bold;
}

footer h2 {
    font-size: 1em;
    border-bottom: solid 3px black;
}

footer a {
    text-decoration: none;
    color: antiquewhite;
    color: #0066CC;
}

footer p {
    padding: 0.5em;
}

#pStyle {
    display:block;
    padding: 0.5em;
}





@media screen and (max-width: 770px) {
    .logo {
        width: 50%;
    }

    #footerout {
        align-content: center;
    }

    #footerin {
        width: 100%;
        align-content: center;
        flex-direction: column;
        font-size: 1em;
    }

    #footleft, #footright {
        min-width: 80%;
        text-align: center;
        align-self: center;
        margin: 20px;
    }
}

@media screen and (max-width: 700px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

    main {
        height: 280px;
    }

    .logo {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {

    #footerout {
        align-content: center;
    }

    #footerin {
        width: 100%;
        align-content: center;
        flex-direction: column;
        font-size: 1em;
    }

    #footleft, #footright {
        min-width: 80%;
        text-align: center;
        align-self: center;
        margin: 20px;
    }
}