@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
.flex-card:hover .product-title {
  border-color: rgb(22, 47, 63);
}
.flex-card .product-price {
  border-top: 1px solid rgb(155, 31, 42);
  border-right: 1px solid rgb(155, 31, 42);
  border-left: 1px solid rgb(155, 31, 42);
  background-color: rgb(155, 31, 42);
  border: 1px solid rgb(155, 31, 42);
  font-weight: bold;
  max-width: 75px;
  font-size: 24px;
  padding: 15px;
  color: white;
  position: relative;
  bottom: 1px;
  border-radius: 5px;
}
.flex-card .product-title {
  text-align: center;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}
.flex-card .product-image {
  height: 450px;
  background-size: cover;
  background-position: center;
  display: none;
  flex-direction: column;
  justify-content: end;
}
.flex-card .product-image.active {
  display: flex;
}

.container {
  display: flex;
  flex-direction: column;
}
.container h1 {
  font-size: 36px;
}

.banner {
  background-color: #F8F8F8;
  padding: 50px 0;
}
.banner .text-block {
  width: 40%;
}
.banner .text-block .subtitle {
  font-size: 28px;
}
.banner .text-block .title {
  font-size: 64px;
  font-weight: 600;
  text-wrap: balance;
}
.banner .text-block .text {
  font-size: 16px;
}
.banner .img {
  height: 25rem;
  width: 25rem;
  background-size: cover;
  background-position: center;
}

.carousel h6 {
  margin: 0;
  cursor: pointer;
}
.carousel .product-image {
  cursor: pointer;
}
.carousel .carousel-control {
  display: none;
  margin-top: 15px;
}
.carousel .carousel-control a {
  margin: 5px;
  padding: 10px 15px;
  background-color: rgb(155, 31, 42);
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.carousel .carousel-control a:hover {
  background-color: white;
  color: rgb(155, 31, 42);
  border: 1px solid rgb(155, 31, 42);
}
.carousel .carousel-control.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.carousel .carousel-image {
  display: none;
}
.carousel .carousel-image.active {
  display: flex;
}

@media only screen and (max-width: 768px) {
  body .container .banner .img {
    width: unset;
  }
  body .container .flex-grid {
    padding: 0 5px;
  }
  body .container .flex-grid .flex-card {
    width: unset;
    margin: 5px;
    padding: 5px;
  }
}