/*
* Photo Gallery — Practice
* CSS Styles
*
* Start typing your code under these comments
*/

.container {
  width: 100%;
  max-width: 530px;
}
.photo {
  float: left;
  width: 33.333333%;
  padding: 5px;
  box-sizing: border-box;
}
.photo img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 10px solid #eee;
  box-sizing: border-box;
  border-radius: 20px;
}
.photo a:hover {
  opacity: 0.5;
}
.photo a {
  display: block;
  position: relative;
}
.photo a:after {
  content: '';
  background: transparent url(../img/icons/eye-icon.png) no-repeat center;
  width: 52px;
  height: 35px;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  visibility: hidden;
}
.photo:hover > a:after {
  visibility: visible;
}
.photo figcaption {
  color: #999999;
  text-align: center;
  margin-top: 20px;
}
.gallery-title {
  font-size: 20px;
  text-align: center;
  margin: 10px 0;
  margin-top: 40px;
}

#gallery {
  margin-bottom: 40px;
}
#gallery:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}
