@font-face {
    font-family: Metropolis-ExtraLight;
    src: url(../fonts/Metropolis-ExtraLight.otf);
}

body {
	color: white;
	background-color: #111519;
	font-family: Metropolis-ExtraLight;
    margin: 0;
	padding: 0;
}

a {
	display: block;
}

* {
    box-sizing: border-box;
}

.back {
	color:white;
	text-decoration: underline;
    text-decoration-color: #12aa63;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	text-align: center;
	font-size: 20px;
	font-family: Metropolis-ExtraLight;
	margin-top: 5%;
	z-index: 5;
}

.back:hover {
  color: #0088cf;
  transition: color .35s ease;
}

.header {
	color: white;
	font-size: 20px;
	font-family: Metropolis-ExtraLight;
	width: 100%;
	text-align: center;
	margin-bottom: 3%;
	margin-top: 3%;
	padding-left: 10%;
	padding-right: 10%;
}

.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
	margin-left: 5%;
	margin-right: 5%;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 8px 8px 8px 8px;
	margin-top: 10%;
}

.column img {
    margin-top: 16px;
    vertical-align: middle;
	cursor: pointer;
	-webkit-filter: brightness(100%);
	-webkit-animation-duration: 3s !important;
	-moz-animation-duration: 3s !important;
	-o-animation-duration: 3s !important;
	-ms-animation-duration: 3s !important;
}

.column img:hover {
    -webkit-filter: brightness(65%);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.overlay {
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,.70);
	position: fixed;
	z-index: 500;
	opacity: 0;
	left: -100%;
	transition: opacity .5s;
	-webkit-transition: opacity .5s;
}

.photo-container {
	width: 90%;
	height: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

.close {
	width: 20px;
	fill: white;
	position: absolute;
	right: 0;
	top: -10px;
}

.close:hover {
	fill: rgba(255,255,255,0.5);
	cursor: pointer;
}

.left {
	fill: white;
	width: 100px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%) scale(0.25, 0.25);
	-webkit-transform: translateY(-50%) scale(0.25, 0.25);
	z-index: 500;
}

.left:hover {
	fill: rgba(255,255,255,0.5);
	cursor: pointer;
}

.right {
	fill: white;
	width: 100px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) scale(0.25, 0.25);
	-webkit-transform: translateY(-50%) scale(0.25, 0.25);
	z-index: 500;
}

.right:hover {
	fill: rgba(255,255,255,0.5);
	cursor: pointer;
}

.show {
	opacity: 1;
}

.loading-spinner {
    height: 100px;
    width: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	background-image: url('../images/loading_spinner.gif');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.high-res-image {
	max-width: 90%;
	max-height: 90%;
    height: auto;
    width: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
	.left{
		top: 75%;
	}

	.right{
		top: 75%;
	}
}
