html, body {
    margin: 0;
    padding: 0;
    font-family: "Iceland", sans-serif;
    height: 100%;
    background: hsla(306, 91%, 64%, 1);

background: linear-gradient(0deg, hsla(306, 91%, 64%, 1) 0%, hsla(283, 54%, 60%, 1) 25%, hsla(207, 100%, 36%, 1) 59%, hsla(226, 70%, 18%, 1) 100%);

background: -moz-linear-gradient(0deg, hsla(306, 91%, 64%, 1) 0%, hsla(283, 54%, 60%, 1) 25%, hsla(207, 100%, 36%, 1) 59%, hsla(226, 70%, 18%, 1) 100%);

background: -webkit-linear-gradient(0deg, hsla(306, 91%, 64%, 1) 0%, hsla(283, 54%, 60%, 1) 25%, hsla(207, 100%, 36%, 1) 59%, hsla(226, 70%, 18%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F74FE6", endColorstr="#B062D0", GradientType=1 );

overflow: hidden;
}

#maintenance {
    position: relative;
    z-index: 10;
}
#maintenance img {
    width: 20%; /* Adjust the size of the equaliser */
    height: auto;
    position: absolute;
    z-index: -1;
    top: 74%;
    left: 38%;
    animation: imgup 1.5s ease-in-out infinite alternate;
    /* border-bottom: solid white 0px; */

}
@keyframes imgup {
    from {
     
    }
  
    to {
      top: 80%;
      border-bottom: solid white 7px;
    }
  }

section.home{
    margin-top: 5%;
    padding: 3%;
    width: 100%;
    height: 50vh;
    text-align: center;
    /* background-color: red; */
}
section.home h1{
    font-size: 6em;
    letter-spacing: 0.6em;
    margin-bottom: 0%;
    color: white;
    text-align: center;
    font-family: "Iceland", sans-serif;
    font-weight: 400;
    font-style: normal;
}
section.home h2{
    font-family: "Iceland", sans-serif;
    font-size: 2em;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-align: center;
    margin-bottom: 3%;
}

section.home ul{
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-top: 20%;
    margin: 0;
    padding: 0;
}

section.home ul li a{
    padding: 0.8em 1.5em;
    font-size: 1.3em;
    color: #fff;
    background-color: #f74fe6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
section.home ul li a:hover {
    background-color: #0065b9;
}
/* Pop-up projets */
#popupProjects {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#popupProjects.active {
    display: flex;
}

#popupProjects .popup-content {
    background: #0065b9;
    padding: 2rem;
    border-radius: 10px;
    min-width: 250px;
    max-width: 90vw;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
}

#popupProjects .popup-content h2 {
    margin-top: 0;
    font-size: 2em;
    color: #f74fe6;
    font-family: "Iceland", sans-serif;
}

#popupProjects .popup-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 0 0;
}

#popupProjects .popup-content ul li {
    margin: 1em 0;
}
#popupProjects .popup-content ul li span{
    font-size: 1.6em;
    color: #f74fe6;
}
#popupProjects .popup-content ul li a {
    color: #FFF;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.2s;
}

#popupProjects .popup-content ul li a:hover {
    color: #f74fe6;
    text-decoration: underline;
}

#closePopup {
    position: absolute;
    top: 10px; right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #FFF;
    transition: color 0.2s;
}
#closePopup:hover {
    color: #f74fe6;
}

/* Responsive pop-up */
@media (max-width: 480px) {
    #popupProjects .popup-content {
        padding: 1rem;
        min-width: 180px;
    }
}
/* TABLETTES - largeur max 1024px */
@media (max-width: 1024px) {
    #maintenance img {
        width: 70%;
        top: -25%;
        left: 15%;
    }

    section.home h1 {
        font-size: 4em;
        letter-spacing: 0.4em;
    }

    section.home h2 {
        font-size: 1.5em;
    }

    section.home {
        margin-top: 20%;
        height: auto;
        padding: 5%;
    }
}

/* SMARTPHONES - largeur max 768px */
@media (max-width: 768px) {
    #maintenance img {
        width: 90%;
        top: -15%;
        left: 5%;
    }

    section.home h1 {
        font-size: 2.5em;
        letter-spacing: 0.2em;
    }

    section.home h2 {
        font-size: 1.2em;
    }

    section.home {
        padding: 5%;
        height: auto;
    }
}

/* PETITS ÉCRANS - largeur max 480px */
@media (max-width: 480px) {
    #maintenance img {
        width: 70%;
        top: 100%;
        left: 12%;
    }

    section.home h1 {
        font-size: 3em;
        letter-spacing: 0.1em;
    }

    section.home h2  {
        font-size: 1.8em;
    }

    section.home {
        margin-top: 15%;
        width: 90%;

    }
     section.home ul {
        flex-direction: column;
        margin-top: 10%;
        gap: 20px;
        align-items: center; /* Ajoute ceci pour centrer les enfants */
    }
    section.home li {
        width: 50%; /* Mets 100% ici */
        text-align: center;
    }
    section.home ul li a {
        font-size: 1.5em;
        width: 100%;
        box-sizing: border-box;
        display: block;
        margin-bottom: 2%;
        padding: 0.4em 0.8em;
        margin-left: auto;
        margin-right: auto;
    }
    @keyframes imgup {
        from {
         
        }
      
        to {
          top: 110%;
          border-bottom: solid white 7px;

        }
      }
}

