html {
  scroll-behavior: smooth;
}


body {
  margin: -2.5%;
  margin-top: -50px;
  bottom: 5000px;
  background-color: rgb(25,35,35);
  /*background: linear-gradient(0.25turn, rgb(50,75,75), rgb(75,62.5,75)); */
  /*background-image:url('backgroundGif.gif');*/
  background-position: center;
  background-size: cover;
  height: 100%;
  width: calc(100% - 0.5%);
  font-family: Arial;
  transition: transform .1s;
}

.nav {
  padding: 2.5%;
}

.main {
  padding: 25px;
  padding-left: 100px;
  flex: 1;
  text-align: center;
}

.burger {
  margin-bottom: -20px;
}

h1, h2, h3, h4, h5 {
	color: white;
}

h1, h2, h3, h5 {
  text-align: center;
}

h3, h4 {
  font-size: 20px;
}

h1, h5 {
	font-size: 50px;
}

h2 {
	font-size: 35px;
}

h4 {
  text-align: justify;
}

h5 {
  margin-bottom: 7.5vh;
}

h6 {
  display: inline;
  margin: 0px; /*Important*/
}

div {
	margin-right: auto;
	margin-left: auto;
}

#stage {
  rotate: 0deg;
  margin-left: -22.5px;
  margin-right: 2.5px;
}

#lien {
  text-align: center;
}

#lien:hover {
  transform: scale(1.2);
}

#photo{
  width: 197px;
  height: auto;
  float: right;
  border: 5px solid white;
}

#photobis {
  float: justify;
}

#photoeau {
  width: 603px;
}

#photoeau, #photobureau, #photomacrium, #photopandas {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px; 
  border-radius: 10px;  
}

#photoeau, #photoghost, #photomacrium, #photopandas, #photorequea{
  float: center;
  height: auto;
}

#photoghost {
  width: 110px;
  margin-right: 5%;
}

#photopandas {
  width: 640px;
}

#photoasw {
  width: 400px;
}

#photorequea {
  width: 671.5px;
}

#imagecv{
  width: 257.5px;
}

#imageveille{
  width: 244px;
}

#imagevoltaire{
  width: 246px;
}

#imageWPF{
  width: 50%;
  float: center;
}

#imageJeu {
  width: 1374px;
  float: center;
}

.image3D {
  width: 20%;
  float: center;
}

.imageBlender {
  width: 30%;
  float: center;
}

#imagecv, #imageveille, #imagevoltaire, #imagestage, #imageWPF, #imageJeu, .image3D, .imageBlender{
  height: auto;
  border: 5px solid black;
}

#imagecv, #imageveille, #imagevoltaire, #imagestage, #bouton_choix{
  transition: transform .25s;
}

#imagecv:hover, #imageveille:hover, #imagevoltaire:hover, #imagestage:hover{
-ms-transform: scale(1.25); /* IE 9 */
-webkit-transform: scale(1.25); /* Safari 3-8 */
transform: scale(1.25);
}

#bouton_cv{
  width: 200px;
  height: 80px;
  color: white;
  background-color: black;

  font-size: 20px;
  font-family: Arial;
  font-weight: bold;
  text-align: center;

  transition: background-color 0.25s;
  border-radius: 10px;
}

#bouton_certificat{
  width: 100px;
  height: 50px;
  color: white;
  background-color: black;
}

.bouton_choix{
  width: 400px;
  height: 250px;

  color: white;
  background-color: black;

  font-family: Arial;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  border-radius: 20px;
  transition: background-color 0.25s;
}

.bouton_choix:hover, #bouton_cv:hover {
  background-color: rgb(125,125,125);
  color: white;
}

#lienWeb {
  color: rgb(255,155,155);
  transition: color 0.3s;
}

#lienWeb:hover{
  color: tomato;
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  padding-top: 100px;
}

.wave {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 500px;
  left: 0px;
  overflow: hidden;
  z-index: -1;
  opacity: 1;
}

svg {
  top: 0;
  left: 0;
}

.container {
  display: inline-block;
  position: relative;
  height: 200px;
  width: calc(100% - 50px);
  vertical-align: middle;
  overflow: hidden;
  opacity: 0.5;
}


iframe{
  text-align: center;
  border: 5px solid black;

  -moz-border-radius: 8px;
  -webkit-border-radius: 8px; 
  border-radius: 10px;  
}

input, textarea
{
  font-size: 20px;
  color: black;
  font-family: Arial;
}

input:
{
  height: 30px;
  width: 250px;
}

