* {
    margin: 0px 10px 0px 0px;
    padding: 0;

    box-sizing: border-box;
}

.top-infos {
    background-color: #0047AB;
    color: #fff;
}

.top-infos a {
    color: #fff;
    text-decoration: none;
}

.top-infos a:hover {
    color: #e8f4ff;
    text-decoration: underline;
}

.navbar-brand img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}


.main {
    display: gid;
    grid-template-columns: auto;
    grid-template-rows: 100% 100%;

    justify-content: center;
    align-items: center;
    row-gap: 2px;
    padding: 15px;
    color: black;
    animation: fadeIn 1.5s ease-in-out;
}

.main h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: zoomIn 1s ease-in-out;
    color: #0047AB;
}

.main p {
    font-size: 1.5rem;
    animation: fadeInText 2s ease-in-out;
}

.presentation {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-rows: 100%;
    justify-content: center;
    align-items: center;
    padding: 30px;
    column-gap: 15px;
    margin: 10px 10px;

}





.dire-pdg {
    height: 280px;
    font-size: 1.2rem;
    height: auto;

}

.photo-pdg {
    height: 280px;
    width: 300px;
    display: block;
    text-align: justify;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);


}


.dire-pdg h1 {

    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4E8B71;
    color: #0047AB;


}

.entete-section {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    padding: 10px 0;

    color: #0047AB;

}

.container-service {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    justify-content: center;
    gap: 2px;
    padding: 5px;
    width: 100%;

}

.service-item {

    height: auto;
    padding: 10px;
    background: #0047AB;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0px 5px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0047AB;

}

.service-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    /* Couleur du texte */
}

.container-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    margin: 10px 30px;
}

.container-news-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 5px;
    text-align: center;

}


.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    background-color: #333;
    color: white;
    text-align: justify;
}

.footer-item {
    color: #ccc;
    text-decoration: none;
    height: auto;
    padding: 5px;
    margin: 5px 2px;

    justify-content: center;



}

.footer-item h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: #0047AB;
    text-decoration: underline solid #0047AB;
    text-decoration-thickness: 5px;
    text-align: center;
}

.footer-item ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    justify-content: justify !important;
    text-align: center;
}

.footer-item a {
    color: #ccc;
    text-decoration: none;
}

.footer-item a:hover {
    color: #fff;
}

@media screen and (max-width:767px) {

    .navbar-brand img {
        width: 65px;
        height: 65px;
        border-radius: 50%;
    }



    .main {
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        padding: 5px;
        color: black;
        animation: fadeIn 1.5s ease-in-out;
        padding: 5px;
    }

    .main h1 {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 1px 5px;
        animation: zoomIn 1s ease-in-out;
        color: #0047AB;
        text-align: center;
        justify-content: center;
        padding: 5px;
    }

    .main p {
        font-size: 1rem;
        text-align: center;
        justify-content: center;
        animation: fadeInText 2s ease-in-out;
        padding: 5px;

    }

    .presentation {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
        flex-wrap: wrap;
        margin: 5px 5px;
        height: auto;
    }

    /* .presentation-reverse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
        flex-wrap: wrap;
        margin: 5px 5px;
        height: auto;

    } */



    .dire-pdg {
        height: auto;
        font-size: 1rem;
        justify-content: center;
        align-items: center;


    }

    .dire-pdg h1 {
        text-align: center;
        justify-content: center;
        font-size: 1.5rem;
        margin: 5px;
        padding: 1px;

    }

    .photo-pdg {
        height: 200px;
        width: auto;
        display: block;
        text-align: justify;
        margin: 5px 25px;

        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);


    }


    .dire-pdg h1 {

        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #4E8B71;
        color: #0047AB;
        font-size: small;


    }


    .container-service {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;

        padding: 10px;
        font-size: 80px;
    }





    .service-item {
        width: 100%;
        height: auto;
        padding: 4px;

        background: #0047AB;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        margin: 5px 0px;
    }

    .service-item h3 {
        font-size: 2rem;
        margin: 3px 0px;
        color: #0047AB;

        text-align: center;

    }

    .service-item p {
        font-size: 1rem;
        text-align: center;
        color: #fff;
    }

    .container-news {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 5px;
        background-color: #f9f9f9;
        font-size: 1rem;
        margin: 10px 20px;
    }

    .container-news-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        border-radius: 2px;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
        margin: 10px;
        padding: 3px;
        text-align: center;

    }

    .footer {
        display: flex;
        flex-direction: column;
        gap: 3px;
        /* padding: 5px; */
        background-color: #333;
        color: white;
        text-align: justify;
    }

    .footer-item {
        color: #ccc;
        text-decoration: none;
        height: auto;
        padding: 5px;
        margin: 2px 1px;

        justify-content: center;



    }

    .footer-item h3 {
        margin-bottom: 5px;
        position: relative;
        padding-bottom: 15px;
        color: #0047AB;
        text-decoration: underline solid #0047AB;
        text-decoration-thickness: 1px;
        text-align: center;
    }

    .footer-item ul {

        list-style: none;

        justify-content: justify !important;
        text-align: center;
    }

    .footer-item a {
        color: #ccc;
        text-decoration: none;
    }

    .footer-item a:hover {
        color: #fff;
    }

}

@media screen and (min-width:768px)and (max-width:1000px) {


    .main {
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        padding: 5px;
        color: black;
        animation: fadeIn 1.5s ease-in-out;
        padding: 5px;
    }

    .main h1 {
        font-size: 2rem;
        font-weight: bold;
        margin: 1px 5px;
        animation: zoomIn 1s ease-in-out;
        color: #0047AB;
        text-align: center;
        justify-content: center;
        padding: 5px;
    }

    .main p {
        font-size: 1.5rem;
        text-align: center;
        justify-content: center;
        animation: fadeInText 2s ease-in-out;
        padding: 5px;

    }

    .presentation {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
        flex-wrap: wrap;
        margin: 5px 5px;
        height: auto;
    }



    .dire-pdg {
        height: auto;
        font-size: 1.5rem;
        justify-content: center;
        align-items: center;

    }

    .dire-pdg h1 {
        text-align: center;
        justify-content: center;
        font-size: 2rem;
        margin: 5px;
        padding: 15px;

    }

    .photo-pdg {
        height: 400px;
        width: 500px;
        display: block;
        text-align: justify;
        margin: 5px 25px;

        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);


    }










    .container-service {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;

        padding: 10px;
        font-size: 80px;
    }


    .service-item {
        width: 100%;


        padding: 4px;
        background: #0047AB;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        margin: 5px 0px;
    }

    .service-item h3 {
        font-size: 2.5rem;
        margin-bottom: 3px;
        color: #0047AB;
        text-align: center;

    }

    .service-item p {
        font-size: 2rem;
        text-align: center;
        color: #fff;
    }

    .container-news {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 5px;
        background-color: #f9f9f9;
        font-size: 2rem;
        margin: 3px 20px;
    }

    .container-news-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        border-radius: 2px;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
        margin: 10px;
        padding: 3px;
        text-align: center;
    }

}