/* GENERAL STRUCTURES */

* {
  margin: 0;
  padding: 0px;
  font-family: 'Lato', sans-serif;
}

body {
  background: #fff;
  margin: 0;
  color: #5a5a5a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

p {
  padding: 0;
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #666;
  margin-top: 10px;
}

html, body {
  height: 100%;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
  clear: both;
}

.centered {
  text-align: center
}

.mt {
  margin-top: 50px;
  overflow: hidden;
}

.mb {
  margin-bottom: 50px;
}

.mtb {
  margin-top: 50px;
  margin-bottom: 50px;
}

.mtb2 {
  margin-top: 100px;
  margin-bottom: 100px;
}

.ptb {
  padding-top: 80px;
  padding-bottom: 80px;
}

.clear {
  clear: both;
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  width: 100%;
}

::-moz-selection {
  color: #fff;
  text-shadow: none;
  background: #2B2E31;
}

::selection {
  color: #fff;
  text-shadow: none;
  background: #2B2E31;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  padding: 0;
  margin: 0;
  text-decoration: none;
  -webkit-transition: background-color .4s linear, color .4s linear;
  -moz-transition: background-color .4s linear, color .4s linear;
  -o-transition: background-color .4s linear, color .4s linear;
  -ms-transition: background-color .4s linear, color .4s linear;
  transition: background-color .4s linear, color .4s linear;
  color: #1abc9c;
}

a:hover, a:focus {
  text-decoration: none;
  color: #696E74;
}

/* NAVIGATION */
.content {
      width: 94%;
      margin: 4em auto;
      font-size: 20px;
      line-height: 30px;
      text-align: justify;
}

.logo {
      line-height: 30px;
      position: fixed;
      float: left;
      margin: 16px 40px;
      color: #fff;
      font-weight: bold;
      font-size: 25px;
      letter-spacing: 2px;
}

nav {
      position: fixed;
      width: 100%;
      line-height: 50px;
      z-index: 2;
}

nav ul {
      line-height: 30px;
      list-style: none;
      background: rgba(0, 0, 0, 0);
      overflow: hidden;
      color: #fff;
      padding: 0;
      text-align: right;
      margin: 0;
      padding-right: 40px;
      transition: 1s;
}

nav.black ul {
      background: #222222;
}

nav ul li {
      display: inline-block;
      padding: 16px 40px;;
}

nav ul li a {
      text-decoration: none;
      color: #fff;
      font-size: 20px;
}

.menu-icon {
      line-height: 30px;
      width: 100%;
      background: #222222;
      text-align: right;
      box-sizing: border-box;
      padding: 15px 24px;
      color: #fff;
      display: none;
}
.btn {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 1px solid white;
    color:  white;
    cursor: pointer;
    overflow: hidden;
}

@media(max-width: 1300px) {

      .logo {
            position: fixed;
            top: 0;
            margin-top: 16px;
            color: white;
      }

      nav ul {
            max-height: 0px;
            background: #222222;
      }

      nav.black ul {
            background: #222222;
      }

      .showing {
            max-height: 34em;
      }

      nav ul li {
            box-sizing: border-box;
            width: 100%;
            padding: 24px;
            text-align: center;
      }

      .menu-icon {
            display: block;
      }
      .btn {
        margin-left:45%;
        margin-right:45%;
        margin-bottom:5%;
      }
}

/* HEADER SECTION */

#h {
  background: url(../img/frame.jpg) no-repeat center top;
  background-size: 150%;
  padding-top: 120px;
  text-align: center;
  background-attachment: relative;
  min-height: 600px;
}

#profile {
  position: center relative;
  clip-path: ellipse(50% 50%);
  border: 2px solid #222222;
  border-radius : 50%
}

#h h1 {
  font-weight: 900;
  color: #222222;
  font-size: 70px;
}

#h h2 {
  color: #222222;
  font-weight: 500;
  font-size: 25px;
}

@media (max-width: 768px) {
  #h {
    padding-top: 120px;
    min-height: 600px;
  }

  #h h1 {
    font-size: 50px;
  }
}

/* Présentation */

#w {
  background: #222222;
  padding-bottom: 50px;
  padding-top: 50px;
  color: white;
}

#w h4 {
  font-size: 25px;
}

#w i {
  color: white;
  margin-left: 10px;
  font-size: 25px;
}

/* Formations */

#Formations {
  padding-bottom: 50px;
  padding-top: 50px;
  background: #A0C7AF;
  min-height: 700px;
  color: white;
}

#Formations h1 {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
}

#Formations p {
  color: white;
  font-size: 16px;
}

/* Expériences */

#Expériences {
  background: #43756F;
  padding-bottom: 50px;
  padding-top: 50px;
  min-height: 700px;
  color: white;
}

#Expériences h1 {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  
}

#Expériences p {
  color: white;
  font-size: 16px;
}

/* Compétences */

#Compétences {
  padding-bottom: 50px;
  padding-top: 50px;
  background: #A0C7AF;
  min-height: 700px;
  color: white;
}

#Compétences h1 {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
}

#Compétences p {
  color: white;
  font-size: 16px;
}

/* Portfolio */

#Portfolio {
  padding-bottom: 50px;
  padding-top: 50px;
  background: #43756F;
  min-height: 700px;
  color: white;
}

#Portfolio h1 {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
}
.slide {
  width: 50%;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;

}

@media (max-width: 1000px) {
  .slide {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  }
}

 /*Contact */

#Contact {
  background: #A0C7AF;
  padding-bottom: 50px;
  padding-top: 50px;
  min-height: 700px;
  color: white;
}

#Contact h1 {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  
}

#Contact p {
  color: white;
  font-size: 16px;
}

/* Copyrights */

#copyrights {
  background: #222222;
  padding: 20px 0;
  text-align: center;
}

#copyrights p {
  margin-bottom: 5px;
  color: #fff;
}

#copyrights a {
  color: #03C9A9;
}

.credits {
  color: #999;
}
