/*typefont*/

@font-face {
    font-family: 'krona_oneregular';
    src: url('font/k-r/kronaone-regular-webfont.woff2') format('woff2'),
         url('font/k-r/kronaone-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'Ralewayb';
    src: url('font/r-b/Raleway-Bold.woff2') format('woff2'),
        url('font/r-b/Raleway-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Raleway';
    src: url('font/r-r/Raleway-Regular.woff2') format('woff2'),
        url('font/r-r/Raleway-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  #fondecran{
    height: 80vh;
    width: 60vw;
    object-fit: cover;
    position: absolute;
    
    right: 17%;
    top: 10%;
    z-index: -1;
  }
  
  /***header Nav***/
  
  #logo{
    animation: rotate-center 1s ease-in-out;
    }
  
  /*Animation logo*/
    @-webkit-keyframes rotate-center {
        0% {
          -webkit-transform: rotate(0);
                  transform: rotate(0);
        }
        100% {
          -webkit-transform: rotate(360deg);
                  transform: rotate(360deg);
        }
      }
      @keyframes rotate-center {
        0% {
          -webkit-transform: rotate(0);
                  transform: rotate(0);
        }
        100% {
          -webkit-transform: rotate(360deg);
                  transform: rotate(360deg);
        }
      }
  /*Nav menu*/
  header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background-color: #fff;
    box-sizing: border-box;
    padding-left: 2%;
  }    
  
  #menu { 
        color: #06987c;
        margin-top: 10%;
        font-size: 14px;
  }
    
  #menu a {
        color: #06987c;
        text-decoration: none;
        font-family: 'krona_oneregular';
        gap: 10px;    
  }
    
  #menu a:hover {
        color: #fff;
        background-color: #06987c;
    }
  
  .title {
    /*
      font-family: "Helvetica Neue", "sans-serif"; 
      */
      font-size: 25px;
      margin-bottom: 20px;
      font-family: 'Courier New', Courier, monospace;
  }
  
  
  #sousmenu{
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  /***Base structure***/
  
  body {
    background-color:#fff;
    margin: 0px !important;
  }
  
  /***Contenu page***/
  #contenupage {
    margin-left: 25%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 3;
  }
  
  div.elements {
      height: auto; 
      width: 100%;
      font-size: 10px;
      font-family: 'krona_oneregular';
      color: #06987c;
      z-index: 3;
      margin-bottom: 10%;
  }
  
  .elements:last-of-type {
      margin-bottom:0;        
  }
  
  .About {
      text-align: center;
      z-index: 3;
  }
  
  .About h1 {
  margin-top:20px;
  font-size: 65px;
  font-family: 'krona_oneregular';
  animation: tracking-in-expand 1s;
  text-align: left;
  color: #06987c;
  }
  
  div#txtH1{
    font-family: 'Raleway';
    text-align: left;
    font-size: 15px;
    text-transform: lowercase;
  }
  
  .About h2 {
  font-size: 15px !important;
  font-family: 'Raleway' !important;
  text-align: left;
  z-index: 4;
  }
  
  
  .About a { font-size: 15px;
      color: #06987c;
      text-decoration: none;}
  .About a:hover { font-size: 15px;
      font-family: 'Raleway';
      color: #06987c;
      text-decoration: none;
  }
  
  #realflex{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
  }
  
  div.elements h2{
    font-family:'krona_oneregular';
    font-weight: 100;
    font-size: 25px;
    text-transform: uppercase;
    text-align: left !important;
    background-color: #06987c;
    color: #fff;
    width: max-content;
    padding: 5px;
  }
  
  .projet {
    font-family: 'Courier New', Courier, monospace;
      font-size: 15px;
      width: 100%;
      text-align: left;
  }
  .projet h3{
      font-family: 'krona_oneregular';
      font-size: 25px;
      text-transform: uppercase;
  }
  
  .projet h4{
    font-family: 'Ralewayb';
    font-size: 15px;
    color: #06987c;
    text-transform: unset;
}
  
  .projet p{
      font-family: 'Raleway';
      font-size: 15px;
      text-align: left;
      width: 500px;
  }
  .squareA {
      width: 400px;
      height: 400px;
      background-color: red;
      position: fixed;;
      top: 10%;
      right: 1%;
      opacity: 0;
      background-image: url('img2/Maquette\ 1\ -\ home\ tablette.png');
      background-size: cover;
      z-index: -1;
  }
  
  .squareB {
      width: 600px;
      height: 400px;
      background-color: blue;
      position: fixed;
      top: 14%;
      right: 0%;
      opacity: 0; 
      background-image: url('img2/trident_test-2.jpg');
      background-size: cover;
      z-index: -1;
  }
  
  .squareC {
    width: 600px;
    height: 400px;
      background-color: green;
      position: fixed;
      top: 10%;
      left: 20%;
      opacity: 0;
      background-image: url('img2/photo\ retouche.png');
      background-size: cover;
      z-index: -1;
  }
  
  div#centrerhauteur{
   margin-top: 10%;
}
  
  a.viewpic {
      position:relative;
      text-decoration: none;
      color: #fff;
      z-index: 2;
      background: #06987c;
      font-size: 25px;
  }
  
  a:hover.viewpic {
      text-decoration: none;
      background: none;
      color: #06987c;
      background: #fff;
  
  
  }
  a.viewpic2 {
    position:relative;
    text-decoration: none;
    color: #06987c;
    z-index: 2;
    background: #fff;
    font-size: 25px;
}

