@font-face {
    font-family: "Black-Avenir";
    /*Can be any text*/
    src: url("../data/fonts/AvenirLTStd-Black.otf") format("opentype");
}

@font-face {
    font-family: "Book-Avenir";
    /*Can be any text*/
    src: url("../data/fonts/AvenirLTStd-Book.otf") format("opentype");
}

@font-face {
    font-family: "Roman-Avenir";
    /*Can be any text*/
    src: url("../data/fonts/AvenirLTStd-Roman.otf") format("opentype");
}

html,
body {
    font-family: 'Book-Avenir';
    background-color: black;
}

#p5_loading {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.site, .modal {
    display: none;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a,
a:hover,
a:visited {
    color: white;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

ul li h3 {
    cursor: pointer;
}

canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.site {
    position: relative;
    z-index: 4;
}

.site__header,
.site__nav-list {
    display: flex;
}

.site__header {
    height: 100%;
    padding: 1.25rem 0;
    position: fixed;
    right: 0.4rem;
    top: 0;
    writing-mode: vertical-rl;
    z-index: 10;
}

.site__header>* {
    flex: 1 1 auto;
    padding-bottom: 0.625rem;
}

.site__nav {
    padding-bottom: 0;
}

.site__nav-list {
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin-top: 160px;
    margin-bottom: 40px;

}

.site__nav-link {
    font-size: 32px;
    color: white;
    display: block;
    text-decoration: none;
    margin: 0px;
    padding-bottom: 0.625rem;
}

.clickeable {
    cursor: pointer;
}

.selected {
    text-decoration: underline;
}

.not__selected {
    text-decoration: none;
}

.site__nav-list li:last-child .site__nav-link {
    padding-bottom: 0;
}

.modal {
    /* display: none; */
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 3;
    /* Sit on top */
    padding-top: 60px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    margin: auto;
    padding: 18px;
    width: 80%;
    height: 80vh;
    font-size: 1.2em;
    overflow-y: scroll;
    text-align: justify;
}

.modal-content p,
.modal-content ol {
    font-size: 16px;
}

.modal-content img {
    width: 60%;
    display: block;
    margin: auto;
}

.close,
.arrow {
    cursor: pointer;
}

.simbolo {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    transition: filter 3s;
}

.simbolo img {
    width: 220px;
}

.simbolo:hover {
    filter: invert();
}

#vertButton {
    writing-mode: horizontal-tb;
}

#vertButton span {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
}

.ligaH4 {
    cursor: pointer;
    text-decoration: underline;
}

.manifiesto {
    width: 525px;
    display: block;
    margin: auto;
    text-align: justify;
    text-align-last: justify
}

.imagen {
    width: 450px;
}

.imgTexto {
    width: 180px !important;
    margin-left: 6px !important;
    filter: invert(100%);
}

/* Posición Manifiesto */

.manifiesto p {
    font-size: 0.8em;
    margin: 12px 0px;
}

#m1E {
    margin-left: 0%;
    margin-right: 8.4%;
}

#m2E {
    margin-left: 0%;
}

#m3E {
    margin-left: 60%;
    margin-right: 10%;
}

#m4E {
    margin-left: 0%;
    margin-right: 30%;
}

#m5E {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    margin-left: 0%;
}

#m5E p {
    margin-bottom: 0px;
    margin-top: 35px;
}

#m6E {
    text-align: left;
    text-align-last: left;
}

#m7E {
    margin-right: 54%;
}

#m8E {
    margin-left: 47.5%;
    text-align-last: left;
}

#m9E {
    text-align-last: left;
}

#m10E {
    margin-left: 33%;
    text-align-last: left;
}

.imagen_min {
    width: 150px !important;
}

.div_min {
    width: 150px;
    cursor: pointer;
}

.div_min p {
    text-decoration: underline;
}

/* Vertientes */
.containerVertiente {
    display: grid;
    grid-template-columns: 49% 49%;
    column-gap: 1%;
}

.textoVertiente {
    width: 100%;
}

.imagenVert {
    width: 400px !important;
    /* height: 400px !important; */
}

.image-stack {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
    height: max-content;
}

.image-stack__item—top {
    grid-column: 1/span 8;
    grid-row: 2;
    margin-top: -65px;
    z-index: 2;
}

.image-stack__item—medium {
    grid-column: 8;
    grid-row: 3;
    margin-top: -65px;
    z-index: 1;
}

.image-stack__item—bottom {
    grid-column: 4/span 8;
    grid-row: 1;
    z-index: 3;
}

.reqConvo {
    width: 80%;
    margin: auto;
    font-size: 18px;
}

.img_eje {
    width: 400px !important;
}

.img_taller {
    margin-top: 60px;
}

.logo {
    width: 70px;
    position: absolute;
    right: 1vw;
    top: 3vh;
}

.logo img {
    width: 100%;
}

.mini {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
}

@media only screen and (max-width: 1000px) {
    .modal-content {
        width: 70%;
    }

    .image-stack {
        margin-top: 60px;
    }

    .containerVertiente {
        display: grid;
        grid-template-columns: auto;
    }

    .image-stack__item—top {
        margin-top: -10%;
    }
    
    .image-stack__item—medium {
        margin-top: -20%;
    }
}