@import url('https://use.fontawesome.com/releases/v6.5.1/css/all.css');

h1#accueil{
    margin: auto;
    text-align: center;
    font-family: andreas;
    margin-bottom: auto;
    font-size: 3rem; 
}

h2.titre{
  margin-inline : 35%;
  margin-block: 25px;
}

div.contact{
  margin-block : 10%
}

#background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 100vh;
  z-index: 5; /* Derrière le contenu */
  pointer-events: none; /* Ignore les clics */
}

 #wrapper {
  width: 100vw;
  height: 100vh;
} 

#wrapper_nav.grained--hidden canvas {
  opacity: 0;
  pointer-events: none; /* pour ne pas bloquer les clics */
  transition: opacity 0.3s ease;
}

/* Quand la classe est absente, le grain est visible */
#wrapper_nav canvas {
  opacity: 1;
  pointer-events: auto;
}

body{
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  
}

a{
    color: #000 !important;
    text-decoration: none !important;
}

Brevia Regular{
    font-family: "brevia", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h2#presentation{
    margin: auto;
    text-align: center;
    font-family: brevia;
    margin-bottom: auto;
    font-size: x-large
}
body{
    background-color: #EEE9DA !important;
}   

div#accueil{
    padding-block: 8%;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.icons-style {
    opacity: 1;
    fill: none;
    stroke: #606887;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    display: block;
}                                                                                                                       

.header-content {
    z-index: inherit;
    height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 0 96px 0 96px;
    padding-block: 60px;
}

ul#info{
    display: flex;
    list-style: none;
    padding-inline: 25px;
    justify-content: center;
}

li{
    padding-block: 15px;
    list-style: none;
    font-family: Brevia;
    padding-inline: inherit;
}

.exampleClass {
    font-family: brevia;
    padding-bottom: 1px;
    color: black;
    position: relative;
}

.exampleClass::after {
content: '';
position: absolute;
height: 2px;
width: 100%;
left: 0;
bottom: 0;
opacity: 0;
transform: translateY(3px);
background: black;
transition: opacity 0.2s ease, transform 0.2s ease;
}

.exampleClass:hover::after {
opacity: 1;
transform: translateY(0);
}


p.footer{
    text-align: center;
    font-family: brevia;
}

p{
    font-family: brevia;
    font-size: medium;
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.ham7 .top {
    stroke-dasharray: 40 82;
}

.ham7 .middle {
    stroke-dasharray: 40 111;
}

.ham7 .bottom {
    stroke-dasharray: 40 161;
}

.ham7.active .top {
    stroke-dasharray: 17 82;
    stroke-dashoffset: -62px;
}

.ham7.active .middle {
    stroke-dashoffset: 23px;
}

.ham7.active .bottom {
    stroke-dashoffset: -83px;
}

h1, h2, h3{
    font-family: andreas;
}

h2{
    font-size: 25px
}

section#a_propos{
    display: flex;
}

img#photo{
    width: 100%;
    margin-left: 15%;
}

img#right{
  margin-top: 20%;
}

hr{
    width: 70%;
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 3px solid !important;
    opacity: .25;
}

div#texte{
    width: 75%;
}

a#cv{
    font-size: 20px;
}

.ml7 {
    position: relative;
    font-weight: 900;
    font-size: 3.7em;
}

.ml7 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.ml7 .letter {
    transform-origin: 0 100%;
    display: inline-block;
    line-height: 1em;
}

div.projets{
    display: flex;
    align-items: center;
}

section#projets{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25%;
}

h2.nom_projet{
    padding-left: 35px;
}

.ombre{
    margin-block: 2%;
    border: 0;
    border-radius: 25px;
    padding-block: 15px;
    box-shadow: 3px 4px 10px 1px;
    padding-inline: inherit;
}

.overlay{
  position:absolute;
  width:100vw;
  height:100vh;
  background-image:linear-gradient(transparent,rgba(0,0,0,0));
  z-index:1
}
.hero{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  height:100vh;
  background-image:url('https://i.picsum.photos/id/100/2500/1656.jpg?hmac=gWyN-7ZB32rkAjMhKXQgdHOIBRHyTSgzuOK6U0vXb1w');
  background-position:center
}

.hero:after{
  content:"";
  background-image:url("https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png");
  height: 300%;
  width: 300%;
  position: fixed;
  opacity:0.1;
   animation: animateGrain 8s steps(10) infinite;
}

