body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Évite le défilement horizontal indésirable */
    overflow-y: auto; /* Permet le défilement vertical */
}

header {
    padding: 10px 20px;
    position: relative;
    z-index: 2;
    background: none;
}

.buttons {
    display: flex;
    justify-content: flex-end;
}

.img-custom-50 {
    width: 50%;
}

.img-custom-75 {
    width: 75%;
}

.banner-image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 180px;
    margin-top: 100px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.banner-image img {
    max-height: 100%;
    max-width: 100%;
    margin-top: -30px;
    margin-left: 30px;
}

.main-image {
    margin-top: -135px;
    width: 100%;
    height: auto;
    display: block;
}

.circle {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 10px auto; /* Ajoute de l'espace autour des compteurs */
}

.row.text-center.justify-content-around > div {
    margin-bottom: 20px; /* Ajoute de l'espace en bas des colonnes */
}

.btn-custom {
    background-color: #7F9FFF;
    border: 2px solid #FF7F7F;
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, border-radius 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
    text-decoration: none; /* Pour que le lien n'ait pas de soulignement */
}

.btn-custom:hover {
    background-color: #FF7F7F;
    border-color: #7F9FFF;
    border-radius: 15px;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

/* Styles généraux pour le footer */
footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 10px 0;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background-color: red;
    transform: translateX(-50%);
}

/* Styles spécifiques pour le contenu du footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.footer-content img, .social-icons img {
    height: 70px;
    width: auto;
}

.footer-content span {
    font-weight: bold;
    align-self: center;
    font-size: 1.25em;
}

.social-icons a {
    margin: 0 10px;
}

/* Styles pour les images des compteurs */
.img-custom-size {
    width: 50%; /* Largeur sur les petits écrans */
    max-width: 200px; /* Limite maximale de largeur */
    height: auto; /* Maintient les proportions */
}

@media (min-width: 768px) {
    .img-custom-size {
        width: 100%; 
        max-width: 250px; 
    }
}


.text-custom-size {
    font-size: 1rem; 
}

@media (max-width: 767.98px) {
    .text-custom-size {
        font-size: 0.75rem; 
    }

    .footer-content {
        flex-direction: column;
        padding: 0;
    }

    .footer-content img, .social-icons img {
        height: 40px; 
        width: auto;
    }

    .footer-content span {
        font-size: 0.75rem; 
        margin: 5px 0;
    }
    
    .social-icons a {
        margin: 0 5px; 
    }

    footer {
        padding: 5px 0; 
    }
}

#secu {
    height: 123px;
    width: auto;
}


