@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f2f2f2;
}

.scrollbar-hide {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@keyframes fade-in {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animation {
  opacity: 0;
}

.fade-in {
  animation: fade-in 0.5s ease-in 0s 1 normal none;
  opacity: 1;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fade-in 0.5s ease-in-out;
}

.x {
  border: 2px solid black;
}
.xw {
  border: 2px solid white;
}
.slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(250px * 16); /* 16 logos, adjust if you add/remove */
  animation: scroll 40s linear infinite;
}

.slide {
  height: 100px;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .slide img {
    filter: grayscale(0%);
  }
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

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