.cats {
  text-align: center;
}
.cats h1 {
  color: #5C403D;
  font-size: 28px;
  font-family: "PT Sans Narrow", sans-serif;
}
.cats .cat {
  vertical-align: top;
  transition: all 0.3s ease-out;
  padding: 10px;
  display: inline-block;
  width: 18%;
}
.cats .cat a {
  color: #5C403D;
}
.cats .cat a:visited {
  color: inherit;
}
.cats .cat a:hover {
  color: rgba(0, 120, 0, 0.9);
  text-decoration: none;
}
.cats .cat a:hover .img_wrapper {
  box-shadow: 0 0 20px #5C403D;
  border-color: #5C403D;
}
.cats .cat .img_wrapper {
  width: 100%;
  border: solid 1px transparent;
  transition: all 0.3s ease-out;
}
.cats .cat .img_wrapper img {
  width: 100%;
  height: auto;
}
.cats .cat .cat_name {
  text-align: center;
  margin: 10px 0 0;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width: 991px) {
  .cats .cat {
    width: 31%;
  }
}
@media screen and (max-width: 767px) {
  .cats .cat {
    padding: 5px;
    display: block;
    width: auto;
  }
  .cats .cat .img_wrapper {
    border-color: #CCC;
    display: inline-block;
    width: 15%;
    margin-left: 5%;
  }
  .cats .cat .cat_name {
    font-size: 20px;
    text-align: left;
    display: inline-block;
    width: 78%;
    padding-left: 30px;
  }
}