body {
  margin: 0;
  font-family: sans-serif;
  background-color: #eeeeee00;
}

.banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* Per effetto 3D */
}

.scrolling-container {
  display: flex;
  position: absolute;
  animation: scroll-horizontal 3s linear infinite;
}

.scrolling-container img {
  width: 100px;
  margin: 0;
  transform: rotateY(0deg);
  animation: rotate-card 1s linear infinite;
}

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

/* Simula rotazione continua */
@keyframes rotate-card {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.selected-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

.selected-card img {
  width: 200px;
  border: 4px solid rgba(0, 13, 43, 0.962);
  box-shadow: 0 0 25px #333;
  background-color: white;
  border-radius: 10px;
}
