* {
    -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;
}

/* Estilo para el section */
#portada {
    height: 85vh;
    clip-path: polygon( 0% 0%, 100% 0%, 100% 100%, 0% 80%);
    /*background-image: linear-gradient(to top, #000040, #000b6c, #000e9b, #000ccd, #0000ff);*/
    display: flex;
    justify-content: space-between;
    background-color: #000040;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23000E9B' stroke-width='4.8'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%230000FF'%3E%3Ccircle cx='769' cy='229' r='10'/%3E%3Ccircle cx='539' cy='269' r='10'/%3E%3Ccircle cx='603' cy='493' r='10'/%3E%3Ccircle cx='731' cy='737' r='10'/%3E%3Ccircle cx='520' cy='660' r='10'/%3E%3Ccircle cx='309' cy='538' r='10'/%3E%3Ccircle cx='295' cy='764' r='10'/%3E%3Ccircle cx='40' cy='599' r='10'/%3E%3Ccircle cx='102' cy='382' r='10'/%3E%3Ccircle cx='127' cy='80' r='10'/%3E%3Ccircle cx='370' cy='105' r='10'/%3E%3Ccircle cx='578' cy='42' r='10'/%3E%3Ccircle cx='237' cy='261' r='10'/%3E%3Ccircle cx='390' cy='382' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

/* Estilo para el lado izquierdo (título y texto) */
.left-side {
    flex: 1;
    padding: 100px;   
}

/* Estilo para el lado derecho (imagen) */
.right-side {
    flex: 1;
    padding-top: 100px;
    text-align: center;
}

    /* Estilo para la imagen */
    .right-side img {
        max-width: 100%;
        height: auto;
    }

#Titulo {
    font-size: 3.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #FFFFFF;
}
.Text {
    font-size: 2rem;
    color: #FFFFFF;
    margin:auto;
}
.TxtLink{
    font-size: 15px;
}
/* Estilo para el contenido debajo del menú */
.content {
    margin-top: 150px; /* 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 */    
    /*height: 100vh;
    /*padding-top:100px;    */
}

/* Estilo para el tamaño de seccion*/
@media (max-width: 768px) {
    #portada {
        flex-direction: column;
        text-align: center;
    }
    .left-side, .right-side {
        padding: 5px;       
        flex: auto;
    }
    .right-side img {
        max-width: 80%;
        height: auto;
    }
    .content {
        margin-top: 150px;
        
    }   
}

header {
    width: 100%;
    padding: 1em;
    font-size: 140%;
    position: absolute;
    top: 85vh;
    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;
        }
    }