/* ***************Main************ */

body {
	font-family: Baskerville;
	
}

.content {
  max-width: 900px;
  margin: auto;
}


/* **************Navigation Bar************ */


/* The Overlay (background) */
.overlay {   
  height: 0%;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  text-align: center; 
  background-color: rgb(255,255,255); 
  background-color: rgba(255,255,255, 0.95); 
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; 
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; 
  width: 100%; 
  text-align: center; 
  margin-top: 30px; 
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #808080;
  display: block; 
  transition: 0.3s; 
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: black;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

.overlaybutton {
	float: right;
}

.navbar {
	overflow: hidden;
	background-color: #FFFFFF;
	position: -webkit-sticky; 
    position: sticky;
    top: 0;
}

/* Style top navigation bar links */
.navbar a {
	float: left;
	display: block;
	color: #808080;
	text-align: center;
	padding: 20px 20px;
	text-decoration: none;
}

/* Right-aligned links */
.navbar a.right {
	float: right;
	font-family:Avenir Next;
	margin-top:10px;
	font-size:115%;
}

/* Hover for navigation */
.navbar a:hover {
	color: #33C173;
}


@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}

/* **************Title************ */

.title {
  padding: 30px; /* some padding */
  text-align: center; /* center the text */
  background: white; /* white background */
  color: black; /* white text color */
}

/* Increase the font size of the <h1> element */
.title a {
  text-align: center;
  font-size:400%;
}

/* ********************************Image Grid**************************************** */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  text-align:center;
  max-width: 24%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

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

/* 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 {
    flex: 100%;
    max-width: 100%;
  }
}

.image a { 
    top:80%;
    bottom: 0; 
    position:relative;  
    text-align:center;
    text-decoration:none;
    width:100%;
    transform:translate(0%,0%);
    -webkit-transform:translate(0%,-140%);
    color:black;
    font-family:Avenir Next;
    font-size:90%;
    display:none;
}

.image:hover img {
    filter: opacity(0.5);
    -webkit-filter:opacity(0.5);
    -moz-filter:opacity(0.5);
}

.image:hover a {
    display:block;
}



/* **************Footer************ */

.footer {
  padding: 5px; 
  margin-top: 10px;
  text-align: center; 
  background: black; 
}
.bottom {
  text-align: center; 
  background: white; 
}
.bottom img{
  text-align: center;
  margin-left:50px; 
}
