/* Reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

/* Page layout */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #231f20;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 15px;

  background-size: cover;
  background-repeat: no-repeat;
}

/* Wrapper */
.maintenance-page {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

/* Title */
.login-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Card container */
.maintenance-container {
  display: flex;
  justify-content: center;
}

/* Card */
.maintenance-card {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
}

/* Message */
.message-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Notice */
.notice {
  font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
  color: #000;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;

  line-height: 1.5;
}

/* Countdown */
.countdown {
  width: 100%;
  margin-top: 10px;
}

/* Timer container */
.timer {
  background-color: #231f20;
  color: #fff;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;

  padding: 15px;
  border-radius: 8px;

  font-family: 'Consolas', monospace;
  font-size: 1.2rem;
}

/* Each unit */
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

/* Labels */
.smalltext {
  font-size: 0.7rem;
  margin-top: 3px;
  opacity: 0.8;
}

/* Footer / misc */
.copyright {
  font-size: 0.75rem;
}

/* -------- Responsive -------- */

/* Tablets */
@media (max-width: 768px) {
  .maintenance-card {
    padding: 18px;
  }

  .message-title {
    font-size: 1.3rem;
  }

  .timer {
    font-size: 1.1rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  body {
    font-size: 14px;
    padding: 10px;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .message-title {
    font-size: 1.2rem;
  }

  .timer {
    font-size: 1rem;
    gap: 8px;
    padding: 12px;
  }

  .time-block {
    min-width: 45px;
  }
}