@font-face {
   font-family: 'BebasNeueBold';
    src : url('Font/BebasNeueBold.ttf') format('truetype');
}

@font-face {
   font-family: 'BebasNeueLight';
    src : url('Font/BebasNeueLight.ttf') format('truetype');
}

@font-face{
    font-family: 'Watermelon';
    src : url('Font/Watermelon.ttf') format('truetype');
}

@font-face{
    font-family: 'Century Gothic';
    src : url('Font/Century Gothic.ttf') format('truetype');
}

body{
  width: 100%;
  height: 100%;
  margin:0;
  padding: 0;
}

/*
nav {
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
    width: auto;

    position: static;
    top: 0px;
    bottom: auto;
}

nav ul {
    text-align: right;
    z-index: 5;
}

nav li {
    display: inline-block;
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 1%;
}
*/
#menuToggle {
  display:none;
}

header {
    position: fixed;
    z-index: 11;
}

#logo {
    text-align: left;
    width: 15%;
}

.nav {
  display: flex;
  align-items:center;
  width:100%;
  font-size:20px;
  color:#fff;
  position:fixed;
  z-index:10;
  background-color: transparent;
  transition: 0.3s;
}

.scrolled{
  background-color: white;
  color: #0002E1;
  box-shadow: 0px 1px 15px 0px #adadad;
  transition: 0.3s;
}

ul {
  list-style:none;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

#menu li:nth-child(3){

    margin-right: 4%
}

#menu li {
  margin-right: 2%;
}

.sticky {
  position:fixed;
  top:0;
}

.choixNav {
    display: inline-block;
    cursor: pointer;
    color : white;
    text-decoration: none;
    font-family: 'BebasNeueBold';
    font-size: 24pt;
    position: relative;
}

nav .choixNav::before{
    content: "";
    position: absolute;
    overflow: hidden;
    border-bottom: 2px solid #0002E1;
    transition: width 0.4s;
    width: 0%;
    top: 105%;
}

nav .choixNav:hover::before {
	width: 100%;
}

a {
  text-decoration: none;
}

/*== Sections ==*/
section {
  /*padding:450px;*/
  /*text-align:center;*/
  color:white;
  background:white;
  border-top:1px solid white;
  margin:0;
}

section:nth-child(even) {
  background:white;
  } /*on différencie la couleur 1 section sur 2*/

/* HAUT */


#mysect1 {
  background-image: url(Images/Photo_bw.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 0;
  height: 100vh;
}

#monNom{
    color: white;
    position: absolute;
    bottom: 0;
    right: 6%;
    font-family: 'Watermelon';
    font-size: 60pt;
    font-weight: normal;

}


.round{
    width: 95px;
    height: 95px;
    display: flex;
    justify-content: center;
    cursor: pointer;

}

.round:after {
    content: " ";
    border: white 2px solid;
    border-radius: 50%;
    width: 95px;
    height: 95px;
    position: absolute;
}

.round:hover:after {
  border: #0002E1 2px dotted;
  border-radius: 50%;
  animation: rondScl 0.5s ease-in-out forwards
}

@keyframes rondScl {
  0%{
    transform: scale(1);
  }
   100% {
     transform: scale(1.5);
   }
}

.round#moi {
    margin-left: 8vw;
    margin-top: 25vh;
}

.round#parcours {
    margin-left: 20vw;
    margin-top: 10vh;
}

.round#skills {
    margin-left: 11vw;
    margin-top: 10vh;
}

.round p{
    font-family: 'BebasNeueBold';
    font-size: 20pt;
    color: white;
    margin-top: 32.5px;
    margin-bottom: 32.5px;
    height: 30px;
    z-index: 3;
}


@-webkit-keyframes rotate{ to{-webkit-transform: rotate(360deg); } }
@keyframes         rotate{ to{        transform: rotate(360deg); } }

.round:hover p{
     color: #0002E1;
}


/**/

/*#motionD{

    justify-content: center;
    display: flex;
}

video{

    width: 50%;
    height: 50%;
    margin-top: 20vh;

} */

h1{
  margin: 2%;
  text-align: left;
  font-family: 'BebasNeueBold';
  font-size: 125pt;
  color: white;
}

/* POPUP */

#popMoi {
  top : 25%;
  bottom: 25%;
  display: none;
  border: 3px solid white;
  border-radius: 13px;
  width: 40%;
  height: 50%;
  background-color: transparent;
  text-align: justify;
  padding: 8px 0;
  position: absolute;
  z-index: 10000;
  left: 30%;
  right: 30%;
  cursor: pointer;
}

