html {
  height: 100%;
}

body {
  margin-top: 50px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: sans-serif;
}

.item{
  display: inline-block;
  padding: 30px 20px 20px 20px;
  height: 500px;

  text-decoration: none;
  width: calc(33% - 40px);
  filter: grayscale(50);
  color:black;
  border-radius: 25px;
}
.item:hover{
  filter:grayscale(0);
}
.img{
  border-radius: 45px;
  width:100;
  height:400px;
  background-size: cover;
  background-position: center;
  background-repeat: none;
}
h3{
  text-align: center;
  font-size: 1.5rem;
}
h1{
  padding-top: 100px;
  text-align: center;
  font-size: 2rem;
}
footer{
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .item {
    width: calc(50% - 20px);
    height: 440px;
    margin-bottom: 20px;
  }

  footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 60px 30px 30px 30px;
  }
}

@media screen and (max-width: 580px) {
  .item {
    display: block;
    width: 100%;
    height: 440px;
    margin-bottom: 20px;
  }

  h2 {
    line-height: 1.3;
    margin-bottom: .5em;
  }

}