@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
	}
/* Navbar section */
.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
}
.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}
.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}
.nav div.logo a:hover {
    color: #00E676;
}
.nav div.main_list {
    height: 65px;
    float: right;
}
.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}
.nav div.main_list ul li a {     /*pour changer la couleur du texte de la barre de navigation*/
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 2.4rem;
}
.nav div.main_list ul li a:hover {         /* pour changer la couleur du texte survolé de la barre de navigation */
    color: #000;     
	
}

/* Home section */
.home {
    width: 100%;
    height: 100vh;
    /*background-image: url(../image/fond/matrix-1274888_1920.png);
    background-position: center top;
	background-size:cover;*/
}
.navTrigger {
    display: none;
}
.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
}
/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */
.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}
.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}
.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}
.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}
.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}
@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}
@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}
@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}
@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}
@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}
@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}
@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}
@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}
@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}
@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}
@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}
@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}
.affix {                                   /*pour changer la couleur du bandeau de la barre de navigation */
    padding: 0;
    background-color: #aaa;
	opacity : 1;
	z-index : 10;
}
.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

/*les modifs se font après cette partie*/
section {                                        /* hauteur à changer height en GÉNÉRAL pour modifier la hauteur de la bande qui dévoile la photo sous le texte */
  height: 75vh; 
  box-sizing: border-box;
  display: flex;
  
  
  text-align: center; 
  /*essai
  
  /*  */
  flex-direction: column;
  flex-wrap: nowwrap;
  justify-content: space-between; /*dernier essai*/
  align-items: stretch;
  align-content:stretch;
  /*padding: 2vw;*/
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 2vw; 
}

section h1 {									/* titre de la page */
	width:100%;
	height: 60px;
	text-align:center;
	color: #000;
	text-shadow: 0 0 5px rgba(255,255,255,0.8);
	/*border: solid 1px #000;*/
}


/*Chaque secteur blanc doit être défini par .partie2i2d par exemple pour affiner la hauteur utile du secteur en question*/
.opener {
	height: 40vh;
}
.nompage {
	height: 15vh;
}
.tronc {											 /* hauteur à changer height en général pour modifier la hauteur de la bande blanche sous le texte */
	height: 60vh; 
}
.partie2i2d {												 /* hauteur à changer height en général pour modifier la hauteur de la bande blanche sous le texte */
	height: 60vh; 
}
.sin {												 /* hauteur à changer height en général pour modifier la hauteur de la bande blanche sous le texte */
	height: 50vh; 
}
.cot {                                         /* hauteur à changer height en général pour modifier la hauteur de la bande blanche sous le texte */
	height : 60vh;
	/*border: solid 1px #000;*/
}
.itec {
	height: 60vh; 	
}

/* commande séparée ici */

.sin .boite { 
	flex : 1 0 75%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}
.cot .boite {
	flex : 1 0 75%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}
.partie2i2d .boite {
	flex : 1 0 75%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}
.tronc .boite {
	flex : 1 0 75%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}
.itec .boite { 
	flex : 1 0 75%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}

/* fin des commandes séparées */






/* en cas de nouveau secteur, celui-ci s'ajoute dans les commandes communes*/
* .titre {     /* titre de chaque zone blanche */
	width:100%;
	flex : 1 0 3%;
	align-self : auto;
	margin : 0;
	/*border: solid 1px #000;*/
}
* .boite .boiboite { /* les flexbox normalement automatiques....*/
	flex : 1 0 45%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between; /*essai2 */
    align-content: stretch;
    align-items: stretch; /*essai 3*/
	margin : 0;
}
* .boite .boiboite .cases {  /* les flexbox normalement automatiques....*/

	flex : 1 0 45%;
	align-self : auto;
	margin: 0;
	/*border: solid 1px #000;*/
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center; /*essai2 */
    align-content: center;
    align-items: center; /*essai 3*/
	margin : 0;
}

/* la partie en dessous pour les images avec le cercle qui dévoile l'image */

