div.gallery {
  border: 1px solid rgb(23,23,23);
  box-shadow:3px 3px 5px gray;
  border-radius:5px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
  border-radius:5px 5px 0 0;
}

div.desc {
  font-size:10px;
  padding: 15px;
  text-align: center;
  background-color:orange;
  color:rgb(23,23,23);
  border-radius:0 0 5px 5px;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 5px 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
