.brands-showcasing {

  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(8, 1fr);
  grid-template-areas:
   "main1 main1 main2 main2 single1 single2 single3 single4"
   "main1 main1 main2 main2 single5 single6 single7 single8";

  > li {

    aspect-ratio: 1;
    height: 100%;
    width: 100%;

    a {
      display: flex;
      width: 100%;
      height: 100%;
      background: linear-gradient(-65deg,#0000 33%, #fff 50%,#0000 66%) var(--bg-fake-white);
      border-radius: 1rem;
      background-size:400% 100%;
      position: relative;
      transition: all .2s cubic-bezier(.47,1.64,.41,.8);
      border: 1px solid var(--alto-black);

      img {
        max-width: 100%;
        max-height: 100%;
        padding: 1rem;
        /* position: absolute;
        top: 50%;
        right: -50%;
        transform: translate(-50%, -50%); */
        transform-origin: center;
        transition: all .2s cubic-bezier(.47,1.64,.41,.8);
      }
    }

    a:hover {
      animation: brandShocasingShine 2s infinite;
      transform: scale(1.1);
      border-color: var(--red);

      img {
        transform: scale(1.1);
      }
    }

  }

  > li:first-child {
    grid-area: main1;
  }

  > li:nth-child(2) {
    grid-area: main2;
  }

  > li:nth-child(3) {
    grid-area: single1;
  }

  > li:nth-child(4) {
    grid-area: single2;
  }

  > li:nth-child(5) {
    grid-area: single3;
  }

  > li:nth-child(6) {
    grid-area: single4;
  }

  > li:nth-child(7) {
    grid-area: single5;
  }

  > li:nth-child(8) {
    grid-area: single6;
  }

  > li:nth-child(9) {
    grid-area: single7;
  }

  > li:nth-child(10) {
    grid-area: single8;
  }

}

.brands-showcasing + .brands-showcasing {
  margin-top: 1rem;
}

@keyframes brandShocasingShine {
  0% {
    background-position: right;
  }
  /*100% {
    background-position: left; it's the default value, no need to define it
  }*/
}

@media only screen and (max-width: 1023px)  {

  .brands-showcasing {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
     "main1 main1 main2 main2"
     "main1 main1 main2 main2"
     "single1 single2 single3 single4"
     "single5 single6 single7 single8";
  }

}

@media only screen and (max-width: 700px)  {

  .brands-showcasing {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
     "main1 main1"
     "main2 main2"
     "single1 single2"
     "single3 single4"
     "single5 single6"
     "single7 single8";
  }

}
