.section-logo-grid {
  background-color: black;
  width: 100%;
  margin: auto;
  border-top: 1px solid #2a2e2e;
}

.section-logo-grid .title {
  padding: 26px 0;
  color: #fff;
  text-align: center;
  font-family: 'Brown', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.comparison-page .section-logo-grid {
  /* margin-top: 40px; */
}

.section-logo-grid .container-logo {
  width: 100%;
  /* max-width: 1366px; */
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-right: 1px solid #2a2e2e;
  border-bottom: 1px solid #2a2e2e;
}
.section-logo-grid .container-logo .image-container{
  width: 186px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: none;
}
.section-logo-grid .logo-card {
  border-top: 1px solid #2a2e2e;
  border-left: 1px solid #2a2e2e;
  text-align: center;
  height: 200px;
  position: relative;
  margin: 0;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.scene {
  --scene-width: 48px;
  --logo-perspective: calc(var(--scene-width)* 2);
  width: 100%;
  height: 100%;
  perspective: var(--logo-perspective);
}

.cube {
  transform-origin: center;
  transition-property: transform;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--logo-perspective) / -4));
  transform: translateZ(-28px) rotateX(0deg);
  width: 100%;
  height: 100%;
  position: relative;
}

.abs {
  position: absolute;
  transform: rotateX(0deg) translateZ(calc(var(--logo-perspective) / 4));
  backface-visibility: hidden;
  justify-content: center;
  inset: 0;
  display: grid;
  align-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
}
.abs:nth-of-type(2){
  transform: rotateX(-90deg) translateZ(calc(var(--logo-perspective) / 4));
  
}
.abs:nth-of-type(3){
  transform: rotateX(-180deg) translateZ(calc(var(--logo-perspective) / 4));
  
}
.abs:nth-of-type(4){
  transform: rotateX(-270deg) translateZ(calc(var(--logo-perspective) / 4));
  
}

.cont {
  position: absolute;
  width: 100%;
  height: 100%;
}

.section-logo-grid .logo-card img {
  margin: 0;
  padding: 0;
  position: relative;
  flex: 1;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  opacity: 0.5;
  aspect-ratio: auto;
    height: 100%;
    margin: auto;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
    max-height: 100%;
}
.section-logo-grid .container-logo .logo-card:nth-of-type(13),
  .section-logo-grid .container-logo .logo-card:nth-of-type(14),
  .section-logo-grid .container-logo .logo-card:nth-of-type(15){
    display: none;
  }
/* 
.spinner div {
  position: absolute;
  width: 100px;
  top:-50px;
  height: 100px;
  border: 2px solid rgb(0, 0, 0);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  font-size: 80px;
}

.spinner .face1 {
  transform: translateZ(-50px);
  background-color: blue;
}

.spinner .face2 {
  transform: rotateX(-90deg);
  background-color: rgb(184, 187, 31);
  top:0;
}

.spinner .face3 {
  transform: translateZ(50px) rotateX(180deg) ;
  background-color: green;
}

.spinner .face4 {
  transform:rotateX(90deg);
  background-color: red;
  top:-100px;
}

.spinner {
  animation: spincube 6s infinite;
  transform-style: preserve-3d;
  display: inline-block; /* This is important !!*/
/* outline: 5px solid red; */
/* to illustrate */
/* position:relative; */
/* } */

/* .center-screen {
  text-align: center;
  margin-top: 10%;
}

@keyframes spincube {
  to {
    transform: rotateX(90deg)
  }
} */

 @media (min-width: 1024px) and (max-width: 1365px) {
  /* .section-logo-grid .container-logo {
    grid-template-columns: repeat(6, minmax(0, 1fr));

  } */
  .section-logo-grid .logo-card{
    height: 150px;
    padding: 60px 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section-logo-grid .logo-card {
    height: 100px;
    padding: 38px 16px;
  }
  .section-logo-grid .title{
    font-size: 12px;
    line-height: 24px;
    padding: 24px 0;
  }
}

@media (max-width: 767px) {
  .section-logo-grid .container-logo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-logo-grid .logo-card {
    height: 100px;
    padding: 38px 15px;
  }
  .section-logo-grid .title{
    font-size: 12px;
    line-height: 24px;
    padding: 18px 60px;
    /* border-top: 1px solid #2A2E2E; */
  }
  .section-logo-grid .container-logo .logo-card:nth-of-type(10),
  .section-logo-grid .container-logo .logo-card:nth-of-type(11),
  .section-logo-grid .container-logo .logo-card:nth-of-type(12){
    display: none;
  }
}