@font-face {
    font-family: 'Chakra';
    src: url(fonts/ChakraPetch-Regular.ttf) format(truetype);
}

@font-face {
    font-family: 'Helvetica';
    src: url(fonts/HelveticaNeue.ttc) format(truetype);
}

* {margin:0; padding:0;box-sizing:border-box;}

/** {outline:2px solid #f0f; outline-offset:-2px;} */

/* HEADER */

header {
  font-family: 'Chakra';
  padding-left:30px;
  padding-right: 72px;
  padding-top:5px;
  display:flex;
  justify-content: space-between;
}

.header-container {
  display: flex;
  align-items: center;
}

.arnaudbeites {
  padding-right:1.125rem;
  display:flex;
}

.arnaudbeites a {
  text-decoration: none;
  color: #000000;
  z-index: 1;
  transition: color 0.4s ease-in-out;
}

.arnaudbeites a::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s ease-in-out; 
}

.arnaudbeites a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000; 
}

.arnaudbeites a:hover {
  color: #ffffff; 
}

.pourmobile {
  padding-right:1.125rem;
  display:flex;
}

.pourmobile a {
  text-decoration: none;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease-in-out;
}

.pourmobile a::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s ease-in-out; 
}

.pourmobile a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000; 
}

.pourmobile a:hover {
  color: #ffffff; 
}


.burger-menu {
  width:85px;
  height: 85px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1;
  transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
  position:absolute;
  justify-content: center;
  align-items:center;
  right:0px;
  top:0px;
}

.bar {
  width: 40px;
  height: 4.5px;
  background-color: #000; 
  margin: 13px 0;
  transition: background-color 0.4s ease;
}
  
.burger-menu::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s ease-in-out;
}

.burger-menu:hover .bar {
  background-color: #fff; 
  z-index: 999;
}

.burger-menu:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}


/* FOOTER */ 

footer {
  font-family: 'Helvetica Neue';
  font-weight: 100;
  z-index: 2;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 25px;
  visibility: visible; 
}

#footerleftbottom {
    display: flex;
    justify-content: space-between;
}

footer a {
  text-decoration: none;
  color: #000000;
  transition: color 0.4s ease-in-out;
}

footer a::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s ease-in-out; 
}

footer a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000; 
}

footer a:hover {
  color: #ffffff;
}




/* MENU */

.sidenav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2;
    left: 100%;
    top:0px;
    background-color: #ffffff;
    transition: left 0.4s ease;
  }

  .vertical-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20%;
    height: 96%;
    width: 2px; 
    background-color: rgb(0, 0, 0); 
    transition: height 0.4s ease, transform 0.4s ease;
}
  
.lien-submenu2 a {
  padding-left:30px;
  text-decoration: none;
  font-size: 150px;
  color: #000000;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease-in-out;
  width:80%;
}

.lien-submenu2 a:hover {
  color: #ffffff;
}

.lien-submenu2 a::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s ease-in-out;
}

.lien-submenu2 a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}

  .lien-submenu a {
    padding-left:30px;
    text-decoration: none;
    font-size: 150px;
    color: #000000;
    display: block;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease-in-out;
    width:80%;
    border-top:solid black 2px;
  }

  .lien-submenu a:hover {
    color: #ffffff;
}

.lien-submenu a::before {
    content: "";
    position: absolute;
    background-color: #000000;
    inset: 0;
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
    transition: transform 0.4s ease-in-out;
}

.lien-submenu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    background-color: #000000;
}
  
  .sidenav ul {
    list-style-type: none;
    line-height: 158.5px;
    padding: 0;
    margin: 0;
  }

  .sidenav.active {
    left: 0;
  }

  .sidenav.active .vertical-bar {
    height: 0;
    transform: translateY(-50%) scaleY(0);
}
  
/* la croix */

  .sidenav .close {
    position: absolute;
    margin:0px; 
    right: 0px;
    font-size: 100px;
    font-weight: 100;
    font-family:monospace;
    width: 100px;
    height:100px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding-bottom:2vh;
    padding-left:0.5vw;
    border:none;
  }
  

  .close-btn {
    text-decoration: none;
    font-size: 100px;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: #000000;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
    position:absolute;
  }
  
  .close-btn::before {
    content: "";
    position: absolute;
    background-color: #000000;
    inset: 0;
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
    transition: transform 0.4s ease-in-out;
  }
  
  .close-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    background-color: #000000;
  }
  
  .close-btn:hover {
    color: #ffffff;
  }


/* MENU ANIM */


.clickhere a {
  font-family:'Helvetica Neue';
  font-size: 1.25rem;
  font-weight:300;
  text-decoration: none;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in-out;
  top:-25px;
}

.clickhere a::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.3s ease-in-out; 
}

.clickhere a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}

.clickhere a:hover {
  color: #ffffff; 
}



