* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Museo;
}

body{
  background: #e0e0e0;
}


@font-face {
    font-family: Museo;
    src: url(font.ttf);
}

html{
  scroll-behavior: smooth;
}

.btn-insta {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
  margin-left: 25px;
}

.btn-insta:hover {
  transform: scale(1.1);
}

.btn-insta img {
  width: 50px;
   height: 50px;
}

br{
  display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 10vh;
    padding: 20px;
    opacity: 0;
    animation: tilt-in-left-2 0.4s forwards;
    animation-delay: 0.4s;
}

.hamburger{
  display: none;
}

.menu{
  display: none;
}

@keyframes tilt-in-left-2 {
    0% {
      -webkit-transform: rotateX(30deg) translateX(-300px) skewX(30deg);
              transform: rotateX(30deg) translateX(-300px) skewX(30deg);
      opacity: 0;

    }
    100% {
      -webkit-transform: rotateX(0deg) translateX(0) skewX(0deg);
              transform: rotateX(0deg) translateX(0) skewX(0deg);
      opacity: 1;
    }
  }


.nav {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    justify-self: center;
}

.nav li {
    list-style-type: none;
}

.nav li a {
    text-decoration: none;
    color: white;
}

.presentation {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #e0e0e0;
    justify-content: space-around;
}

.presentation p {
    font-size: 2vh;
    opacity: 0;
    animation: opac linear 2s forwards 0.8s;
}

