body{
background-color: #ebe9e1; /* off white */

}

html, body{
    margin: 0;
    padding: 0;
}

/* The sidebar menu */
.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #5ab9ea; /* bright blue */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 26px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #ebe9e1; /* off white */
  display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #ffffff; /* white */
}

/* page title */
header{
    color: #5ab9ea; /*bright blue*/
    padding: 20px;
    font-size: 25px;
}

/* Style page content */
main, header {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

.container {
  position: relative;
  display:inline-block;
  width: 400px;
}

.image {
  opacity: 1;
  display:inline-block;
  width: 400px;
  height: 400px;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 200px;
  left: 200px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #5ab9ea; /*bright blue*/
  color: white;
  font-size: 26px;
  padding: 16px 32px;
}

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

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 32%;
  padding: 0 4px;
}

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

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

div.scroll-container {
  background-color: #5ab9ea; /*bright blue*/
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
  height: 550px;
}


/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay {
  position: absolute;
  height: auto;
  opacity: 0;
  transition: .3s ease;
  background-color: red;
}

/* When you mouse over the container, fade in the overlay icon*/
.overlay-container:hover .overlay {
  opacity: 1;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.icon {
  position: absolute;
  transform: translateY(-320px);
}