@keyframes animateGrain{
  0%, 100% { transform:translate(0, 0) }
  10%{
    transform:translate(-5%,-10%)
  }
  20%{
    transform:translate(-15%,-20%)
  }
  30%{
    transform:translate(-5%,-10%)
  }
  40%{
    transform:translate(-15%,-20%)
  }
  
  50%{
    transform:translate(-5%,-10%)
  }
  60%{
    transform:translate(-15%,-20%)
  }
  70%{
    transform:translate(-5%,-10%)
  }
  80%{
    transform:translate(-15%,-20%)
  }
  90%{
    transform:translate(-5%,-10%)
  }
  100%{
    transform:translate(-15%,-20%)
  }
 
}
.nav-toggler {
    position: relative;
    z-index: 10;
    height: 50px;
    width: 50px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

nav {
    position: fixed;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding-left: 15%;
    flex-direction: column;
    background: #EEE9DA;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
}

nav.active {
    background: #EEE9DA;
    z-index: 1;
    transform: translate(0);
}

nav a{
    font-family: andreas;
    font-size: 5rem;
}

.line {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 15px;
    background: #000000;
    transition: transform 0.3s ease-out,
    opacity 0.1s ease-out;
}
.l1 {
    transform: translateY(-15px)
}
.l3 {
    transform: translateY(15px)
}
.nav-toggler.active .l1 {
    transform: translateY(0px) rotate(135deg);
}
.nav-toggler.active .l2 {
    opacity: 0;
}
.nav-toggler.active .l3 {
    transform: translateY(0px) rotate(-135deg);
}

img.banniere{
    position: absolute;
    width: 400px;
    right: 37%;
    top: 0;
    z-index: 1;
}

div#center{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

img#logo{
    width: 100px;
    padding-top: 15px;
    position: relative;
    z-index: 0;
}

ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.icon-content {
  position: relative;
}

.tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #fff;
  visibility: hidden;
  opacity: 0;
}

.icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

a.rsn {
  width: 75px;
  height: 75px;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  color: black;
  text-decoration: none;
}

a.rsn:hover {
  box-shadow: 3px 2px 45px 0px #0000001f;
  color: white;
}

.fa-brands {
  position: relative;
  z-index: 0;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fa-brands:hover{
    filter: brightness(100) invert(1);
    transition: 0.2s ease-in-out;
}

.filled {
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  height: 0;
  transition: all 0.3s ease-in-out;
}

a.rsn:hover .filled {
  height: 100%;
}

.icon-content:nth-child(1) a.rsn .filled,
.icon-content:nth-child(1) a.rsn~.tooltip {
  background-color: #0274b3;
}

.icon-content:nth-child(2) a.rsn .filled,
.icon-content:nth-child(2) a.rsn~.tooltip {
  background-color: #24262a;
}

.icon-content:nth-child(3) a.rsn .filled,
.icon-content:nth-child(3) a.rsn~.tooltip {
  background: #833ab4;
  background: linear-gradient(
    to right,
    #833ab4,#fd1d1d,#fcb045
  );
}
.icon-content:nth-child(4) a.rsn .filled,
.icon-content:nth-child(4) a.rsn~.tooltip {
  background-color: #ff0050;
}

.space{
  margin-inline: 5%;
}

img{
  border-radius: 25px;
}

img.logo{
  margin-bottom: 20px;
  margin-inline: 15%;
}

/* ================== ORDINATEUR DE BUREAU (Desktop) ================== */
/* Grand écran de bureau */
@media (min-width: 1561px) {
  
}

/* Écran standard de bureau */
@media (min-width: 1024px) and (max-width: 1560px) {
  /* Styles pour les écrans de bureau standard */
  img#photo{
    width: 75%;
    margin-left: 50%;
  }

  div.contact{
  margin-block : 5%
}
  h2#festival{
    margin-inline: 15%;
}
  h2#escape{
    margin-inline: 30%;
  }
  h2#foodtruck{
    margin-inline: 22%;
  }
  h2#bonapp{
    margin-inline: 40%;
  }

}
/* Petit écran de portable */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Styles pour les petits écrans d'ordinateur portable */
}

/* ================== TABLETTE (Tablet) ================== */
/* Mode paysage */
@media (min-width: 600px) and (max-width: 767px) {
  /* Styles pour les tablettes en mode portrait */
}

/* Mode portrait */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Styles pour les tablettes en mode paysage */
}

/* ================== MOBILE (Smartphone) ================== */
/* Grand smartphone */
@media (min-width: 480px) and (max-width: 599px) {
  /* Styles pour les grands smartphones */

}

/* Petit smartphone */
@media (max-width: 479px) {
  /* Styles pour les petits smartphones */
}