#mailLink {
  font-family: 'Helvetica Neue';
  font-size: 1.25rem;
  text-decoration: none;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

#mailLink::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.3s ease-in-out;
}

#mailLink:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}

#mailLink:hover {
  color: #ffffff;
}

#instagramLink {
  font-family: 'Helvetica Neue';
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

#instagramLink::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.3s ease-in-out;
}

#instagramLink:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}

#instagramLink:hover {
  color: #ffffff;
}

#linkedinLink {
  font-family: 'Helvetica Neue';
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

#linkedinLink::before {
  content: "";
  position: absolute;
  background-color: #000000;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.3s ease-in-out;
}

#linkedinLink:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  background-color: #000000;
}

#linkedinLink:hover {
  color: #ffffff;
}

.travaux{
  padding-top:25px;
  padding-bottom:25px;
}

/* RESPONSIVE */


@media screen and (max-width:768px) {

  .lien-submenu2 a {
    padding-left:15px;
    text-decoration: none;
    font-size: 55px;
    height:70px;
  }

  .lien-submenu a {
    padding-left:15px;
    text-decoration: none;
    font-size: 55px;
    height:70px;
    border-top:solid black 1px;
  }

  .sidenav ul {
    list-style-type: none;
    line-height: 70px;
  }

.sidenav .close {
  font-size: 40px;
  width: 40px;
  height:50px;
  padding-top:5px;
}

.sidenav .submenu {
  padding-left:15px;
  padding-right:20px;
  height:440px;
}


.contactmenu {
top:10px;
font-family: 'Helvetica Neue';
font-size: 1rem;
position: relative;
}

}

@media screen and (max-width: 639px) {

    header {
      padding-left:15px;
      padding-right:15px;
      font-size:2.5rem;
    }

    .megacool {
      padding-left:35px;
      padding-right:35px;
      max-width:360px;

      box-sizing: border-box;
    }

    .burger-menu {
      width: 55px;
      height: 60px;
    }

    .bar {
      width: 30px;
      height: 2.75px;
      margin: 9px 0;
    }

    footer {
      font-size: 1rem;
      padding-left:15px;
      padding-right:15px;
      padding-bottom:12.5px;
    }


    .vertical-bar {
      width: 1px; 
  }

footer #mailLink {
  font-size: 1rem;
}

.barremobile{
  visibility:hidden;
}

}


@media screen and (min-width: 640px) {

  .liste{
          font-size:2rem;
  }

  header{
    font-size:3rem;
  }

  .header-title{
    visibility:hidden;
    font-size:0;
}

.megacool{
  max-width:500px;
  font-size:1.5rem;
}
  
  }
  
  @media screen and (min-width: 768px) {
  
    header{
      font-size:3rem;
    }

      .header-title{
          visibility:hidden;
      }
  
      .liste{
          font-size:2.5rem;
  }

  .megacool{
    max-width:600px;
    font-size:2rem;
  }
  
  .lien-submenu2 a {
    font-size: 120px;
  }

  .lien-submenu a {
    font-size: 120px;
  }

  a#mailLink{
    font-size:1.75rem;
  }
  
  footer{
    font-size:1.75rem;
  }
  
  }
  
  @media screen and (min-width: 1024px) {
  


.arnaudbeites{
    padding-right:1.125rem;
    position:relative;
}
  
      .liste{
      font-size:3rem;
  }

  header{
    font-size:4rem;
    margin-bottom:25px;
  }


  .megacool{
    max-width:900px;
    font-size:2rem;
  }
  
  .lien-submenu2 a {
    font-size: 150px;
  }

  .lien-submenu a {
    font-size: 150px;
  }


  a#mailLink{
    font-size:2rem;
  }
  
  footer{
    font-size:2rem;
  }

  }
  
  @media screen and (min-width: 1280px) {
  

  .header-title{
    visibility:visible;
    font-size:4rem;
}

.arnaudbeites{
    padding-right:1.125rem;
    position:relative;
}

      .megacool{
        max-width:1200px;
      }
  
      .liste{
      font-size:4rem;
  }

  .travaux{
    padding-top:5px;
    padding-bottom:5px;
  }

  }



@media screen and (max-height:450px){

  .lien-submenu2 a {
    padding-left:20px;
    text-decoration: none;
    font-size:2.5rem;
    height:75px;
  }

  .lien-submenu a {
    padding-left:20px;
    text-decoration: none;
    font-size:2.5rem;
    height:75px;
    border-top:solid black 1px;
  }

  .sidenav ul {
    list-style-type: none;
    line-height: 75px;
  }

  .vertical-bar {
    width: 1px; 
}

.sidenav .close {
  font-size: 40px;
  width: 40px;
  height:50px;
  padding-top:5px;
}

.sidenav .submenu {
  padding-left:15px;
  padding-right:20px;
  height:100px;
}


}

@media screen and (max-height:500px){

  .megacool{
      font-size:1rem;
  }

}