.carousel-item {
  width: 100%;
  height: 450px;
  border-bottom: 1px solid #455565;
}
.carousel-image {
  width: 100%;
  height: 450px;
  position: relative;
  background-image: url('../images/home_v3.webp');
  background-repeat: no-repeat;
  background-position: right bottom;
}
.tag-main {
  width: fit-content;
  max-width: 90%;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  margin: auto;
  text-align: center;
  z-index: 2;
}
.tag-bg {
  background: #6699cc80;
  backdrop-filter: blur(5px);
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 0.75);
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  text-align: center;
}
.tag-text {
  color: #ffffff;
  font-size: clamp(1.1rem, 3.1vw, 2.1rem);
  font-weight: bold;
  margin: auto;
  line-height: 1.2;
  text-wrap:nowrap;
}
.card .card-body {
  display: flex;
  flex-direction: column;
}
.card .card-header {
  background: var(--main-color);
  color: white;
  font-weight: 400;
}
.card .card-button {
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.btn-primary {
  background-color: var(--main-color);
  color: white;
}

@media (max-width: 1440px) {
}
@media (max-width: 1024px) {
  .tag-text {
    font-size: clamp(1.65rem, 1.65vw, 1.8rem);
  }
}
@media (max-width: 768px) {
  .tag-main {
    bottom: 15px;
  }
  .tag-bg {
    max-width: 400px;
    padding: 10px 20px;
  }
  .tag-text {
    font-size: clamp(1rem, 3vw, 2rem);
  }
}
@media (max-width: 425px) {
  .tag-main {
    width: 90%;
    bottom: 10px;
  }
  .tag-bg {
    padding: 8px 15px;
  }
  .tag-text {
    font-size: clamp(0.9rem, 3vw, 1.5rem);
  }
}
@media (max-width: 375px) {
  .tag-main {
    width: 280px;
    bottom: 10px;
  }
  .tag-bg {
    max-width: 270px;
    padding: 8px 12px;
  }
  .tag-text {
    font-size: clamp(0.85rem, 3vw, 1.3rem);
  }
}
