.np-countdown {
  --main-color: #425aef;
  --main-color-bg: #4259ef0d;
  --main-font-second-color: #3c3c43cc;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.np-countdown-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin-right: 0.8rem;
}
.np-countdown-main--text {
  font-size: 14px;
}
.np-countdown-main--name {
  font-weight: bold;
  font-size: 18px;
  margin-top: 2px;
}
.np-countdown-main--time {
  font-size: 30px;
  font-weight: bold;
  margin: 4px 0;
  color: var(--main-color);
}
.np-countdown-main--date {
  font-size: 12px;
  opacity: 0.6;
}
.np-countdown-main::after {
  content: "";
  position: absolute;
  right: -0.8rem;
  width: 2px;
  height: 80%;
  background-color: var(--main-card-border);
}
.np-countdown-ratio {
  flex: 1;
  width: 100%;
  margin-left: 0.8rem;
}
.np-countdown-ratio--item {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 24px;
  margin: 6px 0;
}
.np-countdown-ratio--name {
  font-size: 14px;
  margin-right: 0.8rem;
  white-space: nowrap;
}
.np-countdown-ratio--progress {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background-color: var(--main-color-bg);
  overflow: hidden;
}
.np-countdown-ratio--bar {
  height: 100%;
  border-radius: 8px;
  background-color: var(--main-color);
}
.np-countdown-ratio--percentage,
.np-countdown-ratio--remaining {
  position: absolute;
  font-size: 12px;
  margin: 0 6px;
  transition: opacity 0.3s, transform 0.3s;
}
.np-countdown-ratio--percentage.ratio-many,
.np-countdown-ratio--remaining.ratio-many {
  color: #fff;
}
.np-countdown-ratio--percentage.ratio-many .np-countdown-ratio--tip,
.np-countdown-ratio--remaining.ratio-many .np-countdown-ratio--tip {
  opacity: 0.8;
}
.np-countdown-ratio--remaining {
  opacity: 0;
  transform: translateX(10px);
}
.np-countdown-ratio--tip {
  opacity: 0.6;
}
.np-countdown:hover .np-countdown-ratio--remaining {
  transform: translateX(0) !important;
  opacity: 1 !important;
}
.np-countdown:hover .np-countdown-ratio--percentage {
  transform: translateX(-10px) !important;
  opacity: 0 !important;
}
