body {
 font-family: Arial, sans-serif;
 margin: 0;
 padding: 0;
 background-color: #f4edde;
}

#rotatingWordsContainer {
 position: relative;
 margin-top: 20px;
 padding: 30px;
}

header {
 background-color: #333;
 color: white;
 padding: 20px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.logo {
 width: 150px;
 animation: bounceInLeft 3s;
}

.header-content {
 flex-grow: 1;
 text-align: center;
}

.header-content h1,
.header-content p {
 margin: 0;
 margin-left: 20px;
 margin-right: 20px;
}

.rotatingWord {
 position: absolute;
 color: white;
 font-size: 18px;
 animation: rotateAroundContainer 20s linear infinite;
 white-space: nowrap;
}

@keyframes rotateAroundContainer {
 0% {
  top: 15%;
  left: 15%;
  transform: translateX(0);
 }

 25% {
  top: 15%;
  left: 85%;
  transform: translateX(-100%);
 }

 50% {
  top: 85%;
  left: 85%;
  transform: translateX(-100%) translateY(-100%);
 }

 75% {
  top: 85%;
  left: 15%;
  transform: translateY(-100%);
 }

 100% {
  top: 15%;
  left: 15%;
  transform: translateX(0);
 }
}

nav {
 background-color: #555;
 text-align: center;
 overflow: overlay;
 position: -webkit-sticky;
 position: sticky;
 top: 0;
 z-index: 1000;
 font-size: large;
}
 
nav a {
 display: inline-block;
 color: white;
 padding: 12px 14px;
 text-decoration: none;
}

nav a:hover {
 background-color: #ddd;
 text-decoration: none;
 color: black;
}

nav a i {
 margin-right: 5px;
}


/* Ajoute un espace en haut de la page pour compenser la barre de navigation fixée */
body {
 margin-top: 40px;
}

section {
 padding: 20px;
 color: #444;
}

#monCarrousel video {
 height: 500px;
 width: 100%;
 object-fit: cover;
}

#presentationText {
 font-family: 'Roboto Slab', serif;
 font-size: 2em;
 font-weight: 400;
 color: #333;
}

@font-face {
 font-family: 'Footlight MT Light';
 src: url('chemin/vers/footlight-mt-light.ttf') format('truetype');
}

.rotatingWord {
 font-family: 'Footlight MT Light', sans-serif;
 color: #f4edde;

 /* autres styles CSS ici */
}

#presentationText1 {
 color: #a2d5f2;
 /* Bleu pastel */
 text-decoration: underline;
 text-align: center;
 /* Centrer le texte */
 font-size: 1em;
 /* Taille de texte uniforme */
}

/* Styles pour la section presentationText1 */
#presentationText1 {
 padding: 20px;
 /* Ajoute de l'espace autour du contenu */
 background-color: #333;
 /* Couleur de fond */
 color: white;
 /* Couleur du texte */
 text-align: center;
 /* Centre le texte horizontalement */
 font-size: 1.2em;
 /* Taille du texte */
}


footer {
 width: 100%;
 background-color: #555;
 color: #fff;
 padding: 50px 0;
 text-align: center;
 margin-top: 30px;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
}

footer h2, footer h3 {
 color: #fff;
}

footer p, footer a {
 color: #ccc;
}

footer a:hover {
 color: #fff;
}

.col-md-6 {
 padding: 0 15px;
}

html, body {
 height: 100%;
 margin: 0;
 padding: 0;
}

.wrapper {
 min-height: 100%;
 position: relative;
}

.footer {
 position: absolute;
 bottom: 0;
 width: 100%;
 height: 100px; /* Changez la hauteur selon vos besoins */
}

.texte-center{
 text-align: center;
}



/* ------------------------------------ */
/* ---------SECTION  services-----------*/
/* ------------------------------------ */


.service-image {
 height: 450px;
 /* Hauteur fixe pour toutes les images */
 width: 100%;
 /* Largeur fixe pour toutes les images */
 object-fit: cover;
 /* Couvre la zone de l'élément img sans déformation */
}

.service-column {
 display: flex;
 flex-direction: column;
 align-items: center;
 margin-bottom: 20px;
}

.service-column h4 {
 margin-bottom: 10px;
 /* Ajoute un espace entre le h4 et le paragraphe */
}

.clear {
 clear: both;
}

.padding_10{
 padding: 10px 20px 10px 20px;
}
.service-text {
 background: rgba(123, 123, 123);
 font-size: 20px;
 color: white;
 /* Couleur du texte */
 padding: 0px 10px 10px 10px;
 /* Espacement intérieur uniforme */
 width: 100%;
 /* Assure que le texte prend toute la largeur de l'image */
 text-align: justify;

 /* Hauteur minimale */
 display: flex;
 /* Utilisation de flexbox */
 justify-content: center;
 /* Centrer horizontalement */
 align-items: center;
 /* Centrer verticalement */
}

.service-text-small {
 min-height: 130px;
}

.service-text-medium {
 min-height: 200px;
}

.service-text-large {
 min-height: 280px;
}
.service-text-extralarge {
 min-height: 480px;
}

.service-text-ultralarge {
 min-height: 1030px;
}

.service-text-container {
 background: rgba(123, 123, 123);
 color: white;
 font-size: 18px;
 /* Couleur du texte */
 padding: 10px 10px 10px 10px;
 /* Espacement intérieur uniforme */
 width: 100%;
 /* Assure que le texte prend toute la largeur de l'image */
 text-align: center;
 
}


.btn-primary {
 margin-top: 10px;
 /* Espacement au-dessus du bouton */
}


/* Animation pour les phrases */
@keyframes fadeInUp {
 from {
  transform: translateY(20px);
  opacity: 0;
 }

 to {
  transform: translateY(0);
  opacity: 1;
 }
}

#presentationText p {
 opacity: 0;
 animation: fadeInUp 1s ease forwards;
 /* Transition douce pour l'opacité */
 animation-delay: 0.5s;
 /* Attend 0.5 secondes avant de commencer */
}

/* Styles pour le texte des phrases */
#presentationText p {
 margin-bottom: 20px;
 /* Espacement en dessous de chaque phrase */
}

/* CSS pour l'effet parallaxe */
.parallax {
 background-image: url('chemin/vers/ton/image.jpg');
 /* Chemin vers l'image pour l'effet parallaxe */
 background-attachment: fixed;
 /* Faire en sorte que l'image reste fixe pendant le défilement */
 background-position: center;
 /* Centrer l'image */
 background-repeat: no-repeat;
 /* Ne pas répéter l'image */
 background-size: cover;
 /* Couvrir tout l'élément avec l'image */
 height: 500px;
 /* Hauteur de la section */
 position: relative;
 /* Positionnement relatif pour les enfants positionnés absolument */
}

.parallax h1 {
 color: white;
 /* Couleur du texte */
 text-align: center;
 /* Centre le texte horizontalement */
 padding-top: 200px;
 /* Espacement au-dessus du texte */
}

@media screen and (max-width: 768px) {
 .logo {
  width: 100px;
 }
}

/* Animation pour le logo */
@keyframes bounceInLeft {
 0% {
  transform: translateX(-500px);
 }

 60% {
  transform: translateX(30px);
 }

 80% {
  transform: translateX(-10px);
 }

 100% {
  transform: translateX(0);
 }
}