@import url('reset.css');

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-ExtraLight.woff") format("woff"),
  url("../fonts/montserrat/Montserrat-ExtraLight.woff2") format("woff2"),
  url("../fonts/montserrat/Montserrat-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Bold.woff") format("woff"),
  url("../fonts/montserrat/Montserrat-Bold.woff2") format("woff2"),
  url("../fonts/montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
    font-family: 'black_jackregular';
    src: url('../fonts/blackjack_regular/blackjack-webfont.eot');
    src: url('../fonts/blackjack_regular/blackjack-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/blackjack_regular/blackjack-webfont.woff') format('woff'),
         url('../fonts/blackjack_regular/blackjack-webfont.ttf') format('truetype'),
         url('../fonts/blackjack_regular/blackjack-webfont.svg#black_jackregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/opensans_regular/OpenSans-Regular-webfont.eot');
    src: url('../fonts/opensans_regular/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans_regular/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/opensans_regular/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/opensans_regular/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



body
{
	background-color: white; 
	font-family: 'open_sansregular', Helvetica, Arial, sans-serif; 
  /*font-size: 13px; */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: #a4a7a8;
}


header form
{
  position: absolute;
  top: 0;
  right: 0;


}

button#en 
{
	display:inline-block;
	width:60px;
	height:40px;
	background-image: url(../images/flaguk.gif);
	background-size:cover;
}
button#fr 
{
	display:inline-block;
	width:60px;
	height:40px;
	background-image: url(../images/flagfr.png);
	background-size:cover;
}

.information 
{
	color: red;
}

.table
{
	margin: 1px;
	width:100px; 
	height:100px;
}


h1, h2, h3, h4
{
  margin-left: 20px;
}

h1
{
  font-family: "black_jackregular", Helvetica, Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: normal;
  color: #a6205a;
}

h2, h3
{
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  margin-top: 10px;
  color: #a6205a;
}


h2
{
    margin-bottom: 50px;
    color: #a6205a;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 200;
    line-height: 1.40;

}

header h3
{
  letter-spacing: 0.1em;
  font-size: 19px;
  font-weight: 200;
  line-height: 1.4;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
}

header h4
{
    color: #a6205a;
}

h2.left
{
  font-size: 3.7rem;
  font-weight: 600;
  line-height: 0.9;
  text-align: right;  
}

h2.right
{
  font-size: 1.4rem;
  font-weight: 200;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-align: left; 
  padding-top: 0px;
}

h2.left, h2.right
{
  width: 40%;
  float: left;
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;  
}


h2 h3, h2.right h3,  h2+p
{
   clear:both; 
}


div#fonction
{
  position: absolute;
  bottom: 0;
}


p, li 
{
   /* font-size: 13px;*/
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0;
}

strong
{
	font-weight: normal;
	color: #1d8ee5;	
}

.blue 
{
  color: #1d8ee5;
}

/*.colonne-droite, .colonne-gauche 
{
  width: 50%;
}
*/


/* Header */

header
{
  /*background: url(../images/bandeau.png) center;*/
  background: url(../images/bandeau.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 400px;
  position: relative;
  top: 0;
  left: 0;
  min-width: 320px;
}




/* Menu */

nav
{
  font-family: "open_sansregular", Helvetica, Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: bold;
  position: absolute;
  top: 50px;
  right: 0;
}

nav ul
{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style-type: none;
}

nav ul li
{
  background-color: #a6205a;
  margin: 1px;
  width: 100px;
  height: 30px;
  text-align: center;
}

nav a
{
  text-decoration: none;
  color: white;
}

nav li:hover
{
  background-color: #ce5c8d;
}



/* Sections */
section
{
  width: 80%;
  margin: auto;
  background-color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 60px;
  padding-bottom: 60px
}

section#formation li h2, section#experience li h2
{
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Accueil*/
section div
{
  /*background: url(../images/bandeau.png) center;*/
  background: url(../images/banderole.png) no-repeat center fixed;
/*  -webkit-background-size: cover;
  background-size: cover;*/
  width: 100%;
  height: 277px;
  position: relative;
  top: 0;
  left: 0;
  min-width: 320px;
}

/* Réalisation*/

div#overlay 
{
    /*display : none;*/ /* Par défaut, on cache l'overlay */
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    text-align: center; /* Pour centrer l'image que l'overlay contiendra */

    /* background de couleur noire et d'opacité 0.6.*/
    background-color: rgba(0,0,0,0.8);
}

div#overlay h3
{
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    margin-top: 30px;
    margin-bottom: 10px;
    color: white;
}

div#overlay img 
{
    margin-top: 20px;
}

div#overlay p
{
   margin-top: 20px;
}

div#overlay:target 
{
  /** Remove default browser outline */
  outline: none;

  /** Unhide lightbox **/
  display: block;
}

/* Réalisations */

section#realisations form button
{
  position: relative;
}

/* Mise en place  */ 
section#realisations ul 
{
  margin-left:40px;
  list-style: none;
  padding-right:22px;
}

section#realisations  ul li 
{
  display: inline-block;
  width: 250px;
  height: 250px;
  margin:30px;
  float: left;
  margin: 20px;
}

section#realisations ul li a 
{
  position: relative;
  top:20px;
  left:20px;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  z-index: -1;
}

section#realisations ul li a :hover
{
  position: relative;
  top: -17px;
  left:-17px;
  width: 95%;
}

section#realisations button 
{
  display:inline-block;
  background-color: rgba(255,255,255,0);
  width:248px;
  height:170px;
  top: -150px;
  z-index: 99;
  cursor: zoom-in;
}

#interet
{
  clear: both;
}



/* Formulaire de Contact */

section#contact input, section#contact textarea
{
  border: 1px solid #a6205a;
  padding: 4px 0;
  font-size: 0.8rem;
  margin: 5px;
  width: 90%;
}

section#contact input
{
  height: 1.6rem;

}

section#contact form
{
  width: 50%;
  margin: auto;
  min-width: 20em;
}



section#contact .erreur
{
  color: red;
}



/* Footer */
footer 
{
  background-color: #1c1c1c;
  text-align: center;
  height: 15%;
}

footer div
{
  background-color: #37353a;
  padding: 20px 0;
}

footer div img
{
  margin: 10px;
  width: 40px;
  height: 40px;
  display: inline-block;
}

footer p
{
  height: 20%;
}