* {
  font-family: "Ubuntu", sans-serif;
}

body{
  background: #000;
    overflow-x: hidden;
}

#header-home {
  font-size: 17.5px;
}

#header-home #navbar a {
  font: bold 0.8em normal Arial, sans-serif;
  color: white;
  text-decoration: none;
  transition: 0.4s;
}

#header-home #navbar a:hover,
#header-home #navbar a.active {
  color: #31d2f2;
}


h1 {
  position: absolute;
  font-size: 40px;
  margin-top: 125px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Couleur du texte du h1 */
}


.container {
  display: flex;
  align-items: center; /* Centre en hauteur */
  justify-content: center; /* Centre en largeur */
  text-align: center;
  width: 100%;
  height: 100vh; 

}

.centered-content {
  text-transform: uppercase;
  display: block;
  text-align: center;
}



.container span{
  text-transform: uppercase;
  display: block;
}
.text1{
  color: white;

    font-weight: 200;
  letter-spacing: 8px;
  margin-bottom: 20px;
  background: black;
  position: relative;
  animation: text 3s 1;
}
.text2{
  font-size:60px;
  color: #6ab04c;
}

@keyframes text { 
  0%{
    color: black;
    margin-bottom: -60px;
  }
  30%{
   letter-spacing: 25px; 
    margin-bottom:-60px;
  }
  85%{
    letter-spacing: 8px;
    margin-bottom: -60px;
  } 
}
  


/* Styles pour la flèche pointant vers le bas */
.arrow-down {
  position: absolute;
  bottom: 40px; /* Ajustez la position verticale selon votre préférence */
  left: 50%; /* Centre horizontalement */
  transform: translateX(-50%); /* Centre horizontalement */
  text-align: center;
  animation: bounce 1s infinite; /* Ajout de l'animation */
}

.arrow-down span {
  font-size: 60px; /* Ajustez la taille de la flèche */
  color: #6ab04c; /* Couleur de la flèche */
  display: block;
}

/* Animation bounce */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


/*  écrans de largeur maximale de 700px */

@media screen and (max-width: 700px) {
  h1 {
    font-size: 30px; /* Ajustez la taille de la police pour les écrans plus petits */
    margin-top: 115px; /* Ajustez la marge supérieure */
  }

  .text1 {
    font-size: 12px;
    letter-spacing: 6px;
  }

  .text2 {
    font-size: 35px; /* Ajustez la taille de la police pour les écrans plus petits */
  }

  
@keyframes text { 
  0%{
    color: black;
    margin-bottom: -36px;
  }
  30%{
   letter-spacing: 14px; 
    margin-bottom:-36px;
  }
  85%{
    letter-spacing: 6px;
    margin-bottom: -36px;
  } 
}

  .arrow-down {
    bottom: 40px; /* Ajustez la position de la flèche pour les écrans plus petits */
  }
  .arrow-down span {
    font-size: 50px; /* Ajustez la taille de la flèche pour les écrans plus petits */
  }
}


/* Ajoutez des styles pour les écrans de largeur minimale de 1100px */
@media screen and (min-width: 1100px) {
  h1 {
    font-size: 50px; /* Ajustez la taille de la police pour les écrans plus grands */
    margin-top: 125px; /* Ajustez la marge supérieure */
  }

  .text2 {
    font-size: 60px; /* Ajustez la taille de la police pour les écrans plus grands */
  }

  .arrow-down {
    bottom: 40px; /* Ajustez la position de la flèche pour les écrans plus grands */
  }

  .arrow-down span {
    font-size: 60px; /* Ajustez la taille de la flèche pour les écrans plus grands */
  }
}






.u-center-text {
  text-align: center !important;
}

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

.u-margin-bottom-medium {
  margin-bottom: 4rem !important;
}

.u-margin-top-big {
  margin-top: 5rem !important;
}



.heading-primary {
  color: #fff;
  text-transform: uppercase;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  margin-bottom: 6rem;
}

.heading-primary--main {
  display: block;
  font-size: 6rem;
  font-weight: 500;
  letter-spacing: 3.5rem;
  -webkit-animation-name: moveInLeft;
          animation-name: moveInLeft;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
}

.heading-secondary {
  font-size: 40px;
}

.btnCustom.tarifs-cards {
  background-color: #00000070;
  font-family: "Ubuntu", sans-serif;
  z-index: 0;
 
}

