@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: '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;
        margin-top: 30px;
        margin-bottom: 20px;
        color: #bdfdfc;
    }    
    h4 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 20px;
        color: #bdfdfc;
    }
    a {
        text-decoration: none;
        color: white;
    }
    .a-link {
        margin: 0px;
        padding: 0px;
        text-decoration: underline;
    }
    p {
        margin-bottom: 10px;
        text-align: justify;
    }
    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: 300px;
        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;
    }
    .aside-section {
        display: flex;
        flex-wrap: nowrap;
    }
    aside {
        float: left;
        width: calc( 20% - 20px );
        min-width: 160px;
        background: #337BB8;
        color: white;
        padding: 10px;
    }
    aside h4 {
        margin: 5px 0px;
        color: white;
    }
    aside form {
        display: flex;
        flex-wrap: nowrap;
        margin: auto;
    }
    .in-texto {
        width: calc(65%);
        min-width: 65px;
        margin-right: 5px;
        margin-left: 0px;
        font-size: inherit;
        font-family: inherit;
    }
    .sub-texto {
        padding: 5px;
        margin-left: 0px;
        font-size: inherit;
        font-family: inherit;
    }
    .aside-1 {
        display: block;
    }
    #contenido {
        float: right;
        width: 100%;
        height: 100%;
        min-height: 500px;
        margin: auto 0px;
        padding: 0px 20px;
        background-color: #183f5e;
    }
    .article {
        width: 90%;
        margin: 15px auto;
        padding-bottom: 10px;
        text-align: justify;
        font-family: 'Averia Serif Libre', cursive;
        color: #9bd3fc;
    }
    .img-articulo {
        float:left;
        width: 100%;
        min-width: 200px;
        aspect-ratio: 5/3;
        margin: 15px 20px 15px 0px;
    }
    #dona-1 {
        display: none;
    }
    #dona-2 {
        display: none;
    }
    .amount {
        width: 50px;
    }
    .boton {
        padding: 2px 5px;
    }
    span {
        color:black;
        background:yellow;
    }
    .div-enlaces {
        margin: 0px;
        padding: 20px;
        background: #082743;
    }
    .div-enlace-items {
        display: flex;
        justify-content:left;
        align-items: center;
    }
    .caja {
        display: flex;
        width: 30px;
        height: 20px;
        margin: 20px;
    }
    .viñeta {
        display: block;
        margin: auto;
    }
    .tooltip {
        display: none;
        position: absolute;
        color: black;
        background-color: #337BB8;
        padding: 15px 20px;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.2s;
        pointer-events: none;
        max-width: 800px;
        text-align: justify;
    }
    .div-form-enlaces {
        margin: 0px;
        padding: 20px;
        background: #082743;
        text-align: justify;
    }
    .div-coments-only {
        display: grid;
        /*grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto;*/
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));;
        background-color: #193b7b;
        padding: 10px;
    }
    h3.coments {
        margin: 0px;
        padding: 12px;
        background: #193b7b;
    }
    h4.coments {
        margin: 10px 0px;
        padding: 5px 0px;
        background: #225278;
        color: white;
    }
    .form-enlaces {
        color: black;
        background: #337BB8;
        font-size: inherit;
        font-family: inherit;
        font-weight: bold;
        width: 100%;
        padding: 5px 0px;
    }
    .bt-coments {
        padding: 10px;
        font-weight: bold;
        color: white;
        background: #225278;
        cursor: pointer;
        font-size: inherit;
        font-family: inherit;
    }
    .bt-coments:disabled {
        background: #aaa;
    }
    .custom-alert {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
        background-color: #337BB8;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        font-family: 'Averia Serif Libre', cursive;
        text-align: justify;
    }
    .custom-alert h3 {
        margin: 0px;
    }
    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 );
    }
    h4 {
        /* pasa de 20px (con vw=900px) a 16px (con vw=320px) */
        font-size: calc( 13.8px + 0.69vw );
    }
    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 );
    }
    .aside-section {
        flex-wrap: wrap;
    }
    aside {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin: auto;
        padding: 20px 10px;
    }
    aside form {
        margin: auto 10px;
    }
    .aside-1 {
        display: flex;
    }
    #contenido {
        padding: 0px;
    }
    .registro-akashico {
        width: 67vw;
        height: 23vw;
    }
    footer .SuKaRa {
        width: 20.4vw;
        height: 14vw;
    }
}
