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

body {
	font-family: Baskerville;
}

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

/* **************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%;
}

.title button {
  border: none;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.title button {
  background-color: white; 
  color: grey; 
  border: 2px solid grey;
}

.title button:hover {
  border: 2px solid #33C173;
  color: #33C173; 
}

/* **************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;
  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: 95%; 
  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%;
  }
}


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

.top {
  text-align: center; /* center the text */
  background: white; /* white background */
  color: grey; /* white text color */
  font-family: Avenir Next;
}

.top a {
  text-decoration:none;
}

.main {
  padding: 30px; /* some padding */
  text-align: center; /* center the text */
  background: white; /* white background */
  color: grey; /* white text color */
  font-family: Avenir Next;
  margin-left:10%;
  margin-right:10%;
}

.main a {
  text-align: center;
  text-decoration:none;
}

.main img {
  display: block;
  height: auto;
  max-width: 100%;
  
}
/* **************Footer************ */

.footer {
  padding: 5px; 
  margin-top: 10px;
  text-align: center; 
  background: black; 
}
