body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  color: #424242;
}

h1, h2, h3, h4, h5 {
  margin: 0; 
}

header, nav, footer, section, article, div {
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a { 
  color: #2d3c49;
  font-weight: normal;
  text-decoration: none;
}

a:hover { color: #02b3e4; }

p a, li a {
  border-bottom: 1px solid #02b3e4;  
}

.italics { font-style: italic; }
.center { text-align: center; }

.note { font-size: 0.8em; }



/*---------Header---------*/

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid grey;
}

.header-logo {
  max-height: 150px;
  max-width: 200px;
  display: flex;
  margin: 10px 0;
}

.header-inner { 
  text-align: right;
  min-height: 100px;
}

.header-inner h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 100;
  font-size: 5em;
  color: #19476d;
}

.header-inner h3 { 
  font-weight: 200;
  font-size: 1.5em;
  color: #7d97ad; 
}

.header-inner h3 span { 
  text-decoration: line-through; 
}



/*---------Hero---------*/

.hero {
  width: 100%;
  position: relative;
}

.hero img { 
  max-width: 100%;
  margin-top: 20px;
}



/*---------Featured---------*/

.featured {
  width: 100%;
}

.featured-title {
  font-weight: 300;
  margin: 20px 10px;
  line-height: 24px;
  font-size: 2.5em;
  color: #7d97ad; 
}


.container { 
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(30%, 1fr) ); 
  grid-gap: 25px;
  padding: 0px 10px 25px 10px;
}

.featured-work {

}

.featured-work img {
  width: 100%;
  border: 1px solid #e8e8e8;
}

.work-title {
  width: 100%;
  margin: 0 0 0.5em;
  text-align: center;
}

.work-title h3 { 
  font-size: 2em; 
  font-weight: 200;
  margin: 8px 0;
  text-transform: uppercase;
}

.work-title p { margin: 0; }

@media screen and (max-width: 475px) {
  .header {
    justify-content: center;
  }
  .header-inner { 
    padding: 10px 42px; 
    min-height: unset;
    text-align: center;
  }
  .header-inner h1 { 
    font-size: 4em; 
    display: none;
  } 

  .header-inner h3 { 
    font-size: 1.1em; 
  }
}

@media screen and (min-width: 476px) and (max-width: 999px) {
  .header {
    justify-content: space-around;
  }
  .header-logo { 
    margin-bottom: 0; 
  }

  .header-inner { 
    padding: 10px 0; 
    min-height: unset;
    text-align: center;
  }

  .header-inner h1 { 
    font-size: 4em; 
    display: none;
  } 

  .header-inner h3 { 
    font-size: 1.1em; 
  }

  .container { 
    flex-wrap: wrap; 
  }

  .featured {
    padding: 0 10px 25px 10px;
  }

  .featured-work { 
    width: 100%; 
    margin: 10px 0; 
  }
  
  .featured-title {
    font-size: 2.2em;
  }

  .work-title h3 { 
    font-size: 1.5em; 
  }
}

@media screen and (min-width: 1000px) {
  main, .header, .content {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  .header-inner h1 {
    display: unset; 
  }
}