* .boite .boiboite .cases .sq {
  float: center;
  width: 300px;
  height: 150px;
  border: 1px solid #999;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin: 15px;
}
* .boite .boiboite .cases .sq:hover .clip {
  clip-path: circle(450px at 80% 20%);
  
}
* .boite .boiboite .cases .sq:hover .caption .subtitle {  /*remettre h3 si besoin */
  color : #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  
}
* .boite .boiboite .cases .sq:hover .caption .titleprof {
  color : #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  }
* .boite .boiboite .cases .sq:hover .caption .subtitleprof {
  color : #000;
  
  }  
* .boite .boiboite .cases .sq:hover .caption .titlecours {
  color : #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
  }
* .boite .boiboite .cases .sq:hover .caption .titleexo {
  color : #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
  }
* .boite .boiboite .cases .sq:hover .caption .title3d {
  color : #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
  }
  
 
* .boite .boiboite .cases .sq:hover .caption {
  color: white;
}
* .boite .boiboite .cases .caption {
  position: absolute;
  bottom: 0;
  padding: 15px;
  transition: 300ms;
}
* .boite .boiboite .cases .caption .title {
  color : #666;
  font-size : 24px;
}
* .boite .boiboite .cases .caption .titleprof {
  color : #666;
  font-size : 24px;
}
* .boite .boiboite .cases .caption .titlecours {
  color : #666;
  font-size : 24px;
}
* .boite .boiboite .cases .caption .titleexo {
  color : #666;
  font-size : 24px;
}
* .boite .boiboite .cases .caption .title3d {
  color : #666;
  font-size : 24px;
}


* .boite .boiboite .cases .subtitle {
  font-weight: 200;
  font-size: 16px;
}
* .boite .boiboite .cases .subtitleprof {
  font-weight: 200;
  font-size: 16px;
  color : fff;
}
* .boite .boiboite .cases .clip {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background-image: url(https://farm8.staticflickr.com/7020/6757841415_34d89a8d96_z.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  -webkit-clip-path: circle(450px at 80% 20%);
  -moz-clip-path: circle(450px at 80% 20%);
  clip-path: circle(25px at 80% 20%);
  transition: 300ms;
}
* .boite .boiboite .cases .circle {
  background-color: transparent;
}
* .boite .boiboite .cases .sq a {
	text-decoration: none;
}
* .boite .boiboite .cases .sq h3 {
	text-decoration: none;
	color:#fff;
	text-shadow: 0 0 5px rgba(255,255,255,0.4);
}


/* fin des commandes communes */


/*pour changer les images de fond entre chaque bande blanche sauf la première ?!!!!!!! !*/


section .textoverpic {
	height: 20vh; 
}	
section:first-of-type { 
  text-transform: uppercase;
  font-size: 3vw;
}
section:first-of-type, section.pop { 
  color: #000;
  text-shadow: 0 0 5px rgba(255,255,255,0.4); 
}
section:nth-of-type(even) { 
  background: #000;
}
section:nth-of-type(1) { 
  background-image: url(../site_ECligne/fond1.jpg); 
}
/*section:nth-of-type(2) { 
  background-color: #ccc ; 
}*/
section:nth-of-type(3) { 
  background-image: url(../site_ECligne/fond2.jpg); 
}
/*section:nth-of-type(4) { 
  background-color: #aaa ; 
}*/
section:nth-of-type(5) { 
  background-image: url(../site_ECligne/fond3.jpg); 
}
/*section:nth-of-type(6) { 
  background-color: #888 ; 
}*/
section:nth-of-type(7) { 
  background-image: url(../site_ECligne/fond4.jpg); 
}
/*section:nth-of-type(8) { 
  background-color: #666 ; 
}*/
section:nth-of-type(9) { 
  background-image: url(../site_ECligne/fond5.jpg); 
}
/*section:nth-of-type(10) { 
  background-color: #333 ; 
}*/
section:nth-of-type(11) { 
  background-image: url(../site_ECligne/fond6.jpg); 
} 
/*section:nth-of-type(12) { 
  background-color: #000; 
}*/ 
section:nth-of-type(13) { 
  background-image: url(../site_ECligne/fond7.jpg); 
} 

section:nth-of-type(15) { 
  background-image: url(../image/fond/ressort.jpg); 
} 


/* jusque là !*/

 