#popMoi button {
  background-color: transparent;
  border: 1.5px solid white;
  border-radius: 13px;
  width: 16%;
  height: 10%;
  font-size: 80%;
  color: white;
  position: absolute;
  bottom: 2%;
  left: 42%;
  right: 42%;
  text-align: center;
 text-decoration: none;
 margin: 4px 2px;
 cursor: pointer;
}

#popMoi button:hover {
border: 2px solid #0002E1;
color: #0002E1;

}

#popParcours {
  top : 25%;
  bottom: 25%;
  display: none;
  border: 3px solid white;
  border-radius: 13px;
  width: 40%;
  height: 50%;
  background-color: transparent;
  text-align: justify;
  padding: 8px 0;
  position: absolute;
  z-index: 10000;
  left: 30%;
  right: 30%;
  cursor: pointer;
}

#popSkills {
  top : 25%;
  bottom: 25%;
  display: none;
  border: 3px solid white;
  border-radius: 13px;
  width: 40%;
  height: 50%;
  background-color: transparent;
  text-align: justify;
  padding: 8px 0;
  position: absolute;
  z-index: 10000;
  left: 30%;
  right: 30%;
  cursor: pointer;
}

.popuptext {
  color: white;
  font-size: 2vh;
  margin-right: 8%;
  margin-top: 8%;
  font-family: 'Century Gothic';
}

.roundPop {
  width: 95px;
  height: 95px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 6;
  top: -13%;
  left: -8%;
  border-radius: 50%;
  background-color: #0002E1;
}

.roundPop p {
  font-family: 'BebasNeueBold';
  font-size: 20pt;
  color: white;
  margin-top: 32.5px;
  margin-left: 47.5px;
  margin-right: 47.5px;
}

.modal-backdrop {
  background-color: rgba(0,0,0,0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  visibility:hidden;
}

.ligne_verticale {
width:5px;
border-left:1px solid white;
height:40px;
display: flex;
justify-content: center;
position: absolute;
left: 40%;
}

#mysect1 #popParcours{
  flex-direction: column;
  text-align: center;
}

#popParcours .popuptext {
  margin: 0;
  margin-top: -2%;
  padding-top: 2%;
}

#compLang {
  width: 500px;
  height: 400px;
  position: absolute;
}

#popSkills {
  justify-content: center;
}

#roundPopSkill {
  left: -48%
}


/* MES RÉALISATIONS*/


#real {
  color: #0002E1;
}

#filtre{
  display: flex;
  justify-content: center;
  margin-top: 7%;
  padding: 0;
}

#filtre a {
  font-family: 'Century Gothic';
  color: #0002E1;
  font-size: 16pt;
}

#filtre li {
  margin-right: 2%;
  margin-left: 2%;
}

#filtre a:hover {
	text-decoration: underline;
  transition: 0.4s;
}

.realRond {
  display: flex;
  justify-content: center;
}

.imgRonde {
  width: 250px;
  height: 250px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -khtml-border-radius: 50%;
  border-radius: 50%;
  margin : 4%;
  margin-bottom: 3%;
  margin-top: 3%;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.titre {
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: black;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    text-decoration: none;
    font-family: 'Century Gothic';
    color: white;

    transition: opacity 0.4s ease;
  }

  .titre:hover {
    opacity: 0.8;
}

/* PAGE REAL */

@keyframes AutoSlide {
	0%, 15%, 100% {
		left: 0px; /*1ère image*/
	}
	35%, 50% {
		left: -150px; /*2ème image*/
	}
	70%, 85% {
		left: -300px; /*3ème image*/
	}
}

#slideshow {
	position: relative;
	width: 500px;
	height: 150px;
	margin: 20px auto;
	overflow: hidden;
}
#sContent li {
	display: inline;
}

#sContent {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	margin: 0;
	padding: 0;

	/*CSS3 keyframes animation*/
	animation-name: AutoSlide;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

/* CONTACT */

#mysect3 {
  background-color: #0002E1;
  color: white;
}

form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  color: #0002E1;
  margin-left: 20%;
  margin-right: 20%;
}

.formulaireContact{
  display: flex;
  justify-content: center;
  height: auto;
  /*box-shadow: 0px 0px 9px 0px #656565;
  border-radius: 10px;
  background-color: #ee9c0e;*/
  margin-left: 10%;
  margin-right: 10%;
}

