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-end;
  align-content: center;
  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;
  animation: fadeIn 2s ease-in-out infinite;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.img2 {
  width: 100%;
  border-radius: 20px;
  animation: slideLeft 1.5s ease-out infinite alternate;
}
@keyframes slideLeft {
  from { transform: translateX(-200px);}
  to { transform: translateX(0);}
}
.img3 {
  width: 100%;
  border-radius: 20px;
  animation: smalltolarge 1.5s ease-in-out alternate infinite;
}
@keyframes smalltolarge {
  from { transform: scale(0.4);}
  to { transform: scale(1);}
}
.img4 {
  width: 100%;
  border-radius: 20px;
  animation: rotating 1.7s linear; 
}
@keyframes rotating {
  from { transform: rotate(0);}
  to {transform: rotate(360deg); }
}
.img5 {
  width: 100%;
  border-radius: 20px;
  animation: updown 1.5s ease-in-out infinite alternate;
}
@keyframes updown {
  from { transform: translate(0); }
  to { transform: translateY(-30px)}
}
.img6 {
  width: 100%;
  border-radius: 20px;
  animation: swapping 1.5s ease-in-out infinite alternate;
}
@keyframes swapping {
  from { transform: rotateY(0); }
  to { transform: rotateY(180deg); }
}
.img7 {
  width: 100%;
  border-radius: 20px;
  animation: blurring 1.8s ease-in-out;
}
@keyframes blurring {
  from { filter: blur(10px);}
  to { filter: blur(0); }
}
.img8 {
  width: 100%;
  border-radius: 20px;
  animation: smalling 1.5s ease-in-out infinite alternate;
}
@keyframes smalling {
  from { width: 100px;}
  to { width: 300px; }
}
@media (max-width:767px) {
  .box {
    width: 300px;
  }
  
}