@import url('https://api.fontshare.com/v2/css?f=satoshi@300,301,400,401,700,501,700,701,900,901,1,2&display=swap');

.body {
  overflow-x: hidden;
}

.hero {
  height: 100vh;
  z-index: -101;
  display: block;
}

.adapte {
  position: absolute;
  width: 140px;
  right: 17vw;
  top: 20vh;
  animation : pb 1s cubic-bezier(0.12, 0.02, 0, 2.11);
  transform: translate(0, 0);
}

.flex-end {
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-end;
  position: absolute;
}

.flex-accueil {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

.image1 {
  display: flex;
  height: 100vh;
  width: auto;
  overflow: hidden;
  background-image: url(../images/accueil/1.jpg);
  background-size: cover;
  background-position: top;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.photo-moi {
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
  flex: 1;
  overflow: hidden;
}

.photo-moi img {
  max-height: 90vh;
  width: auto;
  height: auto;
  padding-right: 2vw;
  margin-bottom: -5px;
}

.photo-moi2 img {
  max-height: 90vh;
  width: auto;
  height: auto;
  padding-right: 2vw;
  margin-bottom: -5px;
}

.photo-moi2 {
  display: none;
}

.text-header {
  width: 50%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap : 18px;
  padding-left: 2vw;
  padding-bottom: 10vh;
}

.text-header h1 {
  max-width: 500px;
  width: 70%;
  font-family: 'Satoshi', sans-serif;
  font-size: 24pt;
  line-height: 116%;
  font-weight: 900;
  color: #F5F5FF;
  vertical-align: middle;
  animation: wyzenix 3s cubic-bezier(0.12, 0.02, 0, 2.11);
  padding-right: 10vw;
}


.text-header h2 {
  max-width: 500px;
  width: 70%;
  font-family: 'Satoshi', sans-serif;
  font-size: 12pt;
  line-height: 145%;
  font-weight: 700;
  color: #BEBED7;
  vertical-align: middle;
  animation: wyzenix 3s cubic-bezier(0.12, 0.02, 0, 2.11);
  padding-right: 10vw;
  margin-bottom: 15px;
}

.bouton-solution h2{
  display: inline;
  font-family: 'Satoshi', sans-serif;
  font-size: 12pt;
  font-weight: 700;
  color: #F5F5FF;
  vertical-align: middle;
  background-color: #ED1D24;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 10px;
  transition: color, background-color 0.3s;
}

.bouton-solution h2:hover{
  color: #ED1D24;
  background-color: #F5F5FF;
  transition: color, background-color 0.3s;
}


.bouton-solution {
  animation: bouton 2s ease-in;
}




@keyframes wyzenix {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes pb {
  0% {
    opacity: 0;
    transform: translate(60px, -50px);
  }
  50% {
    opacity: 0;
    transform: translate(60px, -50px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}





@keyframes bouton {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}





@keyframes wyzenix {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
}


@keyframes bouton {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 1440px) {

  .adapte {
    width: 112px;
    right: 7vw;
    top: 25vh;
  }

  .text-header {
    gap: 14.4px;
  }

  .text-header h1 {
    max-width: 400px;
    font-size: 19.2pt;
  }

  .text-header h2 {
    max-width: 400px;
    font-size: 9.6pt;
    margin-bottom: 12px;
    }

  .bouton-solution h2{
    font-size: 9.6pt;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px;
  }

  .photo-moi img {
    max-height: 85vh;
  }

}

@media screen and (max-width: 1160px) {

  .adapte {
    width: 90px;
    right: 10vw;
    top: 30vh;
  }


  .text-header {
    gap: 11.52px;
  }

  .text-header h1 {
    max-width: 320px;
    font-size: 15.36pt;
    }

  .text-header h2 {
    max-width: 320px;
    font-size: 7.68pt;
    margin-bottom: 9.6px;
    }

  .bouton-solution h2{
    font-size: 7.68pt;
    padding-top: 9.6px;
    padding-bottom: 9.6px;
    padding-left: 19.2px;
    padding-right: 19.2px;
    border-radius: 6.4px;
  }

  .photo-moi img {
    max-height: 75vh;
  }

}



@media screen and (max-width: 1024px) {

  .photo-moi2{
    display: flex;
    justify-content: flex-end;
    flex: 1;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
  }

  .photo-moi2 img {
    height: 40vh;
    padding-right: 0;
  }

  .photo-moi{
    display: none;
  }

  .adapte {
    width: 150px;
    right: 15vw;
    top: 15vh;
  }

  .text-header {
    gap: 30px;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    padding: 0;
  }

  .text-header h1 {
    max-width: 460px;
    font-size: 20pt;
    text-align: center;
    padding-right: 0;
    width: 100%;
    }

  .text-header h2 {
    max-width: 400px;
    font-size: 13.6pt;
    margin-bottom: 13.2px;
    text-align: center;
    padding: 0;
    width: 100%;
    }

  .bouton-solution h2{
    font-size: 16.32pt;
    padding-top: 18.54px;
    padding-bottom: 18.54px;
    padding-left: 37.2px;
    padding-right: 37.2px;
    border-radius: 12.36px;
  }

  .flex-accueil {
    height: 100vh;
    flex-direction: column-reverse;
  }

  .photo-moi {
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
  }

  .photo-moi img {
    height: 40vh;
    padding-right: 0;
  }
}

@media screen and (max-width: 460px) {

  .adapte {
    width: 120px;
    right: 15vw;
    top: 8vh;
  }

  .text-header {
    gap: 24px;
  }

  .text-header h1 {
    max-width: 80vw;
    font-size: 16pt;
    }

  .text-header h2 {
    max-width: 80vw;
    font-size: 10.88pt;
    margin-bottom: 10.56px;
    }

  .bouton-solution h2{
    font-size: 13pt;
    padding-top: 14.8px;
    padding-bottom: 14.8px;
    padding-left: 29.76px;
    padding-right: 29.76px;
    border-radius: 9.88px;
  }
}


.parallax {
    min-height: 400px;
    background: transparent;
}
