/* =========================
   CONFIGURACIÃN GENERAL
========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #003b3f;
    padding-top: 110px;
}


/* =========================
   HEADER
========================= */

.encabezado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    z-index: 1000;
    background-color: #576d96;
    padding: 8px 25px;
    box-sizing: border-box;
}

.header-contenedor {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-izquierdo {
    display: flex;
    align-items: center;
}

.logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logos img {
    height: 75px;
    width: auto;
    display: block;
}

.titulo-uiap {
    margin-left: 20px;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* =========================
   REVISTA
========================= */

.revista {
    min-height: calc(100vh - 110px);
    padding: 40px 20px 50px;
    box-sizing: border-box;
}

.visor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.paginas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}


/* =========================
   PÃGINAS
========================= */

.paginas img {
    width: min(42vw, 600px);
    height: auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);
}


/* =========================
   CENTRO DE LA REVISTA
========================= */

#paginaIzquierda {
    border-radius: 4px 0 0 4px;
}

#paginaDerecha {
    border-radius: 0 4px 4px 0;
}


/* =========================
   FLECHAS
========================= */

.flecha {
    border: none;
    background: transparent;
    color: white;
    width: 50px;
    height: 70px;
    font-size: 40px;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.flecha:hover {
    transform: scale(1.15);
}


/* =========================
   CONTADOR
========================= */

.contador {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}


/* =========================
   BOTÃN REGRESAR
========================= */

.regresar {
    text-align: center;
    margin-top: 30px;
}

.regresar a {
    display: inline-block;
    background: #800000;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
}

.regresar a:hover {
    background: #a00000;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 900px) {

    .paginas {
        width: 100%;
        justify-content: center;
    }

    .paginas img {
        width: min(78vw, 600px);
        max-width: 100%;
        height: auto;
    }

    #paginaDerecha {
        display: none;
    }

    .flecha {
        width: 42px;
        height: 60px;
        font-size: 30px;
    }

}


@media (max-width: 600px) {

    body {
        padding-top: 90px;
    }

    .encabezado {
        height: 90px;
        padding: 6px 10px;
    }

    .logos {
        gap: 8px;
    }

    .logos img {
        height: 55px;
    }

    .titulo-uiap {
        font-size: 11px;
        margin-left: 10px;
    }

    .revista {
        padding: 25px 8px 40px;
    }

    .visor {
        gap: 8px;
    }

    .paginas img {
        width: calc(100vw - 85px);
    }

    .flecha {
        width: 34px;
        height: 55px;
        font-size: 24px;
    }
}