@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url("lime.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.container {
  position: relative;
  width: 1100px;
  display: flex;
  flex-wrap: wrap;
}
.container .box {
  position: relative;
  width: 275px;
  height: 350px;
  background: #ccc;
  overflow: hidden;
  transition: 0.5s;
}
.container .box:hover {
  transform: scale(1.25);
  z-index: 1;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
}
.container .box .imgBx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.container .box .imgBx:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(223, 242, 53), #000);
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: 0.5s;
}
.container .box:hover .imgBx:before {
  opacity: 1;
}
.container .box .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container .box .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  padding: 20px;
  align-items: flex-end;
}
.container .box .content h2 {
  color: #fff;
  transform: translateY(200px);
  transition: 0.5s;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 20px;
}
.container .box .content p {
  color: #fff;
  transform: translateY(200px);
  transition: 0.5s;
  font-size: 10px;
}
.container .box:hover .content h2 {
  transform: translateY(0);
  transition-delay: 0.6s;
}
.container .box:hover .content p {
  transform: translateY(0);
  transition-delay: 0.7s;
  font-size: 14px;
}
p {
  font-size: 1.5rem;
}
@media screen and (max-width: 800px) {
  body {
    margin: 5%;
  }
}
