* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  line-height:1.5;
}


body {
  background: #FAF0CA;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  

}
 
.content {
  text-align: center;
  padding: 2% 6%;
  color: #000;
}

/* .content h2 {
  font-size: 4rem;
  margin: 0;
}

.content h3 {
  font-size: 3rem;
  color: #BE8A60;
  margin: 0;
}

.content h5 {
  font-size: 2rem;
  margin: 0;
} 
.content p {
  margin-bottom: 35px;
  padding: 0 20px;
  text-align: left;
} */


.wrapper {
  width: 90%;
  height: auto;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-area {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 80px 0;
}

.single-content {
  width: 300px;
  height: 300px;
  overflow: hidden;
  position: relative;
  margin: 20px;
  box-shadow: 0 2px 20px 2px rgba(0, 0, 0, 0.3);
}

.single-content::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
  opacity: 0;
}

.single-content:hover::after {
  position: absolute;
  content: '';
  transform: translateY(0);
  background: linear-gradient(35deg, rgba(0, 0, 46, 0.8) 25%, rgba(0, 0, 46, 0));
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 1;
}

.single-content img {
  object-fit: cover;
  min-height: 100%;
  height: auto;
  transition: all 0.5s ease;
  width: 100%;
}

.single-content:hover img {
  transform: scale(1.3) translate(10%, 10%);
}

.single-content .info {
  position: absolute;
  z-index: 3;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-105%);
  transition: all 0.4s ease;
  left: 5%;
  right: 5%;
  bottom: 5%;
  padding: 10px 12px;
  border-left: 4px solid #fff;
  color: #ffffff;
}

.single-content:hover .info {
  opacity: 1;
  transform: translateX(0);
}

.single-content .info h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 23px;
  margin-bottom: 10px;
}

.single-content .info h2,
.single-content .info p {
  transition: all 0.7s ease;
  transform: translateX(-100%);
  overflow: hidden;
}

.single-content:hover .info h2,
.single-content:hover .info p {
  transform: translateX(0);
}

.single-content .info p {
  font-size: 13px;
  line-height: 17px;
}


