body {
  font-family: Arial, sans-serif;
  padding: 2rem;
  background-color: #f7f7f7;
}

h1, h2 {
  text-align: center;
}

.card-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.card {
  width: 300px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.card:hover {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-front {
  background-color: green;
}

.card-back {
  background-color: blue;
  transform: rotateY(180deg);
}


.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  margin: 2rem auto;
  padding: 1rem 0;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.marquee-content img {
  width: 120px;
  height: 80px;
  margin: 0 15px;
  border-radius: 10px;
  object-fit: cover;
}

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