a:hover.viewpic2 {
    text-decoration: none;
    background: none;
    color: #fff;
    background: #06987c;


}
  
  a.viewpic span {display: none;}
  
  
  a:hover.viewpic span {
      display: inherit;
      position: absolute;
      z-index: 2;
      width:320px;
      padding:2px 4px;
      top: -250px;
  
  }
  
  
  /*ajout propos*/
  .elements:last-of-type {
      margin-bottom:0;       
  }
  
  .About2 {
      margin-bottom: 75px;
      margin-right: 400px;
      z-index: 999;
      font-size: 25px;
      width:100%;
      position: relative;
      animation: text-focus-in 1s;
  }
  .About2 h1 {
  margin-left:70px;
  margin-top:20px;
  }
  #h22{
      text-align: left;
      margin-left:15%;
  }
  .Abou2t h2 {
  text-align: left;
  margin-left:15%;
  }
  .About2 a { font-size: 15px;
      font-family: 'krona_oneregular';
      color: #06987c;
      text-decoration: none;}
  footer{
      
      text-align: center;
      bottom:0;
      width:100%;
      padding-top:50px;
      height:50px;
      color: #06987c;
      font-family: 'krona_oneregular';
      font-size: 17px;
  }
  .grille{
  max-width: 1200px;
  width: 80%;
  height: auto;
  margin: 30px auto;
  display:grid;
  grid-template-columns: repeat(auto-fill, 300px);
  margin-left:0px;
  column-gap:70px;
  animation: text-focus-in 1s;
  }
  .grid-item{
  width:400px;
  height:auto;
  color: #ffffff;
  font-family: 'Raleway';
  font-size:17px;
  }
  .grid-item h1{
      font-family: 'krona_oneregular';
      color: #ffffff;
      font-size:28px;
  }
  .grid-item h2{
      font-family: 'Ralewayb';
      color: #ffffff;
  }
  #button {
    border:solid #fff;
    font-size: 40px;
    background: #fff;
    text-decoration: none;
    text-align: center;
    color: #06987c;
    text-transform: uppercase;
    font-family: 'Ralewayb';
    width: auto;
    padding-left: 2%;
    padding-right: 2%;
    margin-left: 5%;
    }
  #cv{
      display: inline;
  } 
  #button:hover {
      background-color: #06987c;
      color: #fff;
  
  }
  
  
  
  /***footer de la page a propos***/
  
  .fot{
      margin-left: 13%;
      bottom:0;
      width:100%;
      padding-top:50px;
      height:50px;
      color: #ffffff;
      font-family: 'krona_oneregular';
      font-size: 17px;
  }
  #bout{
      position: relative;
      
    }
    #bout::after {
      content: '';
      transform-origin: 0 0; 
      transform: scaleX(0);
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: .4em; 
      background: #ffffff;
      z-index: -1;
      opacity: 0.9;
      transition: transform .3s;
    }
    #bout:hover::after {
      transform: scaleX(1);
    }
  #ce{
  font-family: 'krona_oneregular';
  font-size:22px;
  }
  
  
  .gifroll {display: none}
  
  /* Style général pour le burger icon, caché par défaut */
  .burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
  }
  
  .burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: black;
    margin-bottom: 5px;
  }
  
  /* Masque le menu principal par défaut sur mobile */
  #menu {
    width: 100%;
    display: block;
  }
  
  div#ac{
    display: none;
  }
  /* Styles spécifiques aux mobiles */
  @media (max-width: 767px) {
    .burger-icon {
        display: flex;
        color: #fff;
        text-align: right;
    }
    .burger-icon span {
      border-bottom: 1px solid #06987c;
      background: #fff;
      color: #06987c;
    }
  
  
    #menu {
        display: none;
        position: fixed;
        background-color: #fff;
        top: 0px; /* Ajustez selon la hauteur de votre en-tête */
        z-index: 999 !important;
        flex-direction: column;
        padding: 30px;
        left: 0;
        right: 0;
        height: 100%;
    }
  
    #menu a {
        padding: 10px;
        font-size: 20px;
        color:#06987c;
    }
    #sousmenu{
      display: none;
       }
    #logo{
     display: none;
      }
      div#ac{
        display: block;
      }
  }
  
  
  /***Mobile***/
  @media (max-width: 767px){
    header {
      position: fixed;
      padding: 3%;
      height: 40px;
      background: #fff;
      margin-top: 0px;
      width: 100%;
      z-index: 999 !important;
  }
    #contenupage{
        margin-left: 0% !important;
    }
  #realflex {
      display: block !important;
      gap: 0px !important;
  }
  .projet {
   width: 100% !important;
   margin-bottom: 10%;
   overflow: hidden;
  }
  div.elements {
    height: 100% !important;
    margin-bottom: 30% !important;
  
    }
    .About h1 {
      font-size: 30px;
      text-align: left;
      margin-top: 10% !important;
  }
    div.elements h2 {
      font-size: 22px;
      margin-bottom: 10%;
  }
  .projet h3 {
    font-size: 18px;
  }
  img#imgex{
    width: 80% !important;
    height: 80% !important;
  }
  video{
    width: 100%;
  }
  .projet p {
    width: 100%;
  }
  footer {
    font-size: 15px !important;
  }
  a.viewpic {
    margin-right: 30%;
}
a.viewpic2 {
  margin-top: 5%;
}
  }
  


.txt-intro {
    font-size: 22px;
    font-family: 'Raleway';
    text-align: left;
}

img#imgex {
    margin-top: 150px;
}
img#imgex2 {
  margin-top: 150px;
}

#bout::after {
    content: '';
    transform-origin: 0 0;
    transform: scaleX(0);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: .1em;
    background: #06987c;
    z-index: -1;
    opacity: 0.9;
    transition: transform .3s;
}

#bout {
    font-size: 15px;
    font-family: 'krona_oneregular';
    color: #06987c;
    text-decoration: none;
}