* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;

  font-family: Arial, Helvetica, sans-serif;

  background:
    linear-gradient(rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.90)),
    url("../img/brazo industrial.gif");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #ffffff;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;

  overflow-x: hidden;
}

/* ========================= */
/* CARD */
/* ========================= */

.maintenance-card {
  width: 100%;

  max-width: 560px;

  text-align: center;

  padding: 42px 30px;

  border-radius: 24px;

  background: rgba(15, 23, 42, 0.78);

  border: 1px solid rgba(148, 163, 184, 0.20);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(14px);

  animation: aparecer 0.8s ease;
}

/* ========================= */
/* ICON */
/* ========================= */

.icon {
  font-size: 64px;

  margin-bottom: 18px;

  animation: girar 4s linear infinite;
}

/* ========================= */
/* TITLE */
/* ========================= */

h1 {
  font-size: 52px;

  line-height: 1.1;

  margin-bottom: 18px;

  color: #f8fafc;
}

/* ========================= */
/* TEXT */
/* ========================= */

p {
  max-width: 460px;

  margin: 0 auto 24px;

  font-size: 18px;

  line-height: 1.6;

  color: #cbd5e1;
}

.message {
  margin-bottom: 18px;

  font-size: 17px;

  color: #e2e8f0;
}

/* ========================= */
/* BAR */
/* ========================= */

.progress-bar {
  width: 220px;

  height: 8px;

  margin: 0 auto 24px;

  border-radius: 999px;

  overflow: hidden;

  background: rgba(148, 163, 184, 0.25);
}

.progress-bar span {
  display: block;

  width: 40%;
  height: 100%;

  border-radius: 999px;

  background: linear-gradient(90deg, #38bdf8, #2563eb);

  animation: cargar 1.7s ease-in-out infinite;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  margin-top: 12px;

  padding-top: 18px;

  border-top: 1px solid rgba(148, 163, 184, 0.18);

  font-size: 14px;

  color: #94a3b8;
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cargar {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .maintenance-card {
    max-width: 95%;

    padding: 34px 22px;
  }

  h1 {
    font-size: 38px;
  }

  p {
    font-size: 16px;
  }

  .message {
    font-size: 15px;
  }

  .icon {
    font-size: 56px;
  }

  .progress-bar {
    width: 180px;
  }
}

@media (max-width: 480px) {

  body {
    padding: 14px;
  }

  .maintenance-card {
    padding: 28px 18px;

    border-radius: 18px;
  }

  h1 {
    font-size: 30px;
  }

  p {
    font-size: 15px;

    line-height: 1.5;
  }

  .message {
    font-size: 14px;
  }

  .icon {
    font-size: 48px;
  }

  .progress-bar {
    width: 160px;
    height: 7px;
  }

  footer {
    font-size: 13px;
  }
}