@font-face {
    font-family: "Cinzel";
    src:url('../fonts/Cinzel-Medium.woff2') format('woff2'),
        url('../fonts/Cinzel-Medium.woff') format('woff'),
        url('../fonts/Cinzel-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "AveriaLibre";
    src:url('../fonts/AveriaLibre-Regular.woff2') format('woff2'),
        url('../fonts/AveriaLibre-Regular.woff') format('woff'),
        url('../fonts/AveriaLibre-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Rubik";
    src:url('../fonts/Rubik-Medium.woff2') format('woff2'),
        url('../fonts/Rubik-Medium.woff') format('woff'),
        url('../fonts/Rubik-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@media all {
    *{
        margin: 0px;
        padding: 0px;
    }
    html {
        color: white;
        background: #000;
        font-family: 'AveriaLibre', cursive;
        font-size: 16px;
    }
    body {
        min-width: 320px;
    }
    h1 {
        font-size: 30px;
        font-family: 'Cinzel', serif;
        font-weight: normal;
        text-align: center;
        margin: auto;
    }
    h2 {
        font-size: 50px;
        text-align: center;
        margin: auto;
    }
    h3 {
        font-size: 24px;
        font-family: 'AveriaLibre', cursive;
        margin-top: 30px;
        margin-bottom: 20px;
        color: #bdfdfc;
    }
    a {
        text-decoration: none;
        color: white;
    }
    header {
        width: 90vw;
        max-width: 1280px;
        min-width: 300px;
        margin: 30px auto auto auto;
        padding: 0px;
    }
    header ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        margin: auto;
    }
    header li {
        font-family: 'Cinzel', serif;
        font-weight: bold;
        list-style: none;
        margin: auto;
        padding: 10px 0px 10px 20px;
        display: flex;
        justify-content: center;
    }
    header p {
        min-width: 270px;
        font-weight: 900;
        margin: auto 15px;
    }
    .h-cabecera {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: auto;
    }
    .h-acercade {
        background-color: #112b5c;
        width: 100%;
        max-width: 1280px;
        height: 50px;
        margin: 20px auto;
        display: flex;
    }
    .logo {
        width: 200px;
        height: 125px;
    }
    #div-body {
        width: 90%;
        min-width: 288px;
        max-width: 1280px;
        margin: 0px auto;
    }
   .div-h2 {
        display: flex;
        height: 200px;
        width: 100%;
        min-width: 288px;
        background: #337BB8;
        border-bottom: 10px solid #fff;
    }
    #div-body nav {
        height: 50px;
        min-width: 288px;
        border-bottom: 5px solid #fff;
        display: flex;
        justify-content: space-between;
    }
    #div-body li {
        float: left;
        list-style: none;
        margin: 10px;
        font-size: 20px;
        line-height: 30px;
    }
    .clear {
        clear: both;
    }
    .contenedor {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        height: 100%;
        min-width: 288px;
        min-height: 500px;
        margin: auto 0px;
        background-color: #183f5e;
    }
    .texto {
        width: 80%;
        min-width: 240px;
        margin: 15px auto;
        padding-bottom: 10px;
        text-align: justify;
        font-family: 'Rubik', sans-serif;     
        color: #9bd3fc;
    }
    footer {
        width: 90vw;
        max-width: 1280px;
        margin: 20px auto;
        align-items: center;
    }
   .registro-akashico {
        width: 600px;
        height: 206px;
        padding: 20px 0px;
        display: flex;
        margin: auto;
    }
    #ecos {
        display: flex;
        margin: auto;
    }
    footer .SuKaRa {
        width: 204px;
        height: 140px;
        display: flex;
        margin: 15px auto;
    }
    footer .pie {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    footer .agradecimientos {
        float: right;
    }
    footer p {
        margin: 20px 0px;
    }
}
/* Estilos SMALL */
@media (max-width: 900px) {
    html {
        font-size: calc( 9.8px + 0.69vw );
        /* pasa de 16px (con 100vw=900px) a 12px (con 100vw=320px) */
        /* font-size = calc( y px + x vw )                         */
        /* font-size A = 16 = ( y + 9 x )       porque 1vw = 9px   */
        /* font-size B = 12 = ( y + 3.2 x )     porque 1vw = 3.2px */
        /* x = (A-B)/(5.8)  ;   y = A - 9x                         */
    }
    h1 {
        /* pasa de 30px (con vw=900px) a 18px (con vw=320px) */
        font-size: calc( 11.38px + 2.07vw );
    }
    h2 {
        /* pasa de 50px (con vw=900px) a 22px (con vw=320px) */
        font-size: calc( 6.53px + 4.83vw );
    }
    h3 {
        /* pasa de 24px (con vw=900px) a 18px (con vw=320px) */
        font-size: calc( 14.69px + 1.03vw );
    }
    header ul {
        flex-wrap: wrap;
    }
    header li {
        flex-basis: 50%;
    }
    .logo {
        width: 20vw;
        height: 12.5vw;
        min-width: 100px;
        min-height: 62.5px;
    }
    .div-h2 {
       height: 100px;
    }
    #div-body li {
        /* pasa de 20px (con vw=900px) a 16px (con vw=320px) */
        font-size: calc( 13.8px + 0.69vw );
    }
    .contenedor {
        padding: 0px;
    }
    .registro-akashico {
        width: 67vw;
        height: 23vw;
    }
    footer .SuKaRa {
        width: 20.4vw;
        height: 14vw;
    }
}