textarea
{
  height: 130px;
  width: 500px;
}

fieldset
{
  border: 5px solid white;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px; 
  border-radius: 10px;  
}

.left {
  float: left;
}
 
.right {
  float: right;
}

#back_color {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 115%;
  background-color: rgb(25,35,35);
  left: 0%;
  top: 65%;
  z-index: -1;
}



.brmenu {
  margin-top: 4vh;
}

.br1 {
  margin-top: 11vh;
}

.br2 {
  margin-top: 9.75vh;
}

.br3 {
  margin-top: 15vh;
}

.br4 {
  margin-top: 8vh;
}

.br5 {
  margin-top: 2vh;
}

.br6 {
  margin-top: 13vh;
}

.br7 {
  margin-top: 20vh;
}

.br8 {
  margin-top: 28vh;
}

.br9 {
  margin-top: 35vh;
}



.decor {
  position: absolute;
  z-index: -1;
}

/* Les triangles apparaissant pour le menu */

.gauche1 {
  margin-left: 5%;
}

.gauche2 {
  margin-left: 15%;
}

.droite1 {
  margin-left: 80%;
}

.droite2 {
  margin-left: 85%;
}

.center1 {
  margin-left: 40%;
}

.center2 {
  margin-left: 50%;
}

/* Pour faire tourner en boucle les triangles */

.rotate {
  animation: rotation 20s infinite linear;
}

.fast-rotate {
  animation: rotation 8s infinite linear;
}

@-moz-keyframes rotation {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes rotation {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes rotation {
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}

#togg1 {
  margin-right: 5%;
}

.black {
  color: black;
}

.currentPage {
  font-weight: 800;
}



#toggPPE1 {
  margin-right: 5%;
}

.bouton_ppe{
  width: 400px;
  height: 250px;

  color: white;
  background-color: black;

  font-family: Arial;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  border-radius: 20px;
  transition: background-color 0.25s;
}

.bouton_ppe:hover {
  background-color: rgb(125,125,125);
  color: white;
}



#menuToggle
{
  display: block;
  position: fixed;
  top: 5%;
  left: 2.5%;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-sel.currentPageect: none;
}

#menuToggle a
{
  text-decoration: none;
  color: white;
  font-size: 25px;
  transition: color 0.3s;
  /*transition: transform .1s;*/
}

#menuToggle a:hover
{
  color: tomato;
  /*font-size: 30px;*/
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */

  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/* Le menu burger */

#menu
{
  position: absolute;
  -webkit-position: absolute;
  width: 1000%;
  min-height: 100vh;
  margin-left: -300%;
  margin-top: -300%;
  padding: 200%;
  padding-top: 20%;
  -webkit-backface-visibility: hidden;
  font-weight: bold;
  display: inline-block;
  background: rgb(45,95,70);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */


  transform-origin: 0% 0%;
  transform: translate(-150%, 0);
          
  transition: transform .5s cubic-bezier(0.77,0.2,0.05,1.0);
  border-top: 7px solid black;
  border-right: 7px solid black;

  box-shadow: 0 0 200px 0 #042019;
}

/* La case qui crée le flou et contient les triangles */

#decor {
  position: absolute;
  -webkit-position: absolute;
  width: 150vh;
  min-height: 100vh;
  margin-left: 1110%;
  margin-top: -300%;
  padding: 200%;
  padding-top: 20%;
  -webkit-backface-visibility: hidden;
  font-weight: bold;
  display: inline-block;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: transparent;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-200%, 0);

  transition: transform .5s cubic-bezier(0.77,0.2,0.05,1.0);
  border-top: 1px solid black;
}

/*Icône du menu burger*/

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: rgb(100,200,150);
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.85s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.85s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.85s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */


#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */

#menuToggle input:checked ~ span:nth-last-child(3)
{
  transform: rotate(-45deg) translate(0px, -4px);
}



#menuToggle input:checked ~ span:nth-last-child(4)
{
  opacity: 0;
  transform: rotate(45deg) scale(0.2, 0.2) translate(0px, -15px);
}

/*
 * Ohyeah and the last one should go the other direction
 */





#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */





#menu li
{
  padding: 1vh;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */



#menuToggle input:checked ~ ul
{
  transform: none;
}



#scroll-top {
  display: block;
  width: 42px;
  height: 32px;
  position: fixed;
  top: 90%;
  left: 95%;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */

  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

#img-scroll {
  position: fixed;
  top: 91.5%;
  left: 95.75%;
}