* {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body{
    background-color: #0D1B2A;
    color: white;
    font-family: "Inter", sans-serif;
}

/* main{
    overflow: hidden;
} */
#scrollToTopBtn {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #555; 
    color: white; 
    cursor: pointer;
    padding: 15px; 
    border-radius: 10px; 
    font-size: 18px; 
}

#scrollToTopBtn:hover {
    background-color: #333; 
}

header{
    width: 100%;
    height: 100vh;
    background-color: #0D1B2A;
}

/* la bar de navigation */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 2rem;
}

#nav-list{
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}



#nav-list  a{
    text-decoration: none;
    font-size: 25px;
    font-family: "Inter", sans-serif;
    font-weight: 500; 
    color: white; 
}


#logo{
    padding: 20px;
}

#logo img{
    width: 200px;
    height: 90px;
}

#btn-download{
    display: flex;
    margin-right: 40px;
    gap: 20px;
}

#btn-download img{
    width: 120px;
    height: auto;
}


/* le hero header  */


#container1{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 95%;
    height: 100vh;
    margin-left: 50px;
}

.title{
    display: flex;
    flex-direction: column;
    
    width: 60%;
    gap: 2rem;
}

h1{
    font-size: 64px;
    font-weight: 600;
    margin-right: 50px;
}

.title p{
    font-size: 30px;
    margin-right: 200px;
}

.btn{
    width: 40%;
    background-color: #00C9A7;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

/* animation */
 #animation-spline{
    height: 100vh;
    width: 65%;
}


/* apropos */

#apropos{
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 100px; 
    margin-top: 60px;
}

#fonctionnement{
    margin-left: 100px;
}

.vide{
    background-color: #0D1B2A;
    width: 50%;
    height: 50vh;
}
.descriptions{
    background-color: #0D1B2A;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    gap: 20px;
    justify-content: center;
}

.descriptions h2{
    font-size: 35px;
    margin-bottom: 15px;
}

.descriptions p{
    font-size: 20px;
    margin-bottom: 8px;
}

h4{
    font-size: 25px;
    margin-top: 50px;
    margin-bottom: 15px;
}
.valeurs{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 50px;
}

.lesLogo{
    gap: 2rem;
    display: flex;
    flex-direction: row;
    
}

.lesLogo img{
    width: 70px;
    height: 70px;
}

.lesLogo p{
    margin-top: 20px;
    font-size: 20px;
}


/* les animations */
#lesAnime{
    background-image: url('../images/1304999-blue-wallpaper-2880x1800-for-mobile-hd.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: row;
    padding-top: 50px;
}



/* Fonctionement */

.slideshow-container {
  width: 90%;
  max-width: 500px;
  position: relative;
  margin: auto;
}


.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
}



.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}


.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* les cartes */

#lesCartes{
    
    height: 50vh;
    width: 80%;
    border-radius: 5px;
}

.card-stack-3d {

  position: relative;
  width: 340px;
  height: 220px;
  margin: 100px auto;
  perspective: 1000px; 
  
}

.card {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden; 
  
  transition: transform 0.7s ease, top 0.7s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px; 
}

.card1, .card2, .card3 {
  transition: transform 0.5s ease;
  position: absolute;
}

.card1 { 
    z-index: 3;
    transform: translateY(0px);
 }
.card2 { 
    z-index: 2;
    transform: translateY(15px)
 }
.card3 { 
    z-index: 1;
    transform: translateY(30px);
 }



.card-stack-3d:hover .card1 {
  transform: scale(1.6) rotate(-12deg) translate(-100px, 30px) skew(40deg, -19deg);
}

.card-stack-3d:hover .card2 {
  transform: scale(1.6) rotate(-12deg) translate(0px, 100px) skew(40deg, -19deg);
}

.card-stack-3d:hover .card3 {
  transform: scale(1.6) rotate(-12deg) translate(100px, 170px) skew(40deg, -19deg);
}

/* contact */

#contact {
  display: flex;
  background-color: #0D1B2A;
  padding: 50px;
  
  flex-wrap: nowrap;
  flex-direction: column;
}

.contact-info {
  width: 82%;
}

#contact h2{
    font-weight: 600;
    font-size: 60px;
    text-align: left;
    margin-left: 30px;
}
.formulair{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-left: 50px;
}

