body{
  background-color: #E8E8E8;
            line-height: 1.6;
            color: #333;
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
            background: #f8f9fa;
        }
        h1 {
            text-align: center;
            font-size: 3.5rem;
            color: #1a3c6d;
            margin-bottom: 40px;
        }
        h2 {
            font-size: 2.5rem;
            color: #2c5282;
            text-align: center;
            margin: 60px 0 20px;
            border-bottom: 3px solid #4299e1;
            padding-bottom: 10px;
        }
        figure {
            text-align: center;
            margin: 30px 0;
        }
        img {
            max-width: 80%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
            border: 1px solid #ddd;
        }
        p {
            font-size: 1.3rem;
            margin: 20px 0;
            text-align: justify;
        }
        strong {
            color: #2b6cb0;
        }

p-1 {
    color: red;
}

p-2 {
    color: blue;
}

        .intro {
            font-size: 1.5rem;
            text-align: center;
            margin-bottom: 40px;
            color: #4a5568;
        }

        @media (max-width: 768px) {
            h1 { font-size: 2.8rem; }
            h2 { font-size: 2rem; }
            p  { font-size: 1.1rem; }
            img { max-width: 95%; }
        }
//ocupe ayuda para lo anterior


h1{



}

a {

      border: 1px solid #2075D5;
      padding: 15px 25px;
      text-decoration: none;
      display: inline-block;
      color: #2075D5;
      font-family: Arial, sans-serif;
    }

    a:hover {
      background-color: #2075D5;
      color: #ffffff;
    }


.fila-botones {
    display: flex;
    justify-content: space-between;   /* distribuye los extremos */
    align-items: center;
    margin: 30px 0;
    gap: 20px;                        
    max-width: 900px;                
    margin-left: auto;
    margin-right: auto;
}

/* Botones iguales */
.fila-botones a,
.fila-botones .btn,
.fila-botones .btn2 {
    flex: 1;                         
    max-width: 220px;                 
    text-align: center;
    padding: 15px 2px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Hover para todos */
.fila-botones a:hover,
.fila-botones .btn:hover,
.fila-botones .btn2:hover {
    background-color: #2075D5;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(32, 117, 213, 0.3);
}



/* Botón flotante Volver Arriba - similar a ChatGPT pero para subir */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;            /* distancia del fondo */
  right: 30px;             /* distancia de la derecha */
  width: 50px;
  height: 50px;
  border-radius: 50%;      /* círculo perfecto como en ChatGPT */
  background-color: rgba(74, 144, 226, 0.4);  /* tu azul #4a90e2 pero semi-transparente */
  color: white;
  font-size: 28px;         /* flecha grande pero no exagerada */
  border: none;
  cursor: pointer;
  opacity: 0;              /* oculto al inicio */
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;            /* por encima de casi todo */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Aparece cuando bajas más de 300px (ajustable) */
#scrollToTopBtn.show {
  opacity: 0.85;           /* semi-transparente para no tapar contenido */
  visibility: visible;
}

/* Hover: más visible y un poco más grande */
#scrollToTopBtn:hover {
  opacity: 1;
  background-color: rgba(74, 144, 226, 0.7);
  transform: scale(1.1);
}




.footer {
  background: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 20px 60px;
    font-size: 30px;
    margin-top: 2rem;
  }
    