* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: auto;
}

html {
    font-size: 10pt;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'Source Sans Pro', 'Open Sans', Roboto, 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Myriad Pro', 'Segoe UI', Myriad, Helvetica, 'Lucida Grande', 'DejaVu Sans Condensed', 'Liberation Sans', 'Nimbus Sans L', Tahoma, Geneva, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #DAD4D1;
}

header {
    width: 100%;
    padding: 1em;
    font-size: 140%;
    /*position: absolute;*/
    left: 0;
    transition: opacity .2s ease-in-out;
    text-align: center;
    background: #D5D2D0;
    /*border-top: 2px solid #000; /* Puedes ajustar el grosor y el color de la línea */
    border-bottom: 2px solid #000;
    margin-top: 0px; /* Ajusta la distancia entre el encabezado y la línea */
}

    header h1 {
        font-weight: 600;
        display: inline;
        margin: 0;
        padding: 0;
        font-size: inherit;
    }

nav a {
    display: inline-block;
    outline: none;
    text-decoration: none;
    opacity: .7;
    padding: 0 .5em;
    color: black;
    transition: opacity .2s ease-in-out;
}

    nav a:hover,
    nav a:focus {
        opacity: 1;
    }

/* Estilos para pantallas pequeñas (por ejemplo, dispositivos móviles) */
    @media (min-width: 500px) {
        header {
            text-align: left;
        }
        nav {
            float: right;
        }
        
    }
    
/* And here's the magic! EQCSS.js required */
    @element html, body and (min-scroll-y: 100vh) {
        header {
            position: fixed;
            top: 0;
            background: white;
            box-shadow: rgba(0,0,0,.05) 0 3px 15px;
        }
    }

    .ContenHUno{       
        margin-top: 50px; /* Ajusta el valor según la altura de tu menú */    
        display: flex; /* Utilizamos display: flex en el contenedor padre */
        justify-content: center; /* Centramos horizontalmente */
        align-items: center; /* Centramos verticalmente */
    }

    .DivHistoria{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 80%;
    }
    .DivTxtHistoria{
        font-size: 1.5rem;
    }
    
    .ContenHDos{
        margin-top: 50px; /* Ajusta el valor según la altura de tu menú */    
        display: flex; /* Utilizamos display: flex en el contenedor padre */
        justify-content: center; /* Centramos horizontalmente */
        align-items: center; /* Centramos verticalmente */
    }
    
    .equipo {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 80%;
    }
    .equipo > *{
        margin: 20px;
    }
    .integrante {
        display: flex;
        /*flex-direction: column;*/
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 50%;
    }
    .DivImgInt {
        width: 20%;
    }

    img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }
    .tex {        
        font-size: 16px;
        width: 80%;
        margin-left: 10px;
        overflow: hidden; 
        white-space: pre-line;
        white-space: nowrap;
        /*text-justify: center;*/
        /*display: inline-block;*/
    }
    p{
        width: 100%;
    }



    @media (max-width: 600px) {
        .equipo {
            flex-direction: column;
        }
        .integrante {
            display: flex;
        }
        .tex{
            width: 100%;
            height: auto;
        }
        img{
            display: none;            
        }
    }      