.galleryequidat {
    --s: 150px; /* control the size */
    --g: 10px;  /* control the gap */
    display: grid;
    margin: calc(var(--s) + var(--g));
  }
  
  .galleryequidat > img {
    grid-area: 1/1;
    width: var(--s);
    aspect-ratio: 1.15;
    object-fit: cover;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%,75% 100%,25% 100%,0 50%);
    transform: translate(var(--_x,0),var(--_y,0)) scale(var(--_t,1));
    cursor: pointer;
    /* filter: grayscale(0); */
    transition: .2s linear;
  }
  .galleryequidat > img:hover {
    /* filter: grayscale(0); */
    z-index: 1;
    --_t: 1.2;
  }
  
  .galleryequidat > img:nth-child(1) {--_y: calc(-100% - var(--g))}
  .galleryequidat > img:nth-child(7) {--_y: calc( 100% + var(--g))}
  .galleryequidat > img:nth-child(3),
  .galleryequidat > img:nth-child(5) {--_x: calc(-75% - .87*var(--g))}
  .galleryequidat > img:nth-child(4),
  .galleryequidat > img:nth-child(6) {--_x: calc( 75% + .87*var(--g))}
  .galleryequidat > img:nth-child(3),
  .galleryequidat > img:nth-child(4) {--_y: calc(-50% - .5*var(--g))}
  .galleryequidat > img:nth-child(5), 
  .galleryequidat > img:nth-child(6) {--_y: calc( 50% + .5*var(--g))}
  
  
  @media (max-width : 650px) {
    .galleryequidat{
      --s: 80px; /* control the size */
      --g: 7px;  /* control the gap */
    }
  }