#baground{
    width: 100%;
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center center;
    z-index: -1;
   
}
.slider-z-image {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    position: absolute;
}
.slider-z-image>h1{
	color: #fff;
    font-family: 'dejavu_sansbook';
    margin: 13% auto;
    width: 200px;
    text-align: center;
   position: relative;
   height: 70px;
}
.shape-top {
    width: 200px;
    border-bottom: 1px solid #ed1c24;
    position: absolute;
    bottom: 10px;
    left: 20px;
}
.shape-bottom {
    width: 200px;
    border-bottom: 1px solid #fff;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
#galery{
	max-width: 1300px;
	min-height: 200px;
	margin: auto;
	text-align: center;
}
.galery{
	width: 400px;
	height: 400px;
	display: inline-block;
	margin: 8px;
	  background-size: cover;
    background-position: center center;
    position: relative;
}
.galery-hover-effects{
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(0,0,0,0.7);
	
}
.galery-hover-effects>h1{
	color: #fff;
	    font-family: 'dejavu_sansbook';
	    font-size: 16px;
	    width: 300px;
	    text-align: center;
	    margin:200px auto;
	    padding: 5px;
	    border: 1px solid rgba(255,255,255,0.2);
	    border-left: none;
	    border-right: none;
}
.galery-hover-effects>h1:hover{
  text-decoration: underline;
  color: #fd5158;
}
.galery:hover .galery-hover-effects{
	   -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
	background-color: rgba(0,0,0,0.8);
}
@media only screen and (max-width: 500px) {
.galery {
    width: 350px;
    height: 350px;
    
}
}