html
{
 width: 99%; 
  
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
	width: 85%;
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	   margin-left: auto;
  margin-right: auto;
  border: 3px solid green;
  padding: 1%;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}



        h1 span {
            opacity: 0;
            display: inline-block;
            animation: fadeInColor 2.2s ease-in-out forwards;
        }

        h1 span:nth-child(1) { animation-delay: 0s; color: #ff5733; }
        h1 span:nth-child(2) { animation-delay: 0.2s; color: #ffa533; }
        h1 span:nth-child(3) { animation-delay: 0.4s; color: #ffc733; }
        h1 span:nth-child(4) { animation-delay: 0.6s; color: #ff5733; }
        h1 span:nth-child(5) { animation-delay: 0.8s; color: #ffa533; }
        h1 span:nth-child(6) { animation-delay: 1s; color: #ffc733; }
		h1 span:nth-child(7) { animation-delay: 1s; color: #ffc733; }
		h1 span:nth-child(8) { animation-delay: 1s; color: #ffc733; }
		h1 span:nth-child(9) { animation-delay: 1s; color: #ffc733; }
		h1 span:nth-child(10) { animation-delay: 1.1s; color: #ffa533; }
		h1 span:nth-child(11) { animation-delay: 1.2s; color: #ffc733; }
		h1 span:nth-child(12) { animation-delay: 1.3s; color: #ffc733; }
		h1 span:nth-child(13) { animation-delay: 1.4s; color: #ffa533; }
		h1 span:nth-child(14) { animation-delay: 1.5s; color: #ff5733; }
		h1 span:nth-child(15) { animation-delay: 1.6s; color: #ffc733; }
		h1 span:nth-child(16) { animation-delay: 1.7s; color: #ff5733; }
		h1 span:nth-child(16) { animation-delay: 1.8s; color: #ffc733; }
		h1 span:nth-child(17) { animation-delay: 1.9s; color: #e59866; }
		h1 span:nth-child(18) { animation-delay: 2.0s; color:#f4d03f; }
		h1 span:nth-child(19) { animation-delay: 2.1s; color: #ffa533; }
		

        @keyframes fadeInColor {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
header .logo h1 {
    margin: 0;
    font-size: 1.6rem;
    color: #ff6600;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

.hero {

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: #fff;
    padding: 20px;
    margin-top: 60px; /* Marge pour éviter le chevauchement avec le header */
	padding-top: 1%;
}

.hero-content {

    display: flex;
    align-items: flex-start; /* Aligne les éléments en haut */
    justify-content: space-between; /* Espace les éléments horizontalement */
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
}

.hero-image {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding-top: 1%;
}


.heroimageleft
{
    text-align: center;
    width: 24%;
    height: auto;
    border-radius: 10px;
    padding-top: 7%; /* Ajustez si nécessaire */
    margin: 30px; /* Assurez-vous qu'il n'y a pas de marges parasites */
}


.heroimageright
{
  text-align: center;
    width: 24%;
    height: auto;
    border-radius: 10px;
     padding-top: 3%; /* Ajustez si nécessaire */
    margin: 30px; /* Assurez-vous qu'il n'y a pas de marges parasites */
}


.hero-text {
  padding-top: 1%; /* Ajustez si nécessaire */
    width: 48%;
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    opacity: 1; /* Assure-toi que le texte est visible */
    z-index: 1; /* S'assurer qu'il est au-dessus des autres éléments */
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ff6600;
    display: flex;
    justify-content: center;
    align-items: center;
	 opacity: 1;
}

.hero-text h1 span {
    display: inline-block;
    animation: colorChange 2s infinite alternate;
    animation-delay: calc(0.1s * var(--i));
	 opacity: 1;
}

@keyframes colorChange {
    0% { color: #ff6600; }
    25% { color: #00ccff; }
    50% { color: #ff00ff; }
    75% { color: #00ff00; }
    100% { color: #ff0000; }
}

.hero-text .intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
	opacity: 1;
}

.hero-text p, .hero-text ul {
    opacity: 1;
}

.hero-text ul {
    list-style: none;
    padding: 1%;
    margin: 20px 0;
}

.hero-text ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.hero-text ul li::before {
    content: "•";
    color: #ff6600;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.fade-in
{
  
  padding: 1%;
}

.fade-in2
{
  text-align: center;
  padding: 1%;
  animation-delay: calc(0.9s * var(--i));
animation: colorChange2 6s infinite alternate;
}


@keyframes colorChange2 {
    0% { color: #ff6600; }
    25% { color: #00ccff; }
    50% { color: #ff00ff; }
    75% { color: #00ff00; }
    100% { color:  #fdfefe; }
}

.devis-text {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 300px;
    margin-top: 19%; /* Marge supérieure pour éviter le chevauchement */
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
	padding: 1%;
	 animation: slideInRight 1.5s ease-out forwards;
}

.devis-text h3 {
    font-size: 1.3rem;
    color: #ff6600;
    margin-bottom: 10px;
}

.devis-text p {
    margin-bottom: 8px;
    color: #333;
}

.devis-text ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.devis-text ul li {
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: #333;
}

.devis-text ul li::before {
    content: "•";
    color: #ff6600;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Animations pour les images */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
  top: 2px;
 width: 70%; 
    animation: slideInLeft 1.5s ease-out forwards;
}

.slide-in-right {
  top: 2px;
  width: 70%;
    animation: slideInRight 1.5s ease-out forwards;
}


.slide-in-right75 {
  top: 2px;
  
  max-width: 90%;
  
  min-height: 400px;
    animation: slideInRight 1.1s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        padding: 20px;
    }

    .hero-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-text {
        width: 100%;
        font-size: 0.9rem;
		
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .intro {
        font-size: 1rem;
    }

    .devis-text {
        padding: 15px;
    }

    .devis-text h3 {
        font-size: 1.3rem;
    }

    .devis-text p, .devis-text ul li {
        font-size: 0.8rem;
    }
}