body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: auto;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    background-color: #393a3a;
}


/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
    body, html {
    margin: 0;
    padding: 0;
    height: auto;
    width: auto;

    }
}

.construction-container {
    height: 100%;
    padding-top: 5%;
    padding-bottom: -5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('img/person-near-alternative-energy-plant_modified.jpg');
    background-color: rgba(47, 55, 62, 0.4); /* Couleur de fond avec opacité */
    background-blend-mode: multiply;  /* Blend-mode */
    background-size: cover;
    background-position: center;
}

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
.construction-container {
    height: auto;
    padding-top: 20%;
    padding-bottom: 20%;
    }
}

div.logo{
    display: flex;
    justify-content: center;

    }

.logo img {
    max-width: 50%;
    height: auto;
    display: block;
    object-fit: contain;
}

.message {
    margin-top: 20px;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    color: white;
    text-align: center;
}

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
    .message {
    padding-right:5%;
    padding-left:5%;

    }
}


/* icones */

.icons {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
    .icons {
        flex-direction: column; /* Afficher en colonne sur les appareils mobiles */
        align-items: center; /* Centrer les éléments en colonne */
    }

    .icon {
        margin: 10px 0; /* Ajouter de l'espace entre les icônes en colonne */
    }
}

.icon {
    text-align: center;
    margin: 0 10px;
}


.icon-text {
    color: white;
    background-color: #01B4CE;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 14px;
    margin-top: 5px;
}

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
    .icon-text {
    color: white;
    background-color: #01B4CE;
    font-size: 14px;
    margin-top: 5px;

    }
}

/*message construction*/

p.message_construction{
    font-size: 14px;
    color:white;
    font-weight: 200;
 }

p.message_construction_2{
    font-size: 10px;
    color:white;
    font-weight: 200;
 }

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {

    p.message_construction{
     margin-top: 10%;
    }

    p.message_construction_2{
     margin-top: 5%;
     font-size: 50%;
    }
}



/* message credits */

footer{
    background-color:#01B4CE;
    text-align: center;

     }

p.message_credits{
    margin-top: 0px;
    padding: 5px;
    font-size: 7px;
    font-weight: 200;
    color:white;
}

/* Définition de l'animation fadeInLogo */
@keyframes fadeInLogo {
    from {
        opacity: 0; /* Commencez avec une opacité de 0 */
    }
    to {
        opacity: 1; /* Terminez avec une opacité de 1 */
    }
}

/* Appliquez l'animation fadeInLogo à votre logo */
.logo {
    animation-name: fadeInLogo; /* Utilisez l'animation fadeInLogo */
    animation-duration: 1s; /* Durée de l'animation */
    animation-fill-mode: both; /* Assurez-vous que l'élément reste visible après l'animation */
}

/* Définition de l'animation fadeIn pour les autres éléments */
@keyframes fadeIn {
    from {
        opacity: 0; /* Commencez avec une opacité de 0 */
    }
    to {
        opacity: 1; /* Terminez avec une opacité de 1 */
    }
}

/* Appliquez l'animation fadeIn aux autres éléments après 3 secondes */
.message, .icon, .icon-text, .message_construction, .message_construction_2 {
    animation-name: fadeIn; /* Utilisez l'animation fadeIn */
    animation-duration: 1s; /* Durée de l'animation */
    animation-fill-mode: both; /* Assurez-vous que l'élément reste visible après l'animation */
    animation-delay: 1s; /* Délai de 3 secondes après le début de l'animation */
}

/* Les règles de style pour les appareils mobiles */
@media screen and (max-width: 768px) {
    /* Les mêmes animations sont appliquées aux appareils mobiles */
    .logo {
        animation-name: fadeInLogo;
        animation-duration: 1s;
        animation-fill-mode: both;
    }
    .message, .icon, .icon-text, .message_construction, .message_construction_2 {
        animation-name: fadeIn;
        animation-duration: 1s;
        animation-fill-mode: both;
        animation-delay: 1s;
    }
}


a.web_link{
    color: #09a9c8;
    text-decoration: none;
}

