html {
    overflow-y: scroll;
background-image: url(../images/2.jpg);
}

body {
	font-family: sans-serif;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: center;
}

.grid-item {
    float: left;
    position: relative;
    line-height: 1em;
    margin-bottom: 30px;
    //border: 2px solid #333;
    border-radius: 5px;
}
    
    
.grid {
	margin-left: 50px;
	
}

.grid-sizer { width: 30%; }
.grid-item { width: 30%; }


@media screen and (max-width: 1224px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 20%; }
  .grid-item { width: 20%; }
  .grid {margin-left: 75px;}

  
}

@media screen and (max-width: 850px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 30%; }
  .grid-item { width: 30%; }
  .grid {margin-left: 50px;}

  
}

@media screen and (max-width: 480px) {
  /* 10 columns for larger screens */
  .grid-sizer { width: 98%; }
  .grid-item { width: 98%; }
  .grid {margin-left: 5px;}
 }

.image{
    max-width: 100%;
    margin: 0;
    display: block;
}

.image:after {
    clear:both;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: #fff;
    display: none;
}

.overlay .title {
    text-align: center;
    font-size: 30px;
}

.overlay .description {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.80);
    width: 100%;
    margin: 0;
}

.overlay .description p {
    margin: 20px;
}

.grid-item:hover .overlay {
    display: block;
}