* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
}

h2 {
  position: absolute;
  top: 10%;
  align-items: center;
  font-size: 4rem;
  text-shadow: 0px 5px 20px rgba(0, 0, 0, 0.6);
  color: #444;
}

.slider {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider .swiper {
  width: 250px;
  height: 340px;
}

.slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  font-size: 2rem;
  color: #fff;
}

.slider .swiper-slide img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  bottom: 0;
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 600;
}

.product-info p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* .slider .swiper-slide:nth-child(1n) {
  background: rgb(17, 206, 200);
}
.slider .swiper-slide:nth-child(2n) {
  background: rgb(17, 64, 206);
}
.slider .swiper-slide:nth-child(3n) {
  background: rgb(206, 74, 17);
}
.slider .swiper-slide:nth-child(4n) {
  background: rgb(153, 180, 162);
}
.slider .swiper-slide:nth-child(5n) {
  background: rgb(206, 17, 17);
}
.slider .swiper-slide:nth-child(6n) {
  background: rgb(17, 159, 206);
}
.slider .swiper-slide:nth-child(7n) {
  background: rgb(108, 17, 206);
}
.slider .swiper-slide:nth-child(8n) {
  background: rgb(17, 206, 67);
}
.slider .swiper-slide:nth-child(9n) {
  background: rgb(206, 17, 83);
}
.slider .swiper-slide:nth-child(10n) {
  background: rgb(206, 184, 17);
} */
