/* Estilos del footer */
footer {
    padding: 1rem;
    font-family: 'Lato', sans-serif;
  }
  
  .redes.horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Modal general */
  .contenedorPopup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Botón */
  .botonModal {
    background-color: #fff;
    color: #239eda;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 300ms ease;
    text-align: center;
  }
  
  .botonModal label {
    cursor: pointer;
  }
  
  .botonModal label:hover {
    background-color: #239eda;
    color: #fff;
    border-radius: 5px;
  }
  
  /* Modal oculto */
  #btnModal {
    display: none;
  }
  
  /* Contenedor del modal */
  .contenedorModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  /* Mostrar el modal si está marcado */
  #btnModal:checked ~ .contenedorModal {
    display: flex;
  }
  
  /* Contenido interno */
  .contentModal {
    background-color: #239eda;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
  }
  
  .tituloPopup {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .subtituloPopup {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Botón de cerrar */
  .btnCerrar label {
    background-color: white;
    color: #239eda;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 300ms ease;
  }
  
  .btnCerrar label:hover {
    background-color: #239eda;
    color: white;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .redes.horizontal {
      flex-direction: column;
      text-align: center;
    }
  
    .botonModal {
      width: 100%;
      font-size: 0.5rem;
    }
  
    .tituloPopup {
      font-size: 0.7rem;
    }
  
    .subtituloPopup {
      font-size: 0.6rem;
    }
  
    .btnCerrar label {
      font-size: 0.5rem;
    }
  }
  