/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
body {
    color: #404040;
    font-size: 18px;
    font-family: Arial, SansSerif;
    background-color: black;
}

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

.masthead {
    padding-bottom: 1em;
    text-align: center;
    
}

.site-title {
    margin: 0;
    padding: 1em 0 0;
    font-size: 3em;
    font-weight: 400;
    color: #ffffff;
    font-style: normal;
    text-transform: uppercase;
}
.site-title a:visited {
	color: greenyellow;
}
.site-title a {
	color: greenyellow;
}

.masthead .site-description {
    color: #FFFFFF;
    font-family: "Source Code Pro";
}




/*--------------------------------------------------------------
Main area
--------------------------------------------------------------*/

.main-area {
	padding: 1em;
}

.gallery {
	margin: 0 auto;
	max-width: 80em;
}

/* Flex layout */
.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	transition: all .2s;
}

.photo {
	box-sizing: border-box;
	padding: 5px;
}




@media screen and (min-width: 40em) {
	.photo {
		width: 50%;
	}
	.double {
		width: 100%;
	}
}

@media screen and (min-width: 60em) {
	.photo {
		width: 33%;
	}
	.double {
		width: 66%;
	}
}

@media screen and (min-width: 80em) {
	.photo {
		width: 33%;
	}
	.double {
		width: 66%;
	}
}

/*--------------------------------------------------------------
Gallery items
--------------------------------------------------------------*/

.photo figure {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.photo img {
	display: block;
	width: 100%;
}

.photo figcaption {
    position: absolute;
    box-sizing: border-box;
    bottom: -4em;
    width: 100%;
    padding: 0 1em;
    background-color: hsla(0,0%,0%,0.69);
    text-align: center;   
}

.photo h2 {
    font-size: 1em;
    font-weight: lighter;
    color: #FFFFFF;
}

.photo a {
	color: black;
}

.photo a:hover figcaption {
   text-decoration-color: #FFFFFF;
   bottom: 0;
}
