@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:wght@500&display=swap');



body {
    padding: 0 auto;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: Arial, sans-serif;
    text-align: justify;
}

a {
    font-family: 'Poppins', sans-serif;
}

header {
    padding: 30px;
    padding-bottom: 50px;
    background-image: url(../img/Arriere_plan2.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    height: 900px;
}

@media screen and (max-width: 766px) {
    header {
        padding: 0px;
        background-image: url(../img/Arriere_plan2.jpg);
        background-size: cover;
        background-position: center;
        color: white;
        height: 70px;
    }

    .app {
        padding-bottom: 50px;
    }

    .cp {
        padding-top: 54px;
    }
}

h3 {
    font-size: 45px;
    font-weight: 700;
    text-align: center;
}

h3::after {
    content: " ";
    display: block;
    border-radius: 0;
    width: 100px;
    height: 6px;
    background-color: #6CB8CF;
    margin: 15px auto;
}

.navbar-nav a {
    color: white !important;
    font-weight: 500;
    font-size: 25px;
}

.cn {
    color: white !important;
    font-weight: 900;
    font-size: 30px;
}

.hey {

    margin-top: 250px;
}

.t1 {
    font-size: 102px;
    font-weight: bold;
}

.t2 {
    font-size: 60px;
    font-weight: 300;

}

h4 {

    font-weight: 600;
    font-size: 30px;
}

h4::after {

    content: " ";
    display: block;
    border-radius: 0;
    width: 75px;
    height: 5px;
    background-color: #6CB8CF;
    margin: 10px 0;
}

.t2>span {
    font-weight: 600;
}


.cp {
    background-color: #0C344A;
    color: white;

}

.cp p {
    color: #eeeeee;
    font-size: 20px;
}

.logiciels div>img {

    max-width: 150px;

}

.logiciels div {

    text-align: center;
}

.logiciels a>img {

    max-width: 150px;

}

.logiciels a {

    text-align: center;
}

.resize div>img {

    max-width: 500px;
    max-height: 600px;

}

.portrait {

    max-width: 510px;
    max-height: 520px;

}

.cover {

    width: 100%;
    /* S'étend sur toute la largeur */
    height: 100%;
    /* S'étend sur toute la hauteur */
    object-fit: cover;
    /* Maintient les proportions en rognant */

}


/* .info {
    margin-top: 25px;
    background-color: white;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #246B96;
    width: 180px;
    height: 70px;
    border-radius: 50px;
}

.info:hover {
    margin-top: 25px;
    border-color: white;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #246B96;
    width: 180px;
    height: 70px;
    border-radius: 50px;
} */

.dwl {
    margin-top: 25px;
    margin-bottom: 25px;
    border: 3px solid #246B96;
    background-color: white;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #246B96;
    width: 263px;
    /* height: 70px; */
    border-radius: 10px;
}

.dwl-2 {
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: white;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #246B96;
    width: 263px;
    /* height: 70px; */
    border-radius: 10px;
}

/* .icon {
    background-color: #F5F5F5;
    border-radius: 200px;
    width: 125px;
    height: 125px;
}

.icon>img {
    width: 63px;
    margin-left: 31px;
    margin-top: 31px;
}

.para {
    font-size: 20px;
    margin-left: 23px;
    margin-right: 13px;
    margin-top: 20px;
}

.cpt {
    font-size: 25px;
}

.cart {
    margin-top: 40px;
    padding-left: 27px;
    padding-right: 10px;
} */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    /* Indique que l'image est cliquable */
}

.gallery-item .hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    /* Empêche les conflits avec le clic */
}

.gallery-item:hover .hover-info {
    opacity: 1;
}

.object-top {
    object-fit: cover;
    /* Rogne l'image */
    object-position: top;
    /* Aligne l'image en haut */
}

.object-middle {
    object-fit: cover;
    /* Rogne l'image */
    object-position: center;
    /* Aligne l'image au centre */
}

.object-bottom {
    object-fit: cover;
    /* Rogne l'image */
    object-position: bottom;
    /* Aligne l'image en bas */
}


.gallery-item iframe {
    width: 100%;
    height: 300px;
    pointer-events: none;
    /* Empêche l'interaction dans la galerie */
}

.nav-link {
    color: #246B96;
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.rubrique_sdis {

    background-color: rgba(238, 29, 35);



}

.rubrique_sdis img {

    background-color: rgba(238, 29, 35);

    max-width: 510px;
    max-height: 400px;

}

.rubrique_sdis h3::after {
    content: " ";
    display: block;
    border-radius: 0;
    width: 100px;
    height: 6px;
    background-color: #002f4f;
    margin: 15px auto;
}



.rubrique_sdis_a {
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: white;
    border: 3px solid #002f4f;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #002f4f;
    width: 263px;
    /* height: 70px; */
    border-radius: 10px;

}

.rubrique_sdis_a2{
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: white;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #002f4f;
    width: 263px;
    /* height: 70px; */
    border-radius: 10px;
}