
.gif-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 32px;
  padding: 32px;
}

.gif-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;
}

.gif-item img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gif-label {
  margin-top: 4px;
  margin-bottom: 16px;
  line-height: 1.2em;
  padding-left: 20px;
  font-size: 1em;
  color: #343434;
  text-align: center;
}

/* SLIDER below */

.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: calc(200%); /* Adjust based on the number of logos */
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 32px; /* Adjust based on desired height */
  width: auto;
  margin: 0 20px; /* Adjust spacing between logos */
  border-radius: 0;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

.rulet {
  height: 2px;
  margin: 0px 0 10px 0;
  padding: 0px;
  background-color: #f4a321;
}

.ruleb {
  height: 2px;
  margin: 12px 0 0px 0;
  padding: 0px;
  background-color: #f4a321;
}


/* ==============================
Small devices (640px and smaller)
================================= */
@media (max-width: 640px) {
  .gif-container {
      grid-template-columns: 1fr;
  }

  .gif-item {
      margin-bottom: 8px; /* Add some spacing between rows */
  }
  .gif-label {
    margin-top: 8px;
    margin-bottom: 16px;
    line-height: 1.5em;
    padding-left: 20px;
    font-size: 1.2em;
    color: #343434;
    text-align: center;
  }

  /* SCROLLING */
  .logo-track {
    animation: scroll-small 25s linear infinite; /* Slower animation for smaller screens */
}

.logo-track img {
  height: 20px; /* Adjust based on desired height */
  width: auto;
  margin: 0 10px; /* Adjust spacing between logos */
  border-radius: 0;
}

@keyframes scroll-small {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}
}
/* VIDEO */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==============================
Small devices (640-800px)
================================= */
@media (max-width: 800px) 

.logo-track img {
  height: 30px; /* Adjust based on desired height */
  width: auto;
  margin: 0 10px; /* Adjust spacing between logos */
  border-radius: 0;
}

{