/*-------------------------------------------------------- */
/*------------------------------------------- PABLO FELLEY */
/*-------------------- CLASS WITH HARRY BLOCH - ECAL 1CVDG */
/*-------------------------------------------------------- */






/*-------------------------------------------------------- */
/*------------------------------------------------ GENERAL */
/*-------------------------------------------------------- */

body {
    margin: 0px;
    font-family: 'Cutive Mono', monospace;
    overflow-x: hidden;
}





.box {
    width: 100vw;
    height: 100vh;
    background-image: url('../images/eniac1.jpg');
    display: flex;
    flex-wrap: wrap;
    background-size: cover;
}

.woe p,
.square .letter {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-top: 5px;
    position: relative;
    z-index: 10;
}

.square {
    background-color: #fff;
    width: calc(100vw/16);
    height: calc(100vh/16);
    opacity: 100%;
    transition: opacity 7s;

}

.woe {
    background-color: #fff;
    width: calc(100vw/16);
    height: calc(100vh/16);
    opacity: 100%;
    transition: background-color 1s;


}

.woe:hover {

    background-color: red;
    mix-blend-mode: difference;
    transition: background-color 0s;
}

.square:hover {
    transition: 0s;
    opacity: 0%;
}


/*-------------------------------------------------- PART2 */

.bandtext {
    width: 100vw;
    min-height: calc(100vh/16);

    display: flex;
    align-items: center;
    justify-content: left;

}

.bandtext:hover span {

    color: white;
    background-color: #000;
    transition: 1s;
}



.bandtext span:hover {
    font-size: 30px;
    color: white;
    background-color: #000;

}

.bandtext p {
    margin-left: calc(100vw/16);
    margin-right: calc(100vw/16);
    padding: 0;
    text-align: left;


}

.womans {

    display: flex;
    margin-left: calc(100vw/16);
    margin-bottom: calc(100vh/16);
    width: calc(100vw/16*15);
}

.woman {
    margin-right: calc(100vw/16);
    width: calc(100vw/16*4);
    height: calc(100vh/16*6);
    display: flex;
    flex-wrap: wrap;

}


.woman1 {

    background-image: url('../images/womans/kathleen_antonelli.jpg');
    background-size: cover;

}

.woman2 {
    background-image: url('../images/womans/jean_bartik.jpg');
    background-size: cover;
}

.woman3 {
    background-image: url('../images/womans/betty_holberton.jpg');
    background-size: cover;
}

.woman4 {
    background-image: url('../images/womans/marlyn_meltzer.jpg');
    background-size: cover;
}

.woman5 {
    background-image: url('../images/womans/Frances_Spence.jpg');
    background-size: cover;
}

.woman6 {
    background-image: url('../images/womans/ruth_teitelbaum.jpeg');
    background-size: cover;
}


.squarewoman {
    background-color: red;
    mix-blend-mode: difference;
    width: calc(100vw/16);
    height: calc(100vh/16);
    opacity: 0%;
    transition: 7s;

}

.squarewoman:hover {
    transition: 0s;
    opacity: 100%;
}

.infos {
    display: flex;

}

.woman .name p {

    width: 200px;


}

.woman .name:hover p {
    color: white;
    background-color: black;
    transition: 1s;
}

.mask {

    width: calc(100vw/16*4);
    background-color: white;
    position: relative;
    top: calc(-100vh/16*6);
    left: -200px;
    height: 0px;
    transition: 3s;
    overflow: scroll;
}

.mask p {
    display: none;

    margin: 5px;
}


.infos:hover .mask p {
    display: inherit;


}

.infos:hover .mask {
    height: calc(100vh/16*6);
    border: 1px solid black;
    opacity: 95%;
    transition: 3s;
}


/* ------------------------------------- STATISTICS */

.statistics {
    min-height: 50vh;
}

.categories,
.stats {
    display: flex;
}

.categories {
    background-color: #000;
    color: white;
}

.statistics p {
    width: 30%;
    text-align: left;
    margin-left: 12px;

}

.line {
    height: 0.1px;
    width: 100vw;
    background-color: #000;
}

.margin-bloc {
    width: calc(100vw/16*1);
    height: calc(100vh/32);
}

.stats:hover {
    background-color: #000;
    color: white;
    transition: 0.5s;
}

/* ------------------------------------- PARALLAX */

/* ---------------------------------------------- */

