@import url('https://fonts.googleapis.com/css?family=Raleway');

html, body, article {
    margin: 0 auto;
    padding: 0 auto;
    font-family: 'Raleway', sans-serif;
    min-height: 100vh;
    max-width: 100%;
    background: #fff;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


nav {
    position: fixed;
    top: 0;
    padding: 0;
    width: 100%;
    height: 3.5em;
    background-color: #212529;
    border-bottom: solid 1px #fff;
}

.mobile-nav {
    height: 3.5em;
    display: grid;
    grid-template-columns: 1fr 5fr;
    max-width: 100%;
    background: #212529;
    opacity: 1;
    border-bottom: solid 1px #fff;

}

.mobile-nav a {
    z-index: 1000;
}

.logo svg {
    height: 2.5rem;
    padding: .4em 0 0 .4em;
}

.menu {
    justify-self: end;
    margin-top: .4rem;
    margin-right: .4rem;
}

.menu img {
    height: 28px;
    fill: #fff;
    margin-top: .6rem;
    margin-right: .6rem;
}

.hide-mobile {
    display: none;
}



content {
    margin: 4em auto;
    min-height: 100%;
    max-width: 100%;
    padding: 4em auto;
}

footer {
    position: static;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    display: grid;
    grid-template-columns: 2fr 1fr 50px 50px;
    grid-template-rows:1fr 1fr .5fr;
    background-color: #212529;
    padding: 0;
    border: solid 2px #303030;
}

.footer-container {
    position: static;
    margin: 0;
    grid-row: 1 / span 3;
}

.footer-logo {
    padding: .3em;
    justify-self: right;
    grid-column: 2 / span 3;
}

.footer-logo svg {
    height: 2em;
}

.address {
    display: none;
    grid-row: 1 / span 3;
    padding: 0;
    font-size: 0.8em;
    color: #808080;
    line-height: 1.5em;
}

.address a {
    text-decoration: none;
    color: inherit;
}

.address a:hover {
    text-decoration: underline;
    color: #fff;
}

.contact {
    grid-row: 1 / span 3;
    padding: 0;
    font-size: 0.8em;
    color: #808080;
    line-height: 1.5em;
}

.contact a {
    text-decoration: none;
    color: inherit;
}

.contact a:hover {
    text-decoration: underline;
    color: #fff;
}

.phone {
    position: relative;
    top: 8px;
    height: 12px;
}

.flogo {
    justify-self: center;
    align-self: top;
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
}

.facebook {
    margin: 0;
    padding: 0;
    height: 20px;
    
}

.email {
    grid-column: 4 / span 1;
    grid-row: 2 / span 1;
    justify-self: center;
    align-self: top;
    margin: 0 5px;
}

.copyright {
    margin: 0;
    padding: 0;
    grid-column: 2 / span 3;
    grid-row: 3 / span 1;
    align-self: start;
    font-size: 0.8em;
    color: #808080;
    padding-right: .5em;
    text-align: right;
}

nav ul {
    display: grid;
    grid-template-columns: 150px;
    grid-auto-rows:repeat(5, 3.5em);
    position: absolute;
    top: 0;
    right: 0;
    background: #212529;
    padding: .8em;
}

nav ul li {
    text-decoration: none;
    text-transform: uppercase;
    line-height: 3em;
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 1em;
}


nav ul li a:hover {
    background-color: rgb(65, 73, 78);
}

nav ul li a:active {
    background-color: #33393d;
    color: steelblue;
}


.exit-btn {
    margin: 0;
    text-align: right;
    padding-right: 1em;
    padding-bottom: 5px;
}

.exit-btn:hover {
    background-color: rgb(65, 73, 78)
}

.exit-btn img {
    height: 28px;
}

.nav-list svg {
    width: 30px;
    cursor: pointer;
    fill: #fff;
}


@media only screen and (min-width: 425px) {
    
    
}
@media only screen and (min-width: 650px) {

    .address {
        font-size: 1em;
    }


@media only screen and (min-width: 1024px)  {

     
    content {
        max-width: 100%;
        margin: 0;
    }
    
    .show-desktop {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns:  1fr 1fr 1fr 1fr;
        grid-template-rows: 40px;
        top: 0;
        padding-right: .5em;        
    }

    .hide-desktop {
        display: none;
    }

    nav {
        max-width: 100vw;
    }
    
    .mobile-nav {
        max-width: 100vw;
    }
    
    nav ul li a {
    line-height: 3.5em;
    color: white;
    text-decoration: none;
    display: block;
    border: none;
    margin: 0;
    padding: 0 1em;
    text-align: center;
    text-transform: uppercase;
    
    }
    
    nav ul li a:hover {
        background-color: rgb(65, 73, 78);
        color: steelblue;
        cursor: pointer;

    }
    
    footer {
        margin: 0 -1px;
        padding-left: 1em;
        grid-template-columns: 1fr 1fr 40px 40px;
    }
    
    .copyright {
        font-size: 1em;
    }
}
    
@media only screen and (min-width: 1440px) {
    
    content {
        width: 80%;
        margin: 0 auto;
    }



    h1, h2, h3, h4, p {font-size: 150%;
    }

    .contact {
        font-size: 200%;
    }

    nav {
        height: 5em;
    }

    nav ul li {
        font-size: 150%;
    }

    .mobile-nav {
        height: 5em;
    }

    footer {
        grid-template-columns: 1fr 1fr 60px 60px
    }

    .logo svg {
        height: 4em;
    }

    .facebook, .email img {
        height: 40px;
    }


    
}

}