/*
body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

h1 {
  margin-bottom: 16px;
}
*/

.carousel {
  padding-left: 72px;
  padding-bottom: 72px;
  position: relative;
  width: 90%;
  max-width: 1200px;
  align-self: center;
}

@media (max-width: 767px) {
  .carousel {
    max-width: 600px;
  }  
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  min-width: 300px;
  margin: 0 16px;
}

.carousel-slide img {
  display: block;
  width: auto;
  height: 300px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.8);
  font-size: 3rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}

.carousel-btn.next{
  transform: translateX(50px);
}

.carousel-btn.prev{
  transform: translateX(10px);
}

.prev { left: -20px; }
.next { right: -20px; }
