*{box-sizing: border-box}

body{
    font-family: 'Didact Gothic', Century Gothic, sans-serif;
}

header {
    background-color: /*#e3989d*/#9e4036;
    color: #FFFFFF;
 
    grid-area: 1 / 4 / 2 / -2;
}

header h1{
    color: whitesmoke;
    font-family: 'Petit Formal Script', 'Galada',sans-serif;
    font-style: normal;
    font-weight: 300;
}

nav{
    font-weight: bold;
    top: 0 ;
    background-color: #b8b2ab;
    grid-area: 2 / 2 / 3 / -2;
}

nav a{
    text-decoration: none;
    color: whitesmoke;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

nav a:hover{
    background-color: #9e4036;
}

nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
}

nav ul li{
    width:100%;
}

h2{
    color:#9e4036;
}

footer{
    font-size: .70em;
    text-align: center;
    padding: 1em;
    grid-area: 5 / 2 / 6 / -2;
}

footer a{
    color:#e3989d;
}

#wrapper{
    display:grid;
    grid-auto-rows: minmax(0px,auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#pinkbar{
    background-color:#9e4036 ; 
    grid-area: 1 / 1 / 2 / 9;
}

#greybar{
    background-color: /*#dbd5d8*/#b8b2ab;
    grid-area: 2 / 1 / 3 / -1;
}

main{
    padding-left:2em;
    padding-right:2em;
    display:block;
    background-color: whitesmoke;
    padding-top:1px;
    padding-bottom:1px;
    grid-area: 4 / 2 / 5 / -2;
}

#homehero{
    height:300px;
    background-image: url(scribble.jpg);
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center;
    grid-area: 3 / 1 / 4 / -1;
}

img{
    display: flex;
    padding-right: 30px;
    height: 300px;
    width:auto;
    float: left;
    margin-left: auto;
    margin-right: auto;
    
}

.clear{
    clear:both;
}

@media only screen and (max-width: 1100px) {
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr);
    }
}

@media only screen and (max-width: 992px) {
     header h1 {
        background-image: none;
        text-align:start;
    }
         
    nav {
        grid-area: 2 / 1 / 3 / 5;
    }
    nav ul{
        flex-flow: column nowrap;
    }
    #homehero  {
        grid-area: 2 / 5 / 3 / 8;
        height:auto;
    }
    section{
        float: none;
        width: 100%;
        padding-right: 0px;
    }

    
}

@media only screen and (max-width: 768px){
    header h1 {
        background-image: none;
        text-align:center;
    }
    nav{
        grid-area: 2 / 1 / 3 / -1;
    }
    #homehero {
        display: none;
    }
    
}