

* { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    overflow: hidden; 
    background-color: #ffffff;
}

section, .footer-snap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 70px;
    visibility: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.bg-light, .footer-snap {
    background-color: #f8f9fa;
}

h1, h2, h3, h5 {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
}



/* =========================================
   AJUSTES RESPONSIVOS PARA CELULARES
   ========================================= */
@media (max-width: 768px) {
    /* Usar 100dvh es vital en móviles para evitar que la barra del navegador tape cosas */
    section, .footer-snap {
        height: 100dvh;
        padding-top: 80px;
    }

    /* Reducimos agresivamente los márgenes y paddings de Bootstrap */
    .m-4, .p-4, .p-5, .py-5, .pt-5 {
        margin: 0.5rem !important;
        padding: 0.5rem !important;
    }

    /* Achicamos la tipografía */
    h2, h3 { font-size: 1.4rem !important; margin-bottom: 10px !important; }
    p { font-size: 0.8rem; margin-bottom: 5px; }
    
    /* Las imágenes no deben estorbar */
    img.img-fluid { max-height: 160px; object-fit: contain; }
    
    /* Miniaturizamos las tarjetas para que entren las 3 apiladas */
    .card { margin-bottom: 0.5rem; }
    .card-body { padding: 0.5rem; }
    .card-title { font-size: 1rem; margin-bottom: 0.2rem; }
    .card-img-top { max-height: 50px; padding: 0.5rem !important; object-fit: contain; }
    
    /* Ajustes específicos para el footer */
    footer h5 { font-size: 1.1rem; margin-bottom: 5px; }
    footer .col-md-4 { margin-bottom: 15px !important; }
    footer i.fa-2x { font-size: 1.5em; }
    footer hr { margin-top: 10px !important; margin-bottom: 10px !important; }
}