@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.wtps-timer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--timercolor);
}

.wtps-timer .wtps-timer-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px;
}

.wtps-timer .wtps-timer-container .wtps-timer-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Default */
.wtps-timer-default .wtps-timer-container .wtps-timer-item {
  position: relative;
}

.wtps-timer-default
  .wtps-timer-container
  .wtps-timer-item:not(:last-child)::after {
  position: absolute;
  right: -13px;
  top: 19px;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: currentColor;
  border-radius: 50%;
}

.wtps-timer-default .wtps-timer-container .wtps-timer-number {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.wtps-timer-default .wtps-timer-container .wtps-timer-label {
  font-size: 16px;
  text-transform: uppercase;
}

/* Minimal */
.wtps-timer-minimal
  .wtps-timer-container
  .wtps-timer-item:not(:last-child)::after {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  content: ":";
  display: block;
  color: currentColor;
}

.wtps-timer-minimal .wtps-timer-container .wtps-timer-number {
  font-size: 32px;
  font-weight: 500;
}

/* Modern */
.wtps-timer-modern .wtps-timer-container .wtps-timer-number {
  font-size: 36px;
  font-weight: 500;
}

.wtps-timer-modern .wtps-timer-container .wtps-timer-label {
  font-size: 14px;
  font-weight: 200;
}

.wtps-timer-modern
  .wtps-timer-container
  .wtps-timer-item:not(:last-child)::after {
  position: absolute;
  right: -8px;
  top: 50%;
  height: 100%;
  transform: translateY(-50%);
  content: "";
  display: block;
  color: currentColor;
  width: 1px;
  background-color: currentColor;
  opacity: 0.4;
}

/* Game */
.wtps-timer-game .wtps-timer-container .wtps-timer-item {
  max-width: 100px;
  gap: 16px;
}

.wtps-timer-game .wtps-timer-container .wtps-timer-numbers {
  display: flex;
  gap: 4px;
}

.wtps-timer-game .wtps-timer-container .wtps-timer-number-wrapper {
  position: relative;
  font-size: 24px;
  font-weight: 200;
  width: 30px;
  height: 45px;
  background-color: currentColor;
  border-radius: 4px;
}

.wtps-timer-game .wtps-timer-container .wtps-timer-number {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--timercoloradditional);
}

.wtps-timer-game .wtps-timer-container .wtps-timer-number::after {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  height: 50%;
  width: 100%;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

.wtps-timer-game .wtps-timer-container .wtps-timer-label {
  font-size: 16px;
  font-weight: "400";
  text-align: center;
  opacity: 0.6;
}

/* Retro */
.wtps-timer-retro .wtps-timer-container {
  gap: 4px;
}

.wtps-timer-retro .wtps-timer-container .wtps-timer-item {
  max-width: 100px;
  border-radius: 4px;
  overflow: hidden;
  gap: 0;

  background-color: currentColor; /* css field */
}

.wtps-timer-retro .wtps-timer-container .wtps-timer-number {
  width: 100%;
  display: flex;
  padding: 16px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--timercoloradditional);
}

.wtps-timer-retro .wtps-timer-container .wtps-timer-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  color: var(--timercoloradditional);
}

/* Futurístico */
.wtps-timer-futuristic {
  --progress: 50;
  --size: 250px;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 6px;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * pi * 2);
  --dash: calc((var(--progress) * var(--circumference)) / 100);
}
.wtps-timer-futuristic .wtps-timer-container {
  gap: 32px;
}

.wtps-timer-futuristic .wtps-timer-container .wtps-timer-item {
  width: 100%;
}

.wtps-timer-futuristic .wtps-timer-container .wtps-timer-number {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  padding: 16px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  border-radius: 50%;

  color: inherit; /* css field */
}

.wtps-timer-futuristic .wtps-timer-container .wtps-timer-number-track {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wtps-timer-futuristic circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}
.wtps-timer-futuristic circle.bg {
  stroke: currentColor;
  stroke-width: 1px;
  opacity: 0.4;
}

.wtps-timer-futuristic circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  transition: stroke-dasharray 0.3s linear 0s;
  stroke: currentColor;
}

.wtps-timer-futuristic .wtps-timer-container .wtps-timer-label {
  text-align: center;
  width: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;

  color: inherit; /* css field */
}

/* !*pendiente Mobile */
@media (max-width: 1024px) {
  .wtps-timer .wtps-timer-container .wtps-timer-number {
    font-size: 20px;
  }

  .wtps-timer-default .wtps-timer-container .wtps-timer-label {
    font-size: 14px;
  }

  .wtps-timer-default
  .wtps-timer-container
  .wtps-timer-item:not(:last-child)::after {
    top: 10px;
  }

  .wtps-timer-minimal
  .wtps-timer-container
  .wtps-timer-item:not(:last-child)::after {
    top: 10px;
  }

  .wtps-timer-futuristic .wtps-timer-container {
    gap: 8px;
  }
  .wtps-timer-futuristic .wtps-timer-container .wtps-timer-number {
    width: 70px;
    height: 70px;
  }
}
