  html{
    margin:0;
    padding: 0;
    border:0;
    flex-direction: column;
    display: inline;
    min-height: 100vh;
}

body{
    padding: 0;
    margin: 0;
    border:0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header{
    font-family: "Kohinoor W00";
}

#video{
    text-align: center;
}

@media screen and (max-width: 500px)
{
  #description{
    font-family: "Kohinoor W00";
    color: #000;
    font-size : 50px;
    width:80vw;
    text-align:center;
    
    }
    #photo{
    margin-left:3em;
    width: 50vw;
    border-radius: 15em;
    margin-top:5em;
    vertical-align: middle;
    
}

}

#about{
    text-align: center;
    margin-top: 10vh;
}

#description{
    font-family: "Kohinoor W00";
    color: #000;
    font-size : 14px;
    display: inline-block;
    margin-left: 4em;
    margin-top:5em;
    width:50vw;
    vertical-align:middle;
    text-align: justify;
    
}

strong{
    color: #ffa8a8;
}

#photo{
    margin-left:3em;
    width: 22vw;
    margin-top:5em;
    vertical-align: middle;
    
}
#image{
    display:inline; 
}

#mmi{
    color: #ffa8a8;
}


/*-----realisations------*/

.menuRea{
    color: #ffa8a8;
}
.menuRea:hover{
    color: #000;
}
#listeRea{
    text-align: center;
    color: #000;
    list-style-type: none;
    font-size: 1em;
}

#listeRea li{
    display: inline-block;
    margin-left:1vw;
    text-transform:uppercase;
}
#boiteRea{
    text-align:center;
}
.oeuvres{
    list-style-type: none;
    display:inline-block;
}
.oeuvres img{
    height: 25vw;
    overflow: hidden;
    vertical-align:middle;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    margin-bottom: 2vh;
}
.oeuvres img:hover{
    cursor:pointer;
}

#grandesImages {
    display: none;
    position: fixed;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 20em content-box;
    z-index: 7;
    justify-content: center;
    align-items: center;
}

#fondNoir {
   display: none;
    position: fixed;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    height: 100%;
    width: 100vw;
    z-index: 6;
    opacity: 0.7;
}
.grandeImage {
    height: 70vh;
}

.grandeImage:hover {
    cursor:pointer;
}


/*----footer-----*/
footer{
    display: flex;
    margin-top: auto;
    
}

footer p{
    margin-left: 5vw;
    
}

footer div {
    display: flex;
    justify-content: space-between;
    margin-right: 2vw;
    margin-left: auto;
}
footer div a img {
    width: 1.2em;
    margin-right:2vw;
    margin-bottom:2vh;
    
}
#copyright{
    color: #ffa8a8;
    font-size: 1vw;
    
}


/* #works contient tous les travaux, le margin-top est élevé pour ne pas apparaitre sous le menu flottant */


#content {
    width: 1000px;
    color :#FFF;
    margin: 0 auto;
    text-align: justify;
}



#works {
    margin-bottom: 40px;
    overflow: hidden;
    margin-top: 165px;
}

#works .work {
	/* Voici le overflow:hidden qui permet de cacher les triangles et de ne les voir apparaitre que lorsqu'ils sont dedans la div */
    overflow: hidden;
    width:319px;
    height: 300px;
    border: 4px solid #222;
    cursor: pointer;
    position: relative;
    -moz-transition: all .6s; 
    -webkit-transition: all .5s; 
    -o-transition: all .6s; 
    transition: all .6s;
    float: left;
    margin-right: 20px;
	margin-bottom:50px;
}

#works .work:hover {
    border: 4px solid #FFF;
}

#works .work img {
    
}

#works .work .triangle-droite {
    background: url(img/triangle-droite.png);
    width: 312px;
    height: 293px;
    position: absolute;
    /* Voici le décalage du triangle à droite lorsqu'on n'est pas en :hover */
    right: -312px;
    bottom: -293px;
    -moz-transition: all .6s; 
    -webkit-transition: all .6s; 
    -o-transition: all .6s; 
    transition: all .6s;
}

#works .work:hover .triangle-droite {
	/* Voici la position du triangle à droite lorsqu'on est en :hover */
    right: 0;
    bottom: 0;
}

#works .work .triangle-gauche {
    background: url(img/triangle-gauche.png);
    width: 312px;
    height: 293px;
    position: absolute;
    /* Voici le décalage du triangle à gauche lorsqu'on n'est pas en :hover */
    left: -311px;
    top: -293px;
    -moz-transition: all .6s; 
    -webkit-transition: all .6s; 
    -o-transition: all .6s; 
    transition: all .6s;
}

#works .work:hover .triangle-gauche {
	/* Voici la position du triangle à gauche lorsqu'on est en :hover */
    left: -1px;
    top: -1px;
}

#works .work span {
    color: #FFF;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
    position: absolute;
    /* Voici la position du span lorsqu'on n'est pas en :hover */
    top: 125px;
    left: -280px;
    font-family: 'Din';
    background: #222;
    padding-left: 70px;
    padding-right: 8px;
    -moz-transition: all .5s; 
    -webkit-transition: all .5s; 
    -o-transition: all .5s; 
    transition: all .5s;
}

#works .work:hover span {
	/* Voici la position du span lorsqu'on est en :hover */
    left: 0px;
}

