* {
    box-sizing: border-box;
    background-color:black;
}


img {
    max-width: 100%;

}





.container_12 .grid_6 img {
    width: 100%;


}

.container_12 .grid_4 img {
    width: 100%;


}

.infos {
    
     text-decoration: none;
}


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



.objet {

    width: 100%;
    margin: auto;
    z-index: 1;
    position: relative;
    

}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: black;

}

.overlay:hover {
    
    opacity: 1
}

.text {
    
    font-family:'Saint Regular';
    font-size: 50px;
    color: lime;
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.objet:hover .carre {
    opacity: 1;

}


/* mediaqueries pour le responsive*/
/* mediaqueries pour le responsive*/

/* POUR LES TABLETTES = écrans dont la taille maximale est de 992px ou moins...*/
@media screen and (max-width: 992px) {

    body {
        /*  background-color: blue; */
    }


    .container_12 header .grid_6 {

        width: 100%;
    }

    .container_12 .grid_4 {
        width: 50%;
        margin: 0;

    }

    img {
        max-width: 99%;
    }
}

/* POUR LES TELEPHONES = écrans dont la taille maximale est de 600px ou moins... */
@media screen and (max-width: 600px) {

    body {
        /*  background-color: violet; */
    }

    /* chaque grille fait 100% de l'espace*/
    .container_12 .grid_4 {


        width: 100%;
    }

    .container_12 .grid_6 {


        width: 48%;
    }

    img {
        max-width: 99%;
    }


}
