body {
    background-image: url(../img_draft/texture.png);
    background-size: contain;
    background-repeat: repeat;
}

@font-face {
    font-family: 'Brandon';
    src: url('../typo/Brandon_reg.otf') ;
}

p {
    font-family: 'Brandon', sans-serif;
}  

.col-4 {
    width: 33.33%;
    float: left;
    align-items: center;
    min-height: 1px;
    /* permet à la colonne d'exister même si les éléments ont des positions absolues*/
}

#insta {
    position: absolute;
    top: 5vh;
    left: 93vw;
    opacity: 1;
    width: 2.5vw;
    z-index: 1;
}

#apropos {
    position: absolute;
    top: 3.5vh;
    left: 86vw;
    opacity: 1;
    font-size: 20px;
    color: black;
    z-index: 1;
}

.col-4 img,
.col-4 video,
.col-4 iframe {
    max-width: 100%;
    height: auto;
}

#monnom {
    position: absolute;
    top: 1vh;
    left: 1vw;
    opacity: 1;
    width: 12vw;
    z-index: 1;
}

#apropos:hover {
    text-decoration: underline;
}

#fleche {
    position: absolute;
    top: 35vh;
    left: 5vw;
    opacity: 1;
    width: 4vw;
    z-index: 1;
}

#fleche:hover {
    transform: rotate(3deg);
}


#ateliers {
    position: absolute;
    transform: rotate(2deg);
    top: 45.5vh;
    left: 6.5vw;
    width: 7.5vw;
    opacity: 1;
    opacity: 1;
    z-index: 1;
}


#edition {
    position: absolute;
    top: 51vh;
    left: 6.5vw;
    font-size: 18px;
    opacity: 1;
    z-index: 1;
    opacity: 1;
}

#edition_inv {
    position: absolute;
    top: 54.5vh;
    left: 6.5vw;
    width: 77px;
    height: 15px;
    opacity: 1;
    z-index: 1;
}

#edition_inv:hover {

    background-image: url(../img_draft/edition_mot.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 75px;
    height: 21px;
    top: 54vh;
    left: 6.5vw;
    background-color: white;

}


#identite {
    position: absolute;
    top: 56vh;
    left: 6.5vw;
    font-size: 18px;
    opacity: 1;
    z-index: 1;
    opacity: 1;
}

#identite_inv {
    position: absolute;
    top: 59vh;
    left: 6.5vw;
    width: 60px;
    height: 15px;
    opacity: 1;
    z-index: 1;
}

#identite_inv:hover {
    background-image: url(../img_draft/identite_mot.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 75px;
    height: 22px;
    top: 59vh;
    left: 6.3vw;
    transform: rotate(3.5deg);
    background-color: white;

}

#illustration {
    position: absolute;
    top: 61vh;
    left: 6.5vw;
    font-size: 18px;
    opacity: 1;
    z-index: 1;
    opacity: 1;
}



#illustration_inv {
    position: absolute;
    top: 64.3vh;
    left: 6.5vw;
    width: 55px;
    height: 15px;
    opacity: 1;
    z-index: 1;
}

#illustration_inv:hover {
    background-image: url(../img_draft/illustration_mot.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 111px;
    height: 29px;
    top: 64.5vh;
    left: 6.3vw;
    background-color: white;

}

#video {
    position: absolute;
    top: 66vh;
    left: 6.5vw;
    font-size: 18px;
    opacity: 1;
    z-index: 1;
    opacity: 1;
}


#video_inv {
    position: absolute;
    width: 40px;
    height: 24px;
    top: 68vh;
    left: 6.5vw;
    opacity: 1;
    z-index: 1;

}

#video_inv:hover {
    background-image: url(../img_draft/video_mot.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 85px;
    height: 25px;
    top: 69vh;
    left: 6.3vw;
    background-color: white;

}

.images_container {
    text-align: center;
    position: relative;
    width: 28vw;
    top: 28vh;
    margin-bottom: 2vh;
}

.images:hover {
    filter: grayscale(1);
    transition: filter 0.3s ease-in-out;
    /* add a transition */
}

@media screen and (max-width: 1200px) {
    .col-4 {
        width: 100%;
        float: none;
    }

    #monnom {
        width: 20vw;
        display: block;
        margin-left: 1vw;
        margin-top: 1vw;
    }

    #insta {
        display: none;
    }

    #apropos {
        position: absolute;
        top: 5vh;
        left: 88vw;
        opacity: 1;
        color: black;
        font-size: 3vw;
        z-index: 1;
    }

    #apropos:hover {
        text-decoration: underline;
    }

    #fleche {
        position: absolute;
        z-index: 2;
        width: 6vw;
        /* margin-right: 150px; */
        right: 1vh;
        top: 1vh;
        left: auto;
    }

    #fleche:hover {
        transform: rotate(3deg);

    }

    #ateliers {
        position: relative;
        top: 20vh;
        left: 38vw;
        width: 30vw;
        opacity: 1;
        opacity: 1;
        z-index: 1;
    }

    #edition {

        display: none;

    }

    #identite {

        display: none;

    }

    #illustration {

        display: none;

    }

    #video {

        display: none;

    }

    .images_container {
        width: 90vw;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0vh;
        margin-bottom: 2vh;
    }



}