html,
body {
  width: 100%;
  height: 100%;
}
a {
  text-decoration: none !important;
}
.card-container {
  /* width: 100%; */
  /* height: 100%; */
  /* overflow-x: auto; */
  /* overflow-y: auto; */
  /* padding: 0; */
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* justify-content: center; */
  /* align-items: stretch; */
  /* min-width: 32rem; */
  /* margin-bottom: 3rem; */
  /* padding-top: 4rem; */
}
.card-wrapper {
  flex: 1 0 auto;
  overflow-y: auto;
  background: transparent;
  padding: 0 4px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: block;
  max-width: 300px;
  /* max-height: 550px; */
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: stretch; */
}
.card-wrapper-flex {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.card-wrapper::-webkit-scrollbar {
  width: 0;
}
.card-wrapper::-webkit-scrollbar-track {
  background-color: #e2e8f0;
  margin: 30px 0;
}
.card-wrapper::-webkit-scrollbar-thumb {
  background: #a0aec0;
  border-radius: 10px;
}
/* .card-wrapper::-webkit-scrollbar-thumb:hover { background: #404040; } */
/* .card-wrapper::-webkit-scrollbar-thumb:active { background: #808080; } */
.card-wrapper::-webkit-scrollbar-button {
  display: none;
}

.card {
  border-radius: 24px;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow-y: auto;
  flex: 1;
  font-size: 1.6rem;
}

.card-head {
  font-weight: 500;
  /* font-size: 1.5rem; */
  /* margin-bottom: 0.5rem; */
  display: flex;
  justify-content: center;
  background-color: #7f9cf5;
  color: white;
  padding: 0.5rem;
}
.card-head:first-child {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.card-body {
  padding: 0.5rem 1rem 0.7rem 1rem;
  display: flex;
  flex-direction: column;
  color: #4a5568;
}
.card-body > a {
  padding: 2px 0;
  /* margin: 4px; */
}
.card-body > a > span {
  padding: 4px 8px;
  /* margin: 4px; */
}

.tag {
  position: relative;
  display: flex;
  background-color: #edf2f7;
  border-radius: 16px;
  padding: 0.25rem 0.75rem;
  margin: 0.2rem 0.2rem;
  font-size: 1 rem;
  font-weight: 600;
  color: #4a5568;
  width: 100%;
}
.tag:hover {
  background-color: #cbd5e0;
}
.tag > span:first-child {
  display: inline-block;
  flex-shrink: 0;
  color: #4299e1;
  width: 65px;
}
.tag > span:nth-child(2) {
  margin-right: auto;
}
.tag > span {
  /* position: relative; */
}
.tag .best {
  position: absolute;
  top: 8px;
  /* bottom: 4px; */
  font-weight: 900;
  /* margin: 0 auto; */
  left: -14px;
  margin-left: 0.5rem;
  font-size: 11px;
  color: rgb(237, 102, 102);
  transform-origin: top left;
  --transform-rotate: -30deg;
}
.swiper-slide {
  /* padding: 0 2rem !important; */
  /* padding: 0 5rem !important; */
  /* margin: 4rem;; */
  /* padding: 10px; */
  /* max-height: 600px; */
}
.swiper-pagination-bullet-active {
  background-color: #f6ad55;
}
.swiper-button-prev,
.swiper-button-next {
  color: #f6ad55;
}
.swiper-button-prev:focus,
.swiper-button-next:focus {
  outline: none;
}
.swiper-container {
  /* box-shadow: inset 0 4px 8px 0 rgba(0, 0, 0, 0.06); */
}
