@media (max-width: 320px) {
    .carousel-caption {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center !important;
        height: 100%;
        top: 15% !important;
        position: absolute;
    }


}

@media (max-width: 375px) {

    /* Centrer le contenu de '.mes_info' */
    .mes_info {
        text-align: center;
    }

    /* Assurer que les '.blocksecond' soient en colonne et centrés */
    .blocksecond {
        flex-direction: column;
        align-items: center;
    }

    /* Images responsives */
    .blocksecond img {
        max-width: 100%;
        /* S'assurer que l'image ne dépasse pas son conteneur */
        height: auto;
        /* Maintenir l'aspect ratio de l'image */
        margin-bottom: 10px;
        /* Ajouter de l'espace entre l'image et le texte */
    }

    /* Texte descriptif du produit */
    .info {
        padding: 0 10px;
        /* Ajouter du padding pour éviter le texte trop collé aux bords */
    }

    /* Texte de la quantité */
    .quantity {
        margin-top: 10px;
        /* Ajouter de l'espace entre l'info et la quantité */
    }

    /* Total */
    .total h4 {
        margin-top: 10px;
        /* Ajouter de l'espace avant le total */
    }



}




@media (max-width:575.98px) {
    .logo_tablette {
        width: 120px;
        height: auto;
    }
}

@media (max-width:576px) {
    .logo_tablette {
        width: 120px;
        height: auto;
    }

    .etage1 {
        margin-left: 5px !important;
    }
}


@media (min-width: 576px) and (max-width: 766.40px) {
    .logo_tablette {
        width: 120px !important;
        height: auto !important;
    }
}




@media (min-width:767px)and (max-width:767.98px) {
    .logo {
        flex: 1;
        text-align: center;
        /* Centre le contenu de la div .logo */
    }

    .logo a {
        display: inline-block;
    }


    .logo_general {
        display: inline-block;
        /* Assure que les images sont alignées correctement */
    }

    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }
}


@media screen and (max-width: 767.98px) {



    .text-content2 h1 {
        font-size: 15px !important;
    }

    .text-content2 p {
        font-size: 12px !important;
    }

    .text-content2 i {
        font-size: 30px !important;
    }


    .sign-in h1 {
        margin-top: 50px;
    }

    .calendar header h3::after {
        left: 57% !important;
    }

    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }


    .element1,
    .element2 {
        display: none;
    }

    .hamburger .fa-bars,
    .hamburger .fa-shopping-cart {
        font-size: 1em;
    }

    .hamburger .fa-search {
        display: none;
    }

    .sub-menu1 {
        display: none !important;
    }

    .accordion {
        position: absolute;
        z-index: 1000;
        width: 100% !important;
    }

    .collapse {
        width: 100%;
    }


    #petit_lien {
        padding-left: 1rem;
    }

    #petit_lien a {
        font-size: 21px;
        color: #946137;
        text-decoration: none;
        font-weight: 700;
    }


    .accordion-item {
        background-color: #FFFEF8;
    }

    .accordion-button {
        background-color: #FFFEF8;
    }


    .cliquer-choisir {
        white-space: nowrap;
    }


}




@media screen and (max-width: 768px) {


    .menu-icone i {
        font-size: 12px !important;
    }



    .blocksecond,
    .total {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blocksecond>div,
    .total {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Assurez-vous que les images ne débordent pas de leur conteneur */
    .blocksecond img {
        max-width: 100%;
        height: auto;
    }



    section {
        padding-bottom: 1px !important;
    }

    .carousel-title {

        font-size: 1.7rem !important;

    }

    .carousel-subtitle {
        font-size: 3rem !important;

    }
}


@media(min-width:767px) and (max-width:768px) {

    .mon_img {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .mon_img img {
        max-width: 400px !important;
        height: auto;
    }

    .mon_text_1 {
        white-space: nowrap;
    }
}



@media (min-width: 768px) and (max-width: 1024px) {
   .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }

    .logo {
        flex: 1;
        text-align: center;
        /* Centre le contenu de la div .logo */
    }

    .logo a {
        display: inline-block;
    }


    .logo_general {
        display: inline-block;
        /* Assure que les images sont alignées correctement */
    }


    .element1,
    .element2 {
        display: none;
    }

    .hamburger .fa-bars,
    .hamburger .fa-shopping-cart {
        font-size: 1em;
    }

    .hamburger .fa-search {
        display: none;
    }

    .sub-menu1 {
        display: none !important;
    }

    .accordion {
        position: absolute;
        z-index: 1000;
        width: 100% !important;
    }

    .collapse {
        width: 100%;
    }


    #petit_lien {
        padding-left: 1rem;
    }

    #petit_lien a {
        font-size: 21px;
        color: #946137;
        text-decoration: none;
        font-weight: 700;
    }

    /* .carousel-caption {
                white-space: nowrap;
            } */


    .accordion-item {
        background-color: #FFFEF8;
    }

    .accordion-button {
        background-color: #FFFEF8;
    }


    .mon_titre_second h2 {
        font-size: 8vw !important;
        transform: translateX(-40px);
    }



    .Ariane {
        padding-left: 2vw !important;
    }

    .popup-content2 {
        max-width: 100% !important;
    }





    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }


    .mon_text_1 {
        white-space: nowrap !important;
    }


}