.parallax {
    /* The image used */
    background-image: url('../images/eniac5.jpg');

    /* Full height */
    min-height: 100vh;
    padding-bottom: calc(100vh/16*4);
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



.parallax.image1 {
    background-image: url('../images/eniac1.jpg');
}

.parallax.image2 {
    background-image: url('../images/eniac2.jpg');
}

.parallax.image3 {
    background-image: url('../images/eniac3-reverse.jpg');
}

.parallax.image4 {
    background-image: url('../images/eniac4.jpg');
}

.parallax.image5 {
    background-image: url('../images/eniac5.jpg');
}

.parallax.image6 {
    background-image: url(../images/eniac6.jpeg);
}

.parallax.image7 {
    background-image: url(../images/eniac7.png);
}


.vignettes {
    width: calc(100vw/16*4);
    margin-left: calc(100vw/16);

    padding-top: calc(100vh/16);

}

.vignette {
    height: calc(100vh/16*4);
    margin-bottom: calc(100vh/16);

}

.vignettes .img1 {
    background-image: url(../images/eniac1.jpg);
    background-size: cover;
}

.vignettes .img2 {
    background-image: url(../images/eniac2.jpg);
    background-size: cover;
}

.vignettes .img3 {
    background-image: url(../images/eniac3-reverse.jpg);
    background-size: cover;
}

.vignettes .img4 {
    background-image: url(../images/eniac4.jpg);
    background-size: cover;
}

.vignettes .img5 {
    background-image: url(../images/eniac5.jpg);
    background-size: cover;
}

.vignettes .img6 {
    background-image: url(../images/eniac6.jpeg);
    background-size: cover;
}

.vignettes .img7 {
    background-image: url(../images/eniac7.png);
    background-size: cover;
}

.vignette .redmask {
    background-color: red;
    mix-blend-mode: difference;
    width: 100%;
    height: 100%;
    opacity: 0%;
    transition: opacity 0.5s;
}

.vignette:hover .redmask {
    opacity: 100%;
    transition: opacity 0.5s;
}

/*
#legendes div {
    position: fixed;
    right: 50px;
    bottom: 50px;
    opacity: 0;
    color: white;
}

.image1 .text1 {
    opacity: 1 !important;
}

.image6 .text6 {
    opacity: 1;
}
*/
/*------------------------- EXTERNAL LINKS */

a {
    text-decoration: none;
    color: black;
}

.categories2,
.stats2 {
    display: flex;
}

.categories2 {
    background-color: #000;
    color: white;
}

.statistics2 p {
    width: 100%;
    text-align: left;
    margin-left: calc(100vw/16*1);
    ;


}

.stats2 {
    background-color: white;
}

.line2 {
    height: 0.1px;
    width: 100vw;
    background-color: #000;
}

.margin-bloc2 {
    width: calc(100vw/16*1);
    height: calc(100vh/32);
}

.stats2:hover {
    background-color: #000;
    color: white;
    transition: 0.5s;
}


/* ----------------------------------- RESPONSIVE */
/* ---------------------------------------------- */

@media (max-width:780px) {


    .woe p,
    .square .letter {
        font-size: 25px;
    }

    .womans {

        display: inherit;
        margin-left: calc(100vw/16);
        margin-bottom: calc(100vh/16);
        width: calc(100vw/16*14);
    }

    .woman {
        margin-right: calc(100vw/16);
        width: calc(100vw/16*14);
        height: calc(100vh/16*6);
        margin-bottom: calc(100vh/16);
    }

    .infos {
        display: block;
        width: 100%;
        height: calc(100vh/16*6);

    }

    .woman .name p {

        width: 100%;

    }

    .mask {
        width: 100%;
        background-color: white;
        position: relative;
        margin-top: calc(-100vh/16*1);
        left: 0px;
        height: 0px;
        transition: 3s;
    }

    .name {
        position: relative;
        bottom: 0px;
        left: 0px;
    }

    .mask p {
        display: none;
        margin: 5px;
    }


    .infos:hover .mask p {
        display: inherit;

    }

    .infos:hover .mask {
        height: calc(100vh/16*6);
        margin-top: calc(-100vh/16*1);
        border: 1px solid black;
        opacity: 95%;
        transition: 3s;
    }

    .blocimage {
        width: calc(100vw/16*14);
        height: calc(100vh/16*6);
        margin: calc(100vw/16);
        background-size: cover;

    }

    .linkbloc {
        padding-left: 0;
    }

    .squarewoman {
        width: calc(100vw/16*3);
    }


    .vignettes {
        width: calc(100vw/16*14);
        margin-left: calc(100vw/16);

        padding-top: calc(100vh/16);

    }

    .vignette {
        height: calc(100vh/16*6);
        margin-bottom: calc(100vh/16);

    }

    .vignette:hover .redmask {
        opacity: 0%;

    }

    a {
        text-align: center;

    }

}