.reseaux-question{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.question{display: flex;
    flex-direction: column;
    gap: 20px;
    
    
}

.question p{
    font-weight: 300;
    font-style: normal;
    font-size: 36px;
}

.reseaux p{
    font-weight: 300;
    font-style: normal;
    font-size: 36px;
    margin-bottom: 20px;
}

.reseaux ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    gap: 30px;
}

.reseaux ul li i {
    font-size: 48px; 
    color: #ffffff; 
    cursor: pointer; 
    transition: color 0.3s ease;
}

.reseaux ul li i:hover {
    color: #007bff;  
}

textarea{
  font-family: "Raleway", sans-serif;
  padding-top: 8px;
  font-size: 16px;
}



.input-container {
  display: flex;
  position: relative;
  margin-top: 20px;
  justify-content: center;
  flex-direction: column;
}

.input-message {
  width: 82%;
  
}

#message {
  border-radius: 6px;
  height: 16vh;
  padding-left: 10px;
  background-color: #1C2D3F;
  color: white;
  font-weight: 200;
}

.input-container input {
  background-color: #1C2D3F;
  padding: 14px 12px 8px;
  font-size: 16px;
  color: white;
  border: 1px solid #252525;
  border-radius: 6px;
  box-sizing: border-box;
}

.input-container label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1C2D3F;
  padding: 0 4px;
  font-size: 16px;
  color: #999;
  transition: 0.2s ease;
  pointer-events: none;
}

.input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #e91e1e;
}

.input-row {
  display: flex;
  flex-direction: column;
}

.input-row .input-container {
  flex: 1;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 100px;
  width: 38%;
  height: 50vh;
  -webkit-box-shadow: 0px 0px 13px 5px rgba(0, 0, 0, 0.72);
  box-shadow: 0px 0px 13px 5px rgba(0, 0, 0, 0.72);
}

.contact p {
  font-size: 19px;
  display: flex;
}


#contact button {
  margin-top: 10px;
  padding: 8px 54px;
  color: white;
  border: 1px solid white;
  border-radius: 5px
}

form{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85%;
  margin-top: 30px;
}


#message a {
  color: #3366cc;
  text-decoration: none;
}

#message a:hover {
  text-decoration: underline;
}

.pointer {
  cursor: pointer;
  background-color: #00C9A7;
  
}

.pointer:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 15px #646cff50;
}


footer{
    margin-top: 100px;
    text-align: center;
    font-weight: 300;
    font-style: normal;
    font-size: 25px;
}


#burger {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: white;
}

/* TABLETTES  */

@media (max-width: 1024px) {
  #burger {
    display: block;
    margin-right: 20px;
  }


  .nav-right {
    display: none;
    flex-direction: column;
    background-color: #0D1B2A;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px;
    gap: 1.5rem;
  }

  #nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  #btn-download {
    flex-direction: column;
    margin: 20px 0 0 0;
  }
  h1 {
    font-size: 48px;
  }

  .title p {
    font-size: 22px;
    margin-right: 50px;
  }

  #container1 {
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    height: auto;
    gap: 2rem;
  }

  #animation-spline {
    width: 100%;
    height: 60vh;
  }

  .formulair {
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
    align-items: center;
  }

  .contact {
    width: 80%;
    margin: 0 auto;
  }
}


/* MOBILES  */

@media (max-width: 768px) {
  
  .nav-right {
    display: none; 
    flex-direction: column;
    background-color: #0D1B2A;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  #nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  
  #burger {
    display: block;
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-right: 20px;
  }


  h1 {
    font-size: 36px;
  }

  .title p {
    font-size: 18px;
    margin: 0 auto;
  }

  .btn {
    width: 80%;
    margin: 0 auto;
  }

  
  .valeurs {
    flex-direction: column;
    align-items: flex-start;
  }

  
  #contact h2 {
    font-size: 36px;
    text-align: center;
  }

  .question p,
  .reseaux p {
    font-size: 24px;
  }

  .reseaux ul {
    justify-content: center;
    gap: 15px;
  }

  .reseaux ul li i {
    font-size: 32px;
  }

  footer {
    font-size: 16px;
  }
}
