html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  font-family: 'Arial',sans-serif;
}
body {
  margin: 0 auto;
  background-color: #E0FCD0;
}
p {
  font-size: 5vh;
  color: darkgreen;
  font-weight: bold;
}
.c1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  border: 0px solid blue;
  padding: 10px;
  justify-content: center;
}
.c1-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  flex-direction: column;
  width: 300px;
  justify-content: center;
  margin: auto;
  margin: 10px;
  border: 2px solid green;
  border-radius: 20px;
  cursor: pointer;
  padding: 10px;
}
.overlay {
  color: black;
  transition: opacity 0.2s ease 0.2s;
}
.c1-in:hover .overlay {
  opacity: 0.7;
  color: orange;
}
.img1 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease;
}
.img1:hover {
  transform: scale(1.2);
  border-radius: 20px;
}
.img2 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease-in;
}
.img2:hover {
  transform: scale(0.8) rotate(360deg);
  border-radius: 20px;
}
.img3 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease-in;
}
.img3:hover {
  transform: translate(50px, 20px);
  border-radius: 20px;
}
.img4 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease-in;
}
.img4:hover {
  transform: translateY(-15px) rotate(5deg) scale(1.1);
  border-radius: 20px;
}
.img5 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
}
.img5:hover {
  transform: translateY(-15px) rotate(5deg) scale(1.1);
  box-shadow: 2px 4px 4px green;
  border-radius: 20px;
}
.img6 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s linear;
}
.img6:hover {
  transform: scale(1.2) skewY(-5deg);
  box-shadow: 2px 4px 4px green;
}
.img7 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s linear;
}
.img7:hover {
  transform: rotate(200deg) scale(1.4);
  box-shadow: 2px 4px 4px green;
}
.img8 {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease;
}
.img8:hover {
  transform: scale(1.2) translateY(-10px);
  box-shadow: 2px 4px 4px green;
}
@media (max-width:767px) {
  .box {
    width: 300px;
  }
  
}