@import url('https://fonts.googleapis.com/css?family=Poppins');

h1 {
  text-align: center;
  color: white;
}

.containerr-all {
  width: fit-content;
  margin: 20px;
  height: auto;
}

.containerr {
  width: calc(33%);
  overflow: hidden;
  height: 350px;
  margin: 0px;
  padding: 10px;
  display: block;
  position: relative;
  float: left;
}

img {
  width: 100%;
  transition-duration: .3s;
  max-width: 100%;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.title {
  position: absolute;
  display: block;
  cursor: pointer;
  top: 35%;
  display: none;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 1.6em;
  text-shadow: 1px 5px 10px black;
  transition-duration: .3s;
}

.textt {
  position: absolute;
  top: 70%;
  cursor: pointer;
  max-width: 80%;
  text-align: center;
  left: 50%;
  text-shadow: 1px 5px 10px black;
  font-size: 1em;
  display: none;
  margin-right: -50%;
  transition-duration: .3s;
  transform: translate(-50%, -50%)
}

.containerr:hover img {
  transform: scale(1.2);
  transition-duration: .3s;
  filter: grayscale(50%);
  opacity: .7;
}

.containerr:hover span {
  color: white;
  display: block;
  transition-duration: .3s;
}

@media only screen and (max-width: 900px) {
  .containerr {
    width: calc(100%);
  }
}

@media only screen and (max-width: 400px) {
  .containerr {
    width: 100%;
  }
}