
.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.5s ease-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: #fff;
    transition: all 0.5s ease-out; }
  .menu-btn.close {
    transform: rotate(180deg); }
    .menu-btn.close .btn-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px); }
    .menu-btn.close .btn-line:nth-child(2) {
      opacity: 0; }
    .menu-btn.close .btn-line:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px); }

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.9;
  visibility: hidden; }
  .menu.show {
    visibility: visible; }
  .menu-branding, .menu-nav {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50%;
    height: 100vh;
    overflow: hidden; }
  .menu-nav {
    margin: 0;
    padding: 0;
    background: #373737;
    list-style: none;
    transform: translate3d(0, -100%, 0);
    transition: all 0.5s ease-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu-branding {
    background: #444;
    transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0); }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;

      border-radius: 50%;
      border: solid 3px #d433ff ; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 0.5s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #d433ff; }
  .menu .nav-link {
    display: inline-block;
    position: relative;
    font-size: 30px;
    text-transform: uppercase;
    padding: 1rem 0;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease-out; }
    .menu .nav-link:hover {
      color: #d433ff; }

.nav-item:nth-child(1) {
  transition-delay: 0.1s; }

.nav-item:nth-child(2) {
  transition-delay: 0.2s; }

.nav-item:nth-child(3) {
  transition-delay: 0.3s; }

.nav-item:nth-child(4) {
  transition-delay: 0.4s; }

* {
  box-sizing: border-box; }

body {
  background: #444;
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5; 
overflow: auto; }
  body#bg-img {
    background: url(../img/background.jpg);
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 140%;
      z-index: -1;
      background: rgba(68, 68, 68, 0.5); }

h1,
h2 {
  margin: 0;
  font-weight: 400; }
h3 {
  margin: 0;
  font-weight: 400;
    color:  #d433ff; }
h6 {
    text-align: center;
}


  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    font-size: 6rem; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    margin-bottom: 2rem;
    padding: 0.2rem 1rem;
    background: rgba(73, 73, 73, 0.5); }



a {
  color: #fff;
  text-decoration: none; }


button {
        
        display: none;
        margin: auto;
        
        transform: translate (-50%; -50%);
        background : none;
        width: 200px;
        height: 50px;
        border: 1px solid  #d433ff ;
        font-size: 20px;
        border-radius: 5px;
        top: 70%;
        left: 45%;
    color: white;
    transition: .6s;
    overflow: hidden;
    
         }

button:before {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255,255,255,0.5);
    width: 60px;
    height: 100px;
    left: 0;
    top:0;
    opacity: 0.5s;
    filter: blur(30px);
    transform: translateX(-130px) skewX(-15deg); 
          }
    
button:after {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255,255,255,0.9);
    width: 90px;
    height: 100px;
    top: 0;
    opacity: 0;
    filter: blur(90px);
    transform: translate(-100px) scaleX(-15deg);
    
}

button:hover {
    background: #eece1a;
    cursor: : pointer;
    
}

button:hover:before {
    transform: translateX(300px) skewX(-15deg);
    opacity: 0.9s;
    transition: 2s;
}

button:hover:after {
    transform: translateX(300px) skewX(-15deg);
    opacity: 0.6s;
    transition: 2s;
}


header {
  position: fixed;
  z-index: 2;
  width: 100%; }

.text-secondaire {
  color: #d433ff; }

main {
  padding: 5rem;
  min-height: calc(100vh - 60px); }
 .logos {
display: flex;
justify-content: center;}
     .logos {
      padding: 0.4rem; }
       .logos a:hover {
        color: #d433ff;
        transition: all 0.5s ease-out; }
  main#home {
    overflow: hidden; }
    main#home h1 {
      margin-top: 20vh;
font-family: 'Nunito Sans', sans-serif;
font-weight: 700;}
main .ind {
    color: #d433ff; 
    transition: all 0.5s ease-out;
}
main .ind:hover {
    color: white !important;
}


.profil-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: 'bioimage bio bio' 'job1 job2 job3';
  grid-template-columns: repeat(3, 1fr); }
  .profil-info .bio-image {
    grid-area: bioimage;
    margin: auto;
    border-radius: 50%;
    border:  #d433ff  3px solid; }
  .profil-info .bio {
    grid-area: bio;
    font-size: 1.5rem; }
  .profil-info .job-1 {
    grid-area: job1; }
  .profil-info .job-2 {
    grid-area: job2; }
  .profil-info .job-3 {
    grid-area: job3; }
  .profil-info .job {
    background: #515151;
    padding: 0.5rem;
    border-bottom:  #d433ff  5px solid; }

.projets {
  display: grid;
  grid-gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr); }
  .projets img {
    width: 100%;
    border: 3px #fff solid; }
    .projets img:hover {
      opacity: 0.5;
      border-color:  #d433ff;
      transition: all 0.5s ease-out; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem; }
  .boxes div {
    font-size: 2rem;
    border: 3px #fff solid;
    padding: 1.5rem 2.5rem;
    margin-bottom: 3rem;
    transition: all 0.5s ease-out; }
    .boxes div:hover {
      padding: 0.5rem 1.5rem;
      background: #d433ff;
      color: #000; }
      .boxes div:hover span {
        color: #000; }

.btn, .btn-dark, .btn-light {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem; }
  .btn:hover, .btn-dark:hover, .btn-light:hover {
    background: #d433ff;
    color: #000; }

.btn-dark {
  background: black;
  color: #fff; }

.btn-light {
  background: #c4c4c4;
  color: #333; }


#main-footer {
  text-align: center;
  padding: 1rem;
  background: #2b2b2b;
  color: #fff;
  height: 60px; }




@media screen and (min-width: 1171px) {
  .projets {
    grid-template-columns: repeat(4, 1fr); } }

@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projets {
    grid-template-columns: repeat(3, 1fr); }
 main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem; 
      font-size: 4rem;
    }
   
    }

@media screen and (max-width: 768px) {
    body {overflow: scroll; !important}
    main { 
    align-items: center;
    text-align: center; }
    main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem;
      margin-top: 2rem;
      font-size: 4rem;
    }
    
    h3 {margin-top: 15%;
font-size: 16px;
    font-weight: 400;}
    
  ul.menu-nav,
  div.menu-branding {
    float: none;
    width: 100%;
    min-height: 0; }
    ul.menu-nav.show,
    div.menu-branding.show {
      transform: translate3d(0, 0, 0); background: #111;}
  .menu-nav {
    height: 75vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      background: url("../img/portrait_small.jpg");
      width: 150px;
      height: 150px; }
  .profil-info {
    grid-template-areas: 'bioimage' 'bio' 'job1' 'job2' 'job3';
    grid-template-columns: 1fr; }
  .projets {
    grid-template-columns: repeat(2, 1fr); } }

@media screen and (max-width: 500px) {
  main {
    padding: 2rem; }
    main #home h1 {
      margin-top: 10vh; }
    main .lg-heading {
      margin-top: 2rem;
      font-size: 3rem; }
  .projets {
    grid-template-columns: 1fr; } }