input[type="text"], textarea{
  border: none;
  border-bottom: solid 0.5px white;
  margin-bottom: 20px;
  font-size: 20px;
  background-color: #0002E1;
  color: white;
  width: 100%;
}

label {
  font-family: 'BebasNeueLight';
  font-size: 40pt;
  margin-bottom: 20px;
  margin-right: 20px;
  color: white;
}

#NomPrenom, #mail{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

input[type="submit"] {
  margin-top: 20px;
  margin-bottom: 20px;
  background: none;
  border: solid 1.5px white;
  width: 60%;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'BebasNeueBold';
  font-size: 24px;
  color: white;
  cursor: pointer;

}

input[type="submit"]:hover{
  background-color: white;
  color: #0002E1;

}

.btnEnvoyer {
  display: flex;
  justify-content: center;
  cursor: pointer;
}

input[type="text"]:focus, textarea:focus{
  outline: none;
}

/*footer {
  color: black;
}*/


/* FOOTER */

footer{
  height: 100px;
  width: 100%;
  color: black;
  display: flex;
  justify-content:space-around;
  align-items: center;
  background-color: transparent;

}

footer img {
  width: 100px;
  height: auto;
}

.footMail {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footMail img {
  width: 40px;
  height: auto;
  padding-bottom: 1.5vh;
}

footer p {
  margin: 0;
  font-family: 'BebasNeueBold';
}





/* Mobile Styles */
@media only screen and (max-width: 600px) {

  header {
    width: 60%;
  }

  #logo {
    width: 35%;
  }

  #mysect1 {
    background-image: url(Images/Photo_bw_mobile.jpg);
  }

  #menu {
    flex-direction: column;
    text-align: right;
}

#menu li:nth-child(3) {
  margin: 0;
  margin-right: 2%;
}

  .choixNav {
    font-size: 25pt;
    padding-right: 5%;
  }
/****************** MENU BURGER ********************************/

body
{
  margin: 0;
  padding: 0;

  /* make it look decent enough */
  font-family: "BebasNeueBold" sans-serif;

  overflow-x: hidden; /* needed because hiding the menu on the right side is not perfect,  */
}

a
{
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}


#menuToggle
{
  display: block;
  position: fixed;
  z-index: 11;
  top: 50px;
  right: 50px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#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;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #0002E1;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s 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: #0002E1;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 150px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: -100px 0 0 0;
  padding: 50px;
  padding-top: 125px;
  padding-bottom: 800px;
  right: -100px;

  /*background: #ededed;*/
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}

.choixNav {
    display: inline-block;
    cursor: pointer;
    color : white;
    text-decoration: none;
    font-family: 'BebasNeueBold';
    font-size: 24pt;
    position: relative;
}


#menu:hover::before a{
     content: "";
    position: absolute;
    overflow: hidden;
    border-bottom: 2px solid #0002E1;
    transition: width 0.4s;
    top: 105%;
    width: 100%;
}


/****************** FIN MENU BURGER *******************************/
  #monNom {
    font-size: 20pt;
  }

  .round p {
    font-size: 13pt;
  }

  .round:after {
    width: 75px;
    height: 75px;
  }

  #popMoi, #popParcours, #popSkills {
    flex-direction: column;
    top: 0;
    right: 0;
    left: 10%;
    bottom: 50%;
    border: none;
    height: 90%;
    text-align: justify;
    cursor: pointer;
    width: 80%;
    justify-content: center;
    align-items: center;
  }

  .popup#popMoi {
    left: 3%;
  }

.roundPop {
    border-radius: 0;
    z-index: 20;
    top: 0;
    left: 0;
    padding-left: 20%;
    padding-right: 20%;
    text-align: center;
}

#roundPopSkill {
  left: 0;
  top: -35%;
}

#popMoi, #popParcours .popuptext {
  margin: 10%;
}

h1 {
  font-size: 42pt;
}

.realRond {
      align-items: center;
      flex-direction: column;
}

.imgRonde {
  width: 200px;
  height: 200px;
}

.titre {
  opacity: 1;
  background-color : #00000073;
}

.formulaireContact {
  margin-top: 10%;
  margin-left: 0;
  margin-right: 0;
}

form {
  flex-direction: column;
  margin-left: 10%;
  margin-right: 10%;
  width: 80%;
}


label {
  font-size: 20pt;
}

footer a, .footMail {
  display: none;
}

footer p {
  font-family: 'BebasNeueBold';
}

#NomPrenom, #mail {
  flex-direction: column;
  width: 70%;
}

}
