/* #CSS
---------------------------------
    #HTML5
    #BODY
        #TYPOGRAPHY
    #HELPERS
    #IMAGES
    #BUTTONS
    #SITE STRUCTURE
        #HEADER
            #SITE-BRANDING (LOGO)   
            #SITE NAVIGATION
        #FOOTER
        #SECTIONS
            #HERO
    #LAYOUT
        #GRIDS
    #EFFECTS (FADE-INS)
--------------------------------- */
/* #HTML5 */
header, section, footer, aside, nav, main, article, figure {
  display: block;
}

/* #TYPOGRAPHY  */
body {
    font-family: Helvetica, Arial, sans-serif;
    color: rgba(0,0,0,.7);
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em;
    font-size: 87.5%;
    line-height: 1.5em;
}

h1 {
    font-size: 3em;
}

/* #LINKS */
a {
  color: rgba(0,0,0,.4);
  text-decoration: none;
}

a:hover {
  color: rgba(0,0,0,.6);
}

/* HELPERS */
.text-centered {
  text-align: center;
}

/* #IMAGES */
img {
  max-width: 100%;
  height: auto;
}


/* SITE-STRUCTURE */

.site-header,
.site-footer {
    text-align: center;
    padding: 3em 0 2em 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.site-branding h1 {
    font-size: 2em;
    margin: 0;
    font-weight: normal;
}

.site-navigation ul {
    margin: 0;
    padding: 2em 0;
}

.site-navigation li {
    margin: 0 .5em;
    padding: 0;
    display: inline-block;
}

.site-navigation a {
    display: block;
    padding: 1em .5em;
    color: rgba(0,0,0,.4);
}

.site-navigation a:hover,
.site-navigation a.selected {
    color: rgba(0,0,0,.6);
    border-bottom: 0.05em solid rgba(0,0,0,.2);
}

section {
    padding: 0 0 3em 0;
}

/* #LAYOUT: THUMB IMGE GRID */
.thumbgrid {
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
}

.thumbgrid a {
    width: 49.5%;
}

@media (min-width:768px) {
    .thumbgrid a {
        width: 24.5%;
    }
}

.thumbgrid a img {
    filter: brightness(1.05);
    transition: all ease-in-out 0.2s;
    border: 1px solid rgba(255,255,255,0);
}

.thumbgrid a:hover img {
    filter: brightness(1);
    border: 1px solid rgba(0,0,0,.3);
}