@keyframes opac {
    0%{
        transform: translateY(-10px);
        opacity: 0;
    }

    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

.img-transition {
    display: flex;
    justify-content: space-evenly;
    position: absolute;
    bottom: -200px;
    width: 100%;
}

.img-transition img {
    width: 200px;
    opacity: 0;
    animation: slit-in-vertical 0.4s ease-out forwards;
    filter: drop-shadow(0px 0px 10px rgb(70, 70, 70)) ;
    object-fit: cover;
}

@keyframes slit-in-vertical {
    0% {
      -webkit-transform: translateZ(-800px) rotateY(90deg);
              transform: translateZ(-800px) rotateY(90deg);
      opacity: 0;
    }
    54% {
      -webkit-transform: translateZ(-160px) rotateY(87deg);
              transform: translateZ(-160px) rotateY(87deg);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateZ(0) rotateY(0);
              transform: translateZ(0) rotateY(0);
              opacity: 1;
    }
  }

.home {
    /* background-image: url(back.png); */
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(1);
    height: 100vh;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('back.png');
  -webkit-background-size: cover;
  background-size: cover;
  -webkit-background-position: center;
  background-position: center;
  filter: brightness(0.8); /* Ajustez la valeur selon vos besoins (0.8 réduit la luminosité de 20%) */
  z-index: -1; /* Place le pseudo-élément derrière le contenu de la page */
}


.menu__link {
    color: #fff;
    line-height: 2;
    position: relative;
    transition: color .4s;
}

.menu__link::before {
    content: '';
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    position: absolute;
    bottom: -.25rem;
    right: 0;
    transition: right .4s, width .4s, left .4s;
}

.menu__link:hover::before {
    width: 100%;
    left: 0;
}

.menu__link:hover {
    color: #1d1d21;
}

h1 {
  width: 100%;
  min-height: 30vh;
  text-align: center;
  font-size: 10vh;
  letter-spacing: 7px;
  background: -webkit-linear-gradient(90deg, #FC9D59 0%, #FDCA6C 100%);
  background: linear-gradient(90deg, #FC9D59 0%, #FDCA6C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  -webkit-animation: tracking-in-contract 3s, float-text 4s infinite 2.8s;
  animation: tracking-in-contract 3s, float-text 4s infinite 2.8s;
}

.firstpage{
  height: 80vh;
  width: 100%;
  -webkit-height: 65vh; 
  -webkit-width: 100%;
}

@keyframes float-text {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(10px);
    }
    100%{
        transform: translateY(0px);
    }
}

@keyframes tracking-in-contract {
    0% {
      letter-spacing: 1em;
      opacity: 0;
      font-size: 1vh;
      height: 30vh;

    }
    40% {
      opacity: 0.6;
      height: 30vh;

    }
    100% {
    letter-spacing: 7px;
      opacity: 1;
      font-size: 10vh;
      height: 30vh;

    }
  }

.desc-presentation{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.btn-contact {
    cursor: pointer;
    position: relative;
    padding: 2px 80px;
    font-size: 18px;
    color: #FDCA6C;
    border: 2px solid #FDCA6C;
    border-radius: 34px;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    text-decoration: none;
  }
  
  .btn-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: #FDCA6C;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
  .btn-contact:hover::before {
    scale: 3;
  }
  
  .btn-contact:hover {
    color: #212121;
    scale: 1.1;
    box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
  }
  
  .btn-contact:active {
    scale: 1;
  }
  
 
  
  /* about me */

  .about-me{
    overflow-x: hidden;
    margin-top: 250px;
    padding: 50px;
  }

  h2{
    width: 100%;
    text-align: center;
  }

.container-about-me{
  display: flex;
  padding: 40px 5%;
  margin-top: 25px;
  gap: 25px;
}

.left{
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-150%);
  opacity: 0;
}

.left.visible{
  opacity: 1;
  animation: fade-in-left 0.8s forwards;
}





@keyframes fade-in-left {
  0%{
    transform: translateX(-150%);
    opacity: 1;
  }
  100%{
    transform: translateX(0);
    opacity: 1;
  }
}

.container-about-me aside{
  width: 40%;

}

.aside-about-me{
  opacity: 1;
}

.aside-about-me.visible{
  animation: fade-in-right 0.8s forwards;
}

@keyframes fade-in-right {
  0%{
    transform: translateX(150%);
    opacity: 0;
  }
  100%{
    transform: translateX(0);
    opacity: 1;
  }
}

.pic-about-me{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.pic-about-me.visible{
  border-radius: 5px;
  animation: box-img 0.8s forwards;
}

.texte{
  margin-top: 15px;
  font-size: 0.85em;
}

@keyframes box-img {
  0%{
    box-shadow: 0px 0px 0px 0px #EDBD6A;
  }

  100%{
    box-shadow: 20px -20px 3.8px 0px #EDBD6A;
  }
}

.group{
  margin-bottom: 25px;
}

.text-light{
  opacity: 0.7;
  letter-spacing: 2px;
  font-size: 0.9em;
}

.services{
  width: 100%;
}

.card{
  width: 40%;
  height: 100px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  font-size: 0.9em;
  transition: 0.4s;
  opacity: 0;
}



.card.visible{
  opacity: 0;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.199);
  animation: fade 0.8s forwards;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }

}

.card img{
  width: 50px;
}

.card:hover{
  background-color: #eebe6b;
}

.list-services{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}


/* fin section about me */







.portfolio{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 50px 5%;
  max-width: 100%;
  overflow-x: hidden;
  transition: 0.8s;
  opacity: 0;
}

.portfolio.visible{
  opacity: 1;
}

.list-events{
  width: 100%;
  height: 90%;
  display: flex;
  gap: 10px;
  justify-content: space-around;
}

.card-xl{
  width: 25%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background-color: #eebe6b;
  position: relative;
  transition: 0.2s;
  border-radius: 5px;
  opacity: 0;
}

.card-xl.visible{
  opacity: 0;
  animation : slide-in-blurred-right 0.8s forwards;
}

.card-xl h3{
  font-size: 1.5em;
}

.card-xl p {
  font-size: 0.8em;
}

.line{
  width: 70%;
  height: 5px;
  background-color: black;
}

.overlay{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.2s;
  color: #e0e0e0;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px;
}

.overlay::before{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 0;
  border-radius: 5px;

}

.overlay-e::before{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url(image-1.jpg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 0;
  border-radius: 5px;
}
.overlay-p::before{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url(image-2.jpg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 0;
  border-radius: 5px;
}
.overlay-a::before{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url(image-3.jpg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 0;
  border-radius: 5px;
}




.card-xl:hover .overlay{
  opacity: 1;
}

.card-xl:hover{
  transform: translateY(-10px);
}

.list-preview{
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.list-preview img{
  width: 35%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  filter: drop-shadow(0px 4px 10px #e0e0e081) ;
}


.overlay h4 {
  font-size: 1.5em;
  z-index: 1;
}

.overlay h5{
  width: 100%;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
  z-index: 1;
}


@keyframes slide-in-blurred-right {
  0% {
    -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
            transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
            transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}


/* section galerie */

.galerie{
  opacity: 0;
}

.galerie.visible{
  opacity: 1;
}

.list-pictures{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 40px 5%;
}

.first, .second, .last{
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.first img, .second img, .last img, .text{
  width: 325px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  filter: drop-shadow(0px 4px 11.9px 0px rgba(0, 0, 0, 0.50));
}

.first img:last-child, .second img:nth-child(2), .last img:last-child{
  height: 400px;
  filter: drop-shadow(0px 4px 11.9px 0px rgba(0, 0, 0, 0.50));
}

#text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.7em;
  color: #555050;
  text-shadow: 0px 4px 8.3px rgba(0, 0, 0, 0.25);
  letter-spacing: 1.54px;
  gap: 15px;
  height: 250px;
  opacity: 0;
}

#text img{
  width: 150px;
  height: 50px;
  object-fit: contain;
  filter: contrast(0);
}

.firstOne{
  opacity: 0;
}

.firstOne.visible{
  opacity: 0;
  animation: scale-in-tl  0.6s forwards;
  animation-delay: 0.2s;
}

.firstSecond{
  opacity: 0;
}
.firstSecond.visible{
  opacity: 0;
  animation: scale-in-hor-left  0.6s forwards;
  animation-delay: 0.6s;
}

.firstLast{
  opacity: 0;
}
.firstLast.visible{
  opacity: 0;
  animation:  scale-in-left  0.6s forwards;
  animation-delay: 1s;

}


@keyframes scale-in-tl {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
}

@keyframes scale-in-hor-left {
  0% {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
}

@keyframes scale-in-left {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
}


.secondFirst{
  opacity: 0;
  
}
.secondFirst.visible{
  opacity: 0;
  animation: scale-in-top   0.6s forwards;
  animation-delay: 0.2s;
}

.secondSecond{
  opacity: 0;
  
}
.secondSecond.visible{
  opacity: 0;
  animation: scale-in-hor-center 0.6s forwards;
  animation-delay: 0.6s;
}

#text{
  opacity: 0;
  animation:  scale-in-ver-bottom   0.6s forwards;
  animation-delay: 1s;
}

@keyframes scale-in-top {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    opacity: 1;
  }
}

@keyframes scale-in-hor-center {
  0% {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes scale-in-ver-bottom {
  0% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
    opacity: 1;
  }
}

.lastFirst{
  opacity: 0;
}
.lastFirst.visible{
  opacity: 0;
  animation: scale-in-tr  0.6s forwards;
  animation-delay: 0.2s;
}

.lastSecond{
  opacity: 0;
}
.lastSecond.visible{
  opacity: 0;
  animation:  scale-in-right 0.6s forwards;
  animation-delay: 0.6s;
}

.lastLast{
  opacity: 0;
}
.lastLast.visible{
  opacity: 0;
  animation:  scale-in-br  0.6s forwards;
  animation-delay: 1s;
}

@keyframes scale-in-tr {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
    opacity: 1;
  }
}


@keyframes scale-in-right {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
}

@keyframes scale-in-br {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
    opacity: 1;
  }
}

/* section contact */

.contact{
  margin-top: 50px;
  max-width: 100%;
  opacity: 0;
  transition: 0.8s;
}

.contact.visible{
  opacity: 1;
}

.container-contact{
  height: 90%;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 5%;
  width: 100%;
  animation: opac 0.8s forwards;
}

.container-contact aside img{
  height: 100%;
  filter: drop-shadow(-23px 31px 2px  #FDCA6C);
}

.container-contact aside{
  width: 35%;
}

.container-contact article{
  width: 60%;
}

form{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.champ, .message{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.champ label{
  font-weight: 700;
  margin-bottom: 10px;
  color: #555050;
}

.champ input{
  border: none;
  border-bottom: 2px solid #555050;
  padding: 5px;
}

.champ input:focus{
  outline: none;
}

.message textarea{
  height: 200px;
  padding: 5px;
  resize: none;
  border-width: 2px;
  border-radius: 5px;
}

@keyframes slide-in-fwd-bottom {
  0% {
    -webkit-transform: translateZ(-1400px) translateY(800px);
            transform: translateZ(-1400px) translateY(800px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}


/* footer  */

.container {
  position: relative;
  width: 250px;
 /*  choose your size */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.container button {
  width: 50px;
  height: 50px;
  border: none;
  background-color: #313638;
  transition: 0.3s;
  cursor: pointer;
}

.icon {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.container button:nth-child(1):hover {
  background-color: #2753a7;
}

.container button:nth-child(2):hover {
  background-color: #cd242b;
}

.container button:nth-child(3):hover {
  background-color: #55acee;
}

.container button:nth-child(4):hover {
  background-color: #0274b3;
}

.title {
  color: gray;
  font-weight: 700;
  font-size: 17px;
  position: absolute;
  top: -35px;
  left: 0;
}

@media (max-width:1050px) {
 
  .btn-insta img {
    width: 50px;
     height: 50px;
  }

  .nav{
    width: 70%;
  }

  .list-preview img {
    width: 60px;
    height: 75px;
  }

  .first img, .second img, .last img{
    width: 200px;
  }

  .first img:last-child, .second img:nth-child(2), .last img:last-child{
    height: 350px;
    filter: drop-shadow(0px 4px 11.9px 0px rgba(0, 0, 0, 0.50));
  }

  #text{
    font-size: 1em;
  }

  .list-events{
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .card-xl{
    width: 45%;
    min-height: 500px;
  }

  .container-contact aside{
    width: 45%;
  }

  .container-contact aside img {
    width: 100%;
  }

  .container-contact{
    min-height: 40vh;
  }

  .contact{
    min-height: 50vh;
    margin-bottom: 25px;
  }

  .champ label{
    margin: 0px;
  }

  .champ input{
    font-size: 0.8em;
  }

  form{
    min-height: 100%;
  }
}

@media (max-width:770px) {

  .btn-insta img {
    width: 50px;
     height: 50px;
  }

  .list_contact{
    flex-direction: column;
  }

  .img-transition{
    display: none;
  }

  br{
    display: block;
  }

  .presentation{
    height: 100%;
    -webkit-height:100%;
  }
 
  .container-about-me{
    flex-direction: column;
    justify-content: space-around;
  }

  .left{
    width: 100%;
  }

  .about-me{
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-me{
    overflow: hidden;
    position: relative;
    padding: 5px;
  }

  .about-me-desc{
    margin-bottom: 25px;
  }

 
  .services{
    margin-bottom: 25px;
  }

  .container-about-me aside{
    width: 90%;
    height: 20vh;
  }

  .container-about-me aside img{
    border-radius: 5px;
  }

  .card{
    width: 45%;
  }
  
  .overlay{
    display: none;
  }

  .card-xl{
    width: 95%;
    height: 500px;
  }

 
 .first, .second, .last{
  width: 95%;
 }

 .first img, .second img, .last img{
  width: 100%;
  height:200px;
 }

 #text{
  height: 20vh;
 }

 .container-contact{
  flex-direction: column;
 }

 .contact{
  height: 100vh;
 }

 .container-contact aside{
  width: 90%;
  height: 20%;
 }

 .container-contact aside img{
  object-fit: cover;
  filter: drop-shadow(-13px 21px 2px  #FDCA6C);
 }

 .container-contact article{
  width: 95%;
  min-height: 80%;
 }

 .hamburger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 4;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

header{
  display: none;
}

.nav{
  width: 100%;
  flex-direction: column;
  justify-content: end;
  margin-top: 45px;
  margin-left: 15px;
  height: 80%;
}

.menu{
  display: block;
  position: absolute;
  width: 100%;
  z-index: 0;
  background-color: #EDBD6A;
  backdrop-filter: blur(50);
  border-radius: 0px 0px 5px 5px;
  transition: 0.8s;
  height: 28vh;
  padding: 10px;
  transform: translateY(-600px);
}

.open{
  transform: translateY(0px);
  z-index: 3;
}



.presentation p{
  padding: 0px 10px;
}

h1{
  height: auto;
}


  
}


.animate-me {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


.contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card_mail{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 175px;
  width: 300px;
  box-shadow: 0 0px 4px #FDCA6C;
  margin-bottom: 25px;
  border-radius: 5px;
}.card_mail:hover{
  transform: scale(1.05);
  transition: transform 200ms ease-in;
}


.contact p {
  letter-spacing: 5px;
}

/* Styles de base pour la section "Contact" */
.contact {
  text-align: center;
  padding: 50px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact p {
  font-size: 16px;
  margin-bottom: 20px;
}

.card_mail {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.card_mail a {
  display: block;
  margin-right: 10px;
}

.list_contact{
  display: flex;
  justify-content: space-around;
}

.list_contact div{
  margin: 25px;
}

/* Activer l'animation lorsque la section "Contact" est dans la vue */
.contact.in-view {
  opacity: 1;
  transform: translateY(0);
}




/* end section contact */


.btn{
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #1d1d21;
  margin-top: 50px;
}
.btn:hover{
  opacity: 0.7;
}

@media (max-width:400px) {
  .about-me{
    overflow: hidden;
    position: relative;
    padding: 5px;
  }

  .btn-insta img {
    width: 50px;
     height: 50px;
  }

 

  .card-xl{
    min-height: 400px;
  }
}