﻿/* Copyright Katherine Townsend */

/* Brown: #332e10, rbg(51,46,16)
	Blue: #1c4682
    Yellow: #f5c501
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

body {
    background: #fff;
    overflow-x: hidden;
    max-width: 100%;
    color: #332e10;
    font-family: 'Lato', sans-serif;
    user-select: none;
}

.flex-container {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
}

header {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    width: 100%;
    z-index: 999;
    padding: .5em 1.15em 1.5em 1.15em;
    font-family: 'Ubuntu', 'Lato', sans-serif;
    color: #1c4682;
}

.logo {
    display: none;
}

a {
    text-decoration: none; 
    color: inherit; 
    font-family: inherit;
}

h1 {
    font-size: 4em;
    font-weight: 700;
    display: flex;
    font-family: 'Ubuntu', 'Lato', sans-serif;
    padding-bottom: .25em;
}

nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

    nav a {
        display: flex;
        text-shadow: 1px 1px 1px #fff;
        padding: 0 .35em;
        font-size: 1.25em;
        font-family: 'Ubuntu', 'Lato', sans-serif;
    }

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row nowrap;
    position: absolute;
    bottom: .25em;
    align-items: center;
    color: #1c4682;
    opacity: 0;
    font-size: .5em;
}

    footer:hover, footer:focus {
        transition: opacity 1s;
        opacity: 1;
    }

    /* toggle for clickable dropdown menu */
.show {
    display: block;
}



/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

    /* Dropdown item */
    .dropdown .dropitm {
        /*font-family: inherit; /* Important for vertical align on mobile phones */
        margin: 0; /* Important for vertical align on mobile phones */
    }

    /* Change dropdown navbar links on hover */
    .dropdown:hover .dropitm {
        cursor: pointer;
        transition: opacity .3s;
        opacity: 0.5;
    }

/* Hide underscore for dropdown items*/
nav .dropdown-content a:hover::after {
    width: 0;
}


/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1c4682;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 3px 4px;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        float: none;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        color: white;
        text-shadow: none;
        font-size: inherit;
    }

        /* Add a grey background color to dropdown links on hover */
        .dropdown-content a:hover {
            /*background-color: #ddd;*/
            opacity: .7;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}




@media only screen and (min-width: 1110px) {

    body {
        max-width: 100%;
        margin: 0 auto;
    }
    
    #logoName a:hover, #logoName a:focus {
        cursor: pointer;
        transition: opacity .3s;
        opacity: 0.5;
    }

    header {
        flex-flow: row wrap;
        justify-content: space-between;
        padding: 1.5em 1.15em 1.5em 1.15em;
    }

    #logoName {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .logo {
        display: inline-block;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 10px 0 rgba(0, 0, 0, 0.16);
    }

    header a img {
        height: 60px;
    }

    h1 {
        padding-left: 1em;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.19);
        padding-bottom: 0;
    }
    
    nav a {position: relative; padding-left: 0; padding-right: 0;}
    nav {width: 30%;}


    a::after {
        background: none repeat scroll 0 0 transparent;
        bottom: -2px;
        content: "";
        display: block;
        height: 3px;
        left: 50%;
        position: absolute;
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
        width: 0;
        background: #f5c501;
    }

    nav a:hover::after {
        width: 100%;
        left: 0;
    }

    nav a {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }
}