/* Pour les écrans de 1024px à 1110px */
@media (min-width: 1024px) and (max-width: 1111.20px) {
    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }


    .logo {
        flex: 1;
        text-align: center;
        /* Centre le contenu de la div .logo */
    }

    .logo a {
        display: inline-block;
    }


    .logo_general {
        display: inline-block;
        /* Assure que les images sont alignées correctement */
    }

    .element1,
    .element2 {
        display: none;
    }



    .hamburger .fa-bars,
    .hamburger .fa-shopping-cart {
        font-size: 1em;
    }

    .sub-menu {
        display: none;
    }


    .hamburger .fa-search {
        display: none;
    }




    .collapse {
        width: 100%;
    }

    .accordion {
        position: absolute;
        z-index: 1000;
        width: 100% !important;
        background-color: #FFFEF8 !important;
    }


    .sub-menu1 {
        display: none !important;
    }


    #petit_lien {
        padding-left: 1rem;
    }


    #petit_lien a {
        font-size: 21px;
        color: #946137;
        text-decoration: none;
        font-weight: 700;
    }





    .carousel-caption {
        white-space: nowrap;
    }

    .accordion-item {
        background-color: #FFFEF8;
    }


    .accordion-button {
        background-color: #FFFEF8;
    }

    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }





}


@media (min-width: 1112px) and (max-width: 1192px) {

    .el1,
    .el2,
    .el1 a {
        margin: 1px;

    }

    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }

}


@media (min-width: 480px) and (max-width: 767px) {
    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }

    .element1,
    .element2 {
        display: none;
    }



    .hamburger .fa-bars,
    .hamburger .fa-shopping-cart {
        font-size: 1em;
    }

    .sub-menu {
        display: none;
    }


    .hamburger .fa-search {
        display: none;
    }




    .collapse {
        width: 100%;
    }

    .accordion {
        position: absolute;
        z-index: 1000;
        width: 100% !important;
        background-color: #FFFEF8 !important;
    }


    .sub-menu1 {
        display: none !important;
    }


    #petit_lien {
        padding-left: 1rem;
    }


    #petit_lien a {
        font-size: 21px;
        color: #946137;
        text-decoration: none;
        font-weight: 700;
    }


    .logo_general {
        display: none !important;
    }

    .logo_tablette {
        display: block !important;
    }


    .carousel-caption {
        white-space: nowrap;
    }

    .accordion-item {
        background-color: #FFFEF8;
    }


    .accordion-button {
        background-color: #FFFEF8;
    }


    .mon_titre_second h2 {
        font-size: 10vw !important;
    }



    .Ariane {
        padding-left: 2vw !important;
    }



    .banner-personaliser {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .mon_text_1 {
        margin-top: 50px;
        margin-bottom: 50px;
        text-align: center;
    }

    .mon_text_1 h2 {
        font-size: 1.7rem !important;
    }

    .mon_text_1 span {
        font-size: 2.2rem !important;
    }

    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }

}


@media (max-width: 480px) {
    .sub-menu {
        display: none;
    }

    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px;
    }

    .element1,
    .element2 {
        display: none;
    }

    .hamburger .fa-bars,
    .hamburger .fa-shopping-cart {
        font-size: 1em;
    }

    .hamburger .fa-search {
        display: none;
    }




    .logo img {
        width: 120px;
        height: auto;
    }

    .accordion {
        position: absolute;
        z-index: 1000;
        width: 100% !important;
        background-color: #FFFEF8 !important;
    }

    .accordion-item {
        background-color: #FFFEF8;
    }


    .accordion-button {
        background-color: #FFFEF8;
    }



    .collapse {
        width: 100%;
    }


    .hamburger {
        top: 100%;
    }


    .sub-menu1 {
        display: none !important;
    }


    #petit_lien {
        padding-left: 1rem;
    }

    #petit_lien a {
        font-size: 21px;
        color: #946137;
        text-decoration: none;
        font-weight: 700;
    }


    .logo_general {
        display: none !important;
    }

    .logo_tablette {
        display: block !important;
    }

    .carousel-caption {
        white-space: nowrap;
    }


    .mon_titre_second h2 {
        font-size: 10vw !important;
    }

    .Ariane {
        padding-left: 2vw !important;
    }

    .etage1 {
        margin-left: 5px !important;
    }



    .responsive-header {
        font-size: 11vw !important;
    }


    .banner-personaliser {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .mon_text_1 {
        margin-top: 50px;
        margin-bottom: 50px;
        text-align: center;
    }


    .mon_text_1 h2 {
        font-size: 1.7rem !important;
    }

    .mon_text_1 span {
        font-size: 2.2rem !important;
    }


    .banner-e p {
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
        margin: 0 auto;
        max-width: 80%;
    }

    .dimensions {
        flex-direction: column;
        align-items: center;
        margin: 50px auto !important;
    }

    .dimension {
        margin-bottom: 20px !important;
    }

    .dimension:last-child {
        margin-bottom: 0;
    }


}












