@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: "Averia Serif Libre";
    src:url('../fonts/AveriaSerifLibre-Bold.woff2') format('woff2'),
        url('../fonts/AveriaSerifLibre-Bold.woff') format('woff'),
        url('../fonts/AveriaSerifLibre-Bold.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: 'Averia Serif Libre', 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;
        font-family: 'Cinzel', serif;
        text-align: center;
        margin: auto;
    }
    h3 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
        color: #bdfdfc;
    }
    a {
        text-decoration: none;
        color: white;
    }
    .a-link {
        margin: 0px;
        padding: 0px;
        text-decoration: underline;
    }
    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-h2 {
        display: flex;
        height: 150px;
        width: 100%;
        min-width: 288px;
        margin: 0px auto 10px auto;
    }
    .bosque-azul {
        width: 90vw;
        height: 54vw;
        max-width: 1280px;
        max-height: 768px;
        min-width: 300px;
        min-height: 180px;
        display: flex;
        margin: auto;
        margin-bottom: 50px;
    }
    .d1 {
        width: 90%;
        min-width: 300px;
        max-width: 1280px;
        background-color: #183f5e;
        margin: auto;
    }
    .d2 {
        width: 90%;
        min-width: 290px;
        margin: auto;
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
        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 {
        margin: auto 10px;
        /* 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;
    }
    .registro-akashico {
        width: 67vw;
        height: 23vw;
    }
    footer .SuKaRa {
        width: 20.4vw;
        height: 14vw;
    }
}