.btn--green {
  background: -webkit-gradient(linear, left top, right top, from(#fc466b), to(#3f5efb));
  background: linear-gradient(to right, #fc466b, #3f5efb);
  color: #fff;
}

.btn--green::after {
  background-color: #55c57a;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}



body {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

h2 {
  font-size: 40px;
}

.section-plans {
  background: rgb(13, 24, 41);
  background: linear-gradient(
      0deg,
      rgba(13, 24, 41, 1) 0%,
      rgba(0, 0, 0, 1) 100%
  );
  padding: 4rem 0 4rem 0;
}

.card {
  background-image: url('../assets/bgProjects.jpg');
  background-size: cover; /* Optionnel : ajuste la taille de l'image pour remplir complètement l'élément */
  background-position: center; /* Optionnel : définit la position de l'image */
  background-repeat: no-repeat;
  -webkit-perspective: 150rem;
          perspective: 150rem;
  -moz-perspective: 150rem;
  position: relative;
  height: 40rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card__side {
  height: 40rem;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;

  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

.card__side--front {
  background-color: #fff;
  padding: 2rem;
}


.card__side--front-1 {
  background: #76b852;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #8DC26F, #76b852);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #8DC26F, #76b852); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}


.card__side--front-2 {
  background: #1e3c72;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #2a5298, #1e3c72);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #2a5298, #1e3c72); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--front-3 {
  background: #0575E6;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--front-4 {
  background: #FFE000;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #799F0C, #FFE000);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #799F0C, #FFE000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
          
}

.card__side--back-1 {
  background: #76b852;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #8DC26F, #76b852);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #8DC26F, #76b852); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--back-2 {
  background: #1e3c72;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #2a5298, #1e3c72);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #2a5298, #1e3c72); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--back-3 {
  background: #0575E6;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #021B79, #0575E6);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card__side--back-4 {
  background: #FFE000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #799F0C, #FFE000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #799F0C, #FFE000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */  
}

.card:hover .card__side--front-1,
.card:hover .card__side--front-2,
.card:hover .card__side--front-3, 
.card:hover .card__side--front-4 {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.card:hover .card__side--back {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}

.card__title {
  height: 8rem;
  padding: 3rem 2rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.card__heading {
  font-size: 26px;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  width: 100%; /* Pour que le texte occupe toute la largeur */
  margin-bottom: 1rem;
}

.card__heading-span {
  padding: 1rem 1.5rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.card__details {
  padding: 0 2rem 2rem;
  width: 100%; /* Définit la largeur de la liste à 100% de la largeur de la carte */
  text-align: center;
  text-align: center;
  flex-grow: 1; /* Pour que la liste occupe tout l'espace disponible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card__details ul {
  padding-left: 0;
  color: #fff;
  list-style: none;
  width: 100%;
  margin: 0 auto;
}

.card__details li {
  text-align: center;
}

.card__details ul li {

  text-align: center;
  font-size: 14px;
  padding: 15px;
}

.card__details ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.bi-arrow-right {
  margin-top: 1rem;
  opacity: 0;
}

.card__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
}

.card__price-box {
  text-align: center;
  color: #fff;
  margin-bottom: 8rem;
}

.card__price-only {
  font-size: 1rem;
  text-transform: uppercase;
}

.card__price-value {
  font-size: 4rem;
  font-weight: 100;
}

.row1, .row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -1rem;
}

.row1 {
  margin-top: 100px;
}

.row2 {
  margin-top: 80px;
}

.row1::after, .row2::after {
  content: "";
  display: table;
  clear: both;
}

.row1 [class^="col-"], .row2 [class^="col-"] {
  float: left;
}

.row1 [class^="col-"]:not(:last-child), .row2 [class^="col-"]:not(:last-child) {
  margin-right: 6rem;
}


.col-1-of-2 {
  flex-basis: calc(35% - 2rem); /* 50% moins la marge négative */
  margin: 10px;
}
.col-3-of-4 {
  flex-basis: calc(35% - 2rem); /* 50% moins la marge négative */
  margin: 10px;
}



/* écrans de largeur maximale de 400px */
@media screen and (max-width: 400px) {
  .row1 {
    margin-bottom: 0;
  }
  .col-1-of-2 {
    flex-basis: 100% !important;
    margin: 30px !important; 
  }
  .col-3-of-4 {
    flex-basis: 90% !important;
    margin: 30px !important; 
  }

  .card {
    height: 40rem;
  }

  
  .card__side {
    height: 40rem;
  }
  .card__heading {
    font-size: 26px;
  }

  .bi-arrow-right {
    opacity: 1;
    color: #fff;
    font-size: 35px;
    border: 2px solid #fff;
    padding: 0 40px;
  }

}


/* écrans de largeur maximale de 700px */
@media screen and (max-width: 700px) {
  .row1 {
    margin-top: 0px;
  }
  
  .row2 {
    margin-top: 0px;
  }
  .col-1-of-2 {
    flex-basis: 100% !important;
    margin: 30px !important; 
  }
  .col-3-of-4 {
    flex-basis: 100% !important;
    margin: 30px !important; 
  }

  .card {
    height: 36rem;
  }

  .card__side {
    height: 36rem;
  }

  .card__details ul li {
    text-align: center;
    font-size: 14px;
    padding: 10px;
  }

.heading-secondary {
  font-size: 35px;
}

  .card__heading {
    font-size: 26px;
  }

  .bi-arrow-right {
    opacity: 1;
    color: #fff;
    font-size: 35px;
    border: 2px solid #fff;
    padding: 0 40px;
  }
}


/* écrans de largeur minimale de 1100px */
@media screen and (max-width: 1100px) {
  .row1, .row2 {
    margin-bottom: 0; 
    display: flex;
    justify-content: center;
  }

  .card__side {
    height: 40rem;
  }

  .col-1-of-2, .col-3-of-4 {
    flex-basis: 35%; /* Utilisez la même largeur de colonne que le mode normal */
    margin: 10px; /* Utilisez la même marge que le mode normal */
  }

  .card {
    height: 40rem;
    margin: 0 auto; /* Utilisez la même marge que le mode normal */
  }

  .card__details ul li {
    text-align: center;
    font-size: 14px;
    padding: 8px;
  }

  .card__heading {
    font-size: 26px;
  }
}




