/*
* Photo Gallery — Practice
* CSS Styles
*
* Start typing your code under these comments
*/
#topbar {
   
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 999;
}
.img {
	max-width: 25%;
}

.container {
	width: 100%;
	max-width:960px;
	margin: 0 auto;
}
.photo {
	float: left;
    width: 33.333333%;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo img {
    display: block;
    max-width: 100%;
    height: 400;
    border: 10px solid #041a3794;
    box-sizing: border-box;
}
.photo a:hover {
    opacity: 0.85;
}
.photo a {
    display: block;
    position: relative;
}


.photo:hover> a:after {
    visibility: visible;
}
.photo figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}
h1 {
    font-size: 36px;
    text-transform: uppercase;
  
    text-align: center;
    margin: 30px 0;
}
body {
    font-family: 'Open Sans', sans-serif;
}
#gallery {
    margin-bottom: 60px;
    
}
#gallery .photo img {
    box-shadow: 0px 3px 3px 0px #212121;
}
#gallery:after { 
   content: '';
   display: block; 
   height: 0; 
   clear: both;
}