* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Archivo', sans-serif;
  color: white;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards; /* 🔥 Fade general */
}

/* Fade suave */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Fondo */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("img/georges-perec-1978-2-1.jpg") center center / cover no-repeat;
  z-index: -2;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

/* ============================= */
/* DESKTOP */
/* ============================= */

.content {
  min-height: 100vh;
  padding: clamp(60px, 8vw, 140px);
  position: relative; /* 🔥 importante para el reloj */
}

/* Reloj fijo arriba derecha */
.counter {
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  right: clamp(40px, 6vw, 100px);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 3px;
}

/* Columnas ocupan el alto interno real */
.columns {
  display: flex;
  height: calc(100vh - clamp(120px, 16vw, 280px));
  gap: clamp(60px, 8vw, 140px);
}

/* Ambas columnas misma altura */
.left,
.right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔥 mantiene botones alineados */
}

/* Logo */
.logo {
  width: clamp(240px, 25vw, 380px);
}

/* Texto */
.text {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  max-width: 720px;
}

.text p {
  margin-bottom: 18px;
}

/* Botones */
.instagram,
.registro {
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 3px;
  text-decoration: none;
  color: white;
  display: inline-block;
  width: fit-content;
}

.instagram {
  align-self: flex-start;
}

.registro {
  border: 1px solid white;
  padding: 10px 18px;
  transition: 0.3s ease;
  align-self: flex-start;
}

.registro:hover {
  background: white;
  color: black;
}
/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 900px) {

  .content {
    padding: 80px 30px;
    position: relative;
  }

  .columns {
    flex-direction: column;
    min-height: 100vh;
  }

  .left, .right {
    width: 100%;
  }

  /* LOGO */
  .logo {
    width: 280px;
    margin-top: 40px;
    margin-bottom: 50px;
  }

  .right {
    margin-bottom: 60px;
  }

  .registro {
    margin-top: 30px;
  }

  /* ===================== */
  /* IG perfectamente alineado */
  /* ===================== */

  .instagram {
    position: absolute;
    top: 20px;
    left: 30px; /* mismo padding lateral */
    font-size: 14px;
    letter-spacing: 2px;
    margin: 0;
  }

  /* ocultamos palabra completa */
  .instagram {
    font-size: 0;
  }

  .instagram::after {
    content: "IG";
    font-size: 14px;
  }

  /* ===================== */
  /* CONTADOR alineado al mismo marco */
  /* ===================== */

  .counter {
    top: 20px;
    right: 30px; /* mismo padding lateral */
  }


}