.timeContainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  flex-grow: 1;
}


p {
  font-size: 0.95rem;
  font-family: vazir, sans-serif;
  color: var(--text-color);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  padding: 0 1rem;
}

.time {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem auto 2rem;
  position: relative;
}

.time span {
  font-size: 2rem;
  font-family: snapp, sans-serif;
  color: var(--text-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3rem;
}

.time h3 {
  font-family: vazir, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-color);
}

.time .number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text-pale);
  border-radius: 1rem;
  font-size: 1.5rem;
  font-family: snapp, sans-serif;
  color: var(--text-color);
}

.seconds,
.minutes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  transition: all 0.3s ease-in;
}

.up {
  border-bottom: 20px solid var(--text-pale);
  border-radius: 5px;
}

.up:hover {
  border-bottom-color: var(--text-color);
  transform: translateY(-3px);
}

.down {
  border-top: 20px solid var(--text-pale);
  border-radius: 5px;
}

.down:hover {
  border-top-color: var(--text-color);
  transform: translateY(3px);
}

@media screen and (max-width: 500px) {
  p {
    font-size: 0.85rem;
  }

}


@media screen and (max-width: 425px) {
   .time .number {
    width: 70px;
    height: 70px;
  }

  .time .number{
    font-size: 1.3rem;
  }

  .time h3 {
    font-size: 0.8rem;
  }

}