@media only screen and (max-width:991.98px) {

    .carousel-pagination {
        top: 469px;
    }

    .mes_card {

        margin: 10px !important;

    }

    .mes_card img {
        width: 80%;
        /* Cela garantit que l'image sera responsive et s'adaptera à la taille de son conteneur .mes_card */
        height: auto;
        /* Cela maintient le ratio d'aspect de l'image */
    }

    .container-principal {
        margin-left: 12px;
        margin-right: 12px;
    }





    h4 {

        font-size: 11px;

    }

    p {
        font-size: 11px;
    }


    .col-md-3 h5,
    .col-md-3 p {
        font-size: 10px;
    }

    .col-md-3 a {
        font-size: 10px;
    }


    .principal p {
        margin-left: 5px !important;
        left: 12px !important;
    }


}



@media only screen and (max-width: 1024px) {
    body {
        width: 100%;
        margin: 0;
        padding: 0;

    }

    .responsive-header {
        font-size: 4vw !important;
    }

    .side-bar .container .row .col-12 h2 {
        font-size: 40px !important;
        /* Nouvelle taille de la police pour les écrans plus petits */
    }

    .side-bar .container .row .col-12 p {
        font-size: 15px !important;
        /* Nouvelle taille de la police pour les écrans plus petits */
    }


    .carousel-pagination {
        top: 475px !important;
    }


    .mon_titre h2 {
        width: 500px;
        height: 200px;
        font-size: 40px !important;
    }





    .rectangle-gris p {
        font-size: 14px !important;
    }

    .butom button a {
        white-space: nowrap;
    }

    h4 {

        font-size: 14px;

    }

    p {
        font-size: 14px;
    }


    .footer {
        gap: 100px !important;
    }


    .col-md-3 h5,
    .col-md-3 p {
        font-size: 11px;
    }

    .col-md-3 a {
        font-size: 11px;
    }




    .btn-position {
        position: relative;
        right: 1px !important;
    }


    #ma h2 {
        font-size: 30px !important;
    }



    #ma h2 span {
        white-space: nowrap;
        font-size: 20px !important;
    }

    .principal p {
        font-size: 100px !important;
    }

    .principal span {
        font-size: 150px !important;
    }


    .my_first div a {
        font-size: 13px !important;
    }


    #hamburger1 {
        display: block !important;
    
    }



    .hamburger .containe {
        display: none !important;
    }

}



@media only screen and (max-width:1199.98px) {

    .hamburger .container {
        display: none !important;
    }


    .carousel-pagination {
        top: 520px;
    }


    .mon_titre h2 {
        width: 500px;
        height: 200px;
        font-size: 40px !important;
    }


    .rectangle-gris p {
        font-size: 14px !important;
    }

    .col-md-3 h5,
    .col-md-3 p {
        font-size: 12px;
    }

    .col-md-3 a {
        font-size: 12px;
    }



    .footer {
        gap: 600px !important;
    }

    #ma h2 {
        font-size: 60px !important;
    }



    #ma h2 span {
        white-space: nowrap;
        font-size: 50px !important;
    }


    .col-sm-5 h2 {
        font-size: 29px !important;
    }

    .col-sm-5 span {
        font-size: 39px !important;
    }

}




@media only screen and (max-width:1440px) {
    /*pour le side-bar*/
    .side-bar .mon_titre h2 {
        font-size: 12px;
        font-weight: 400;
        width: 500px;
        height: 500px;
    }

    /*pour la partie au dessus du side-bar*/
    .container-principal {
        display: flex;
        justify-content: space-between;
        gap: 25px;
    }

    #ma h2 {
        font-size: 60px;
    }



    #ma h2 span {
        font-size: 75px !important;
    }




    .principal p {
        font-size: 100px !important;
    }

    .principal span {
        font-size: 150px !important;
    }

}





@media (min-width:1200px) {
    .second_text p {
        font-size: 35px !important;
    }

    .second_text span {
        font-size: 55px !important;
    }

    .mon_titre h2 {
        width: 500px;
        height: 200px;
        font-size: 40px !important;
    }



    .rectangle-gris p {
        font-size: 14px !important;
    }


    .col-md-3 h5,
    .col-md-3 p {
        font-size: 12px;
    }

    .col-md-3 a {
        font-size: 12px;
    }


    .menu-hww {
        top: 86px;
    }

    .sous-menu {
        top: 86px;
    }


    #ma h2 {
        font-size: 50px !important;
    }



    #ma h2 span {
        white-space: nowrap;
        font-size: 63px !important;
    }

}