/* =========================
   RESET
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* =========================
   BODY GENERAL
========================= */
body{
  font-family:Arial, Helvetica, sans-serif;
  background:#0b0f14;
  color:white;
}

/* =========================
   PANEL CONTROL
========================= */
.container{
  width:90%;
  max-width:700px;
  margin:auto;
  margin-top:60px;
  text-align:center;
}

h1{
  font-size:42px;
  margin-bottom:40px;
  color:#f1f5f9;
}

/* =========================
   RELOJ (CONTROL)
========================= */
#time{
  font-size:140px;

  color:#ff7a00;

  font-family:'Digital-7 Mono', monospace;

  letter-spacing:8px;

  font-variant-numeric: tabular-nums;
}

/* =========================
   BOTONES
========================= */
.buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.buttons button{
  padding:18px 35px;
  border:none;
  border-radius:10px;
  cursor:pointer;

  font-size:20px;
  font-weight:bold;

  transition:0.2s;
}

.buttons button:hover{
  transform:scale(1.05);
}

#open{
  background:#00c853;
  color:white;
}

#pause{
  background:#ffca28;
  color:#111;
}

#reset{
  background:#ff1744;
  color:white;
}

//* =========================
   DISPLAY FULL SCREEN REAL
========================= */

.display-body{
  height:100vh;
  width:100vw;

  display:flex;
  justify-content:center;
  align-items:center;

  background:#000;
  overflow:hidden;
}

.display-container{
  width:100%;
  height:100%;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

/* TEXTO PEQUEÑO ARRIBA */
.display-label{
  font-size:2vw;
  letter-spacing:1vw;
  color:#444;
  margin-bottom:2vh;
}

/* 🔥 RELOJ OCUPANDO CASI TODA LA PANTALLA */
.display-time{
  font-size:28vw;   /* 👈 CLAVE: escala según pantalla */

  color:#ff7a00;

  font-family:'Digital-7 Mono', monospace;

  letter-spacing:1vw;

  font-variant-numeric: tabular-nums;

  line-height:1;
}
/* =========================
   RESPONSIVE
========================= */
@media(max-width:1200px){
  .display-time{
    font-size:160px;
  }
}

@media(max-width:800px){
  .display-time{
    font-size:110px;
  }

  #time{
    font-size:90px;
  }
}