@charset "utf-8";
/* 🎨 CSS general del documento */

/* 🔹 Título principal (grande, centrado, azul) */
#centro1 {
  font-family: 'Patua One', cursive;  /* tipo de letra decorativa */
  text-shadow: 2px 2px 4px #000;      /* sombra del texto */
  text-align: center;                 /* centrado horizontal */
  font-weight: bold;                  /* negrita */
  font-size: 55px;                    /* tamaño grande */
  color: #03F;                        /* color azul */
}


/* 🔹 Contenedor del texto principal */
#centro2 {
  width: 80%;                         /* ancho relativo al contenedor */
  margin: 0 auto;                     /* centrado horizontal */
  text-align: justify;                /* texto justificado */
}

/* 🟦 Caja azul con efecto moderno + animación */
#color_fondo {
  background: linear-gradient(180deg, #06F 0%, #0044cc 100%);
  border-radius: 10px;
  border: 4px groove #000;
  width: 80%;
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
  color: #fff;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.4),
    inset 0 0 12px rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0;                  /* para iniciar invisible */
  transform: translateY(40px); /* inicia más abajo */
  animation: aparecerCaja 1.2s ease-out forwards; /* activa la animación */
}

/* 🔹 Texto dentro de la caja */
#color_fondo p {
  margin: 10px 0;
  line-height: 1.5;
  transition: color 0.4s ease;
}

/* 🎬 Animación de aparición */
@keyframes aparecerCaja {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Tipografía de distintos bloques de texto */
.fuente1 {
  font-family: 'Signika', sans-serif; /* tipografía moderna y clara */
  font-size: 25px;
  text-shadow: 0px 0px 7px #000;      /* brillo oscuro alrededor */
  text-align: center;
  color: #FFF;
  margin: 10px auto;
  display: block;
  width: 100%;
}

.fuente2 {
  font-family: 'Signika', sans-serif;
  font-size: 25px;
  text-shadow: 0px 0px 2px #03F;
  text-align: justify;
  color: #003;
}

.fuente3 {
  font-family: 'Sirin Stencil', cursive;
  font-size: 20px;
  text-shadow: 0px 0px 1px #F90;
  text-align: justify;
}


/* 📱 Ajustes específicos para móviles (pantallas menores a 700px) */
@media screen and (max-width:700px) {

  /* 🔸 Título más pequeño */
  #centro1 {
    font-family: 'Patua One', cursive;
    text-shadow: 2px 2px 4px #000;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: #03F;
  }

  /* 🔸 Contenedor de texto centrado y ancho completo */
  #centro2 {
    width: 100%;
    margin: 0 auto;
    float: none;
    text-align: center;
  }

  /* 🔸 Caja azul adaptada al móvil */
  #color_fondo {
    width: 90%;                       /* aprovecha más el ancho */
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* sombra más suave */
  }

  /* 🔸 Texto dentro de la caja azul */
  #color_fondo p {
    font-size: 18px;                  /* texto más legible */
    line-height: 1.6;
    margin: 8px 0;
  }

  /* 🔸 Coloca cada dato (correo, móvil) en línea separada */
  #color_fondo strong {
    display: block;
    margin-top: 5px;
  }

  /* 🔸 Ajustes de tipografía en móvil */
  .fuente1 {
    font-size: 20px;
    text-align: justify;
    color: #FFF;
    margin: 10px;
  }

  .fuente2 {
    font-size: 20px;
    text-align: justify;
    color: #003;
  }

  .fuente3 {
    font-size: 20px;
    text-align: justify;
  }
}