@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  border-radius: 10px; /* Optional: Rounded corners */
  box-sizing: border-box;
}

.countdown div {
  display: flex;
  flex-direction: column; /* Stack number and label vertically */
  align-items: center;
  margin: 0 30px; /* Gap between number sections */
}

.number {
  font-size: 80px; /* Main number font size */
  line-height: 1;
  position: relative;
}

.label {
  font-size: 16px; /* Label font size */
  margin-top: 10px; /* Space between number and label */
}

/* Responsive design */
@media (max-width: 1024px) {
  .countdown {
    font-size: 70px;
  }

  .countdown div .label {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .countdown {
    font-size: 60px;
  }

  .countdown div .label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .countdown {
    flex-wrap: wrap; /* Allow elements to wrap to the next line if needed */
    gap: 20px; /* Add some space between the wrapped elements */
  }

  .countdown div {
    margin: 0; /* Remove extra horizontal margin */
    flex: 1 1 45%; /* Ensure items are flexible and take half width if wrapped */
    text-align: center; /* Maintain centering for wrapped items */
  }

  .number {
    font-size: 40px; /* Reduce the number font size for smaller screens */
  }

  .label {
    font-size: 10px; /* Ensure labels are readable */
  }
}
}