.image-certificate {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-right: 10px;
  margin-left: 10px;
}

.image-certificate-object {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-right: 10px;
  margin-left: 10px;
}

object {
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: 5px;
  height: auto;
  animation: appears linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  cursor: pointer;
  image-rendering: -moz-crisp-edges;
  transition: transform 0.3s;
}

.imgs {
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 5px;
  height: auto;
  animation: appears linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  cursor: pointer;
  image-rendering: -moz-crisp-edges;
  transition: transform 0.3s;
}
@keyframes appears {
  from {
    opacity: 0;
    scale: 0.4;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

.imgs:hover {
  border-radius: 5px;
  transform: scale(1.05); /* Slight zoom effect when hovering over the image */
}

@media (width < 600px) {
  .image-certificate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-right: 10px;
    margin-left: 10px;
  }
.image-certificate-object{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-right: 10px;
    margin-left: 10px;
  }
  object {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 5px;
    height: auto;
    animation: appears linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    cursor: pointer;
    image-rendering: -moz-crisp-edges;
    transition: transform 0.3s;
  }
  .imgs {
    aspect-ratio: 3/4;
    width: 100%;
    border-radius: 5px;
    height: auto;
    cursor: pointer;
    image-rendering: -moz-crisp-edges;
    transition: transform 0.3s;
  }

  .imgs:hover {
    border-radius: 5px;
    transform: scale(1.05);
  }
}
