@media screen and (max-width: 450px) {

    :root {
        --bg_color: #F2F2F2;
        --menu_color: #000000;
        --font_titre: 15pt;
        --font_slider: 30pt;
        --font_menu_rect: #D4B151;
        --font_service: 25pt;
        --font_realisation: 20pt;
        --outline: #ffffff;
        --texte: #ffffff;
        --border: 2px solid var(--outline);
        --dots-color: #DFBD5C;
        --animate-duration: 1.5s;
        --animate-delay: 1s;
        --animate-repeat: 1
    }

    .space {
        padding-left: 10px;
        padding-right: 10px;
    }

    .space_bottom {
        margin-bottom: 45px;
    }

    .pc {
        display: none;
    }

    .logo_container img {
        width: 35px;
    }

    .logo_container p {
        position: relative;
        padding-left: 5px;
        font-size: 12pt;
    }

    .logo_container p::after {
        display: flex;
        content: "";
        width: 2px;
        height: 30px;
        background-color: rgb(255, 255, 255);
        margin-left: 10px;
        position: absolute;
        top: -5px;
        left: -10px;
    }

    .menu_hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
    }

    .menu_hamburger:first-child {
        margin-top: 0;
    }

    header {
        height: 50px;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 25px;
        height: 3px;
        background-color: var(--texte);
        margin-top: 3px;
        border-radius: 5px;
        transition: all 0.7s;
    }

    .bar2 {
        width: 20px;
        align-self: end;
    }

    .open .bar1,
    .open .bar2,
    .open .bar3 {
        background-color: var(--dots-color);
    }

    .open .bar1 {
        transform: translateY(200%) rotate(-45deg);
    }

    .open .bar2 {
        transform: translateX(-100%);
        opacity: 0;
    }

    .open .bar3 {
        transform: translateY(-200%) rotate(45deg);
    }

    .menu_nav {
        position: fixed;
        top: 0;
        left: -70%;
        padding-top: 20px;
        padding-left: 20px;
        background-color: rgba(0, 0, 0, 0.95);
        /* backdrop-filter: blur(4px); */
        width: 60%;
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.5s;
    }

    .menu_nav_slide {
        transform: translateX(100%);
    }

    .menu_nav li {
        border-bottom: 1px dotted var(--texte);
        padding: 10px 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }


    .btn_nav:hover a {
        color: #DFBD5C;
    }

    .fa-solid,
    .fas {
        color: var(--texte);
        font-weight: 900;
        font-size: 20pt;
    }

    .swiper {
        width: 100%;
        height: 300px;
        position: relative;
        overflow: hidden;
    }

    .swiper-slide {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .slide_image {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .slide_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide_filter {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: left;
        transform: translateZ(0);
        opacity: 1;
        /* Ensure the overlay and text are always visible */
        transition: opacity 0.3s ease;
    }

    .slide-text {
        color: white;
        max-width: 250px;
        margin-left: 20px;
        margin-top: 20%;
        opacity: 1;
        /* Ensure the overlay and text are always visible */
        transition: opacity 0.3s ease;
    }

    .slide-text h1 {
        font-size: 12pt;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .slide-text h3 {
        font-size: 9pt;
        font-weight: 300;
        margin-bottom: 0;
    }

    .service_title {
        color: var(--menu_color);
        font-size: 15pt;
        font-weight: 700;
        position: relative;
        letter-spacing: 2px;
        padding-left: 15px;
        text-transform: uppercase;
    }

    .form_bf_title::before {
        content: "";
        position: absolute;
        background-color: var(--font_menu_rect);
        width: 7px;
        height: 35px;
        left: calc(0px);
        bottom: -4px;
    }

    .arrow img {
        width: 20px;
        height: 20px;
    }

    .nos_services_item {
        display: flex;
        gap: 15px;
    }

    .flip-card {
        background-color: transparent;
        width: 150px;
        height: 200px;
        perspective: 1000px;
    }

    .flip-card-front-text {
        width: 95%;
        margin: 5px;
        position: absolute;
    }

    .flip-card-front-text p {
        letter-spacing: 3px;
        font-weight: 500;
        font-size: 11pt;
        color: var(--texte);
        text-transform: uppercase;
        text-align: center;
    }

    .realisation {
        width: 150px;
        height: 255px;
        margin: 0;
        position: relative;
    }

    .rectangle_noir {
        background-color: #000000;
        bottom: 0;
        position: absolute;
        width: 100%;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rect_noir_text p {
        color: white;
        position: relative;
        font-size: 11pt;
        font-weight: 400;
        text-align: center;
    }

    .slider_video {
        width: 100%;
        height: 300px;
        background-image: url(../Images/slider_3.webp);
        background-size: cover;
        background-attachment: fixed;
        position: relative;
        background-position: center;
        z-index: 1;
    }

    .slider_video_text {
        text-align: center;
        color: #ffffff;
        position: absolute;
        font-size: 18pt;
        font-weight: 500;
        max-width: 300px;
    }

    .slider_video_text img {
        width: 50px;
        padding-top: 10px;
    }

    /* Popup */
    .container button {
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
    }

    .popup {
        display: none;
        position: fixed;
        z-index: 1;
        padding-top: 100px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .popup_content {
        width: 80%;
    }

    .popup_content iframe {
        border-radius: 5px;
        width: 100%;
        height: 250px;
    }

    .popup button {
        width: 100%;
    }

    .open_popup {
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
        visibility: visible;
    }

    .popup button a {
        width: 100%;
        padding: 10px 0;
        background: var(--font_menu_rect);
        color: black;
        border: 0;
        outline: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 18px;
    }

    .galerie_photo img {
        width: 150px;
        height: 250px;
        object-fit: cover;
    }

    fieldset {
        background-color: var(--bg_color);
        box-shadow: 0px 0px 8px 2px #00000038;
        color: var(--texte);
        width: 90%;
        max-height: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .chef_items {
        visibility: visible;
        animation-name: fadeInUp;
        display: flex;
        width: 90%;
        margin: auto;
        justify-content: center;
        flex-direction: column;
        color: black;
    }

    .gradient {
        height: 265px;
        display: flex;
        justify-content: center;
    }

    .gradient::before {
        height: 261px;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, #f2f2f200 0%, #f2f2f2 100%);
        z-index: 1;
    }

    .chef_items p {
        display: flex;
        justify-content: center;
    }

    .chef_text {
        display: flex;
        flex-direction: column-reverse;
        width: 95%;
    }

    .chef_text_grif_name {
        display: flex;
        align-items: center;
        padding-bottom: 10px;
    }

    .chef_text_griffes {
        background-color: white;
        box-shadow: 0px 0px 8px 2px #00000038;
        background-image: url(../Images/griffes.svg);
        width: 35px;
        height: 35px;
        border-radius: 100px;
        background-size: 50% 50%;
        background-repeat: no-repeat;
        background-position: center center;
        margin-right: 10px;
    }

    .chef_text_name {
        color: #0C154B;
        letter-spacing: 3px;
        font-size: 13pt;
        font-weight: 500;
    }

    .chef_text_bas p {
        max-height: 95%;
        text-align: justify;
        font-size: 11pt;
        font-weight: 300;
        font-family: 'Poppins', sans-serif;
    }

    .phone {
        display: flex;
        position: relative;
        width: 200px;
        height: 260px;
    }

    .copyright_powered {
        margin-right: auto;
        margin-left: auto;
        width: 90%;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-transform: uppercase;
    }

    .copyright p,
    .powered p {
        font-size: 8pt;
    }



    .footer {
        display: flex;
        min-height: 333px;
    }

    .footer_items {
        display: flex;
        flex-direction: column;
        padding-top: 15px;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        justify-content: space-between;
    }

    h4 {
        font-size: 12pt;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--texte);
        padding-bottom: 10px;
    }

    .footer_item_left,
    .footer_item_center,
    .footer_item_right {
        width: 90%;
        padding-bottom: 28px;
    }


    /* Service page */
    .slide_service_galerie {
        height: 250px;
    }

    .slide_text_service {
        color: white;
        font-size: 15pt;
    }

    .description_text {
        font-size: 12pt;
        font-weight: 400;
        text-align: center;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .service_page_all {
        display: flex;
        flex-wrap: wrap;
        width: 95%;
        row-gap: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .service_page_items {
        background-color: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        width: 100%;
        min-width: 99%;
        height: 150px;
        align-items: center;
        /* border: 2px solid var(--dots-color); */
        box-shadow: 0px 0px 5px 0px #00000014;
    }

    .service_page_items img {
        width: 125px;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-right: none;
    }

    .service_page_items_text {
        padding-left: 15px;
        padding-right: 10px;
    }

    .service_page_items_text h1 {
        color: var(--menu_color);
        font-size: 14pt;
    }

    .service_page_items_text p {
        text-align: left;
        padding-top: 15px;
        max-width: 98%;
        color: #000000;
        font-size: 10pt;
    }

    /* Contact page */

    .write_us_all {
        display: flex;
        background-color: var(--texte);
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        width: 94%;
        margin: auto;
    }

    .write_items {
        width: 95%;
        margin: auto;
    }

    .write_left {
        display: none;
    }

    .write_right {
        display: flex;
        width: 95%;
        margin: auto;
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }

    form {
        min-width: 100%;
    }

    .write_text {
        display: none;
    }

    .write_rect {
        flex-direction: column;
        height: 117px;
    }

    .prenom,
    .mail,
    .number,
    .write_textarea2 {
        background: var(--texte);
        -webkit-box-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.2);
        box-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.2);
        width: 100%;
        color: black;
        margin-bottom: 10px;
        border-radius: 5px;
        transform: translateZ(0);
        /* Force hardware acceleration */
        will-change: box-shadow;
    }

    .write_space {
        height: 55px;
    }

    .write_textarea2 {
        height: 105px;
    }

    .city {
        display: none;
    }

    ::placeholder {
        color: #242424;
        opacity: 0.7;
        /* Firefox */
        padding: 10px;
    }

    input[type="submit"] {
        background-color: var(--dots-color);
        color: var(--menu_color);
        font-size: 14pt;
        margin-bottom: 15px;
        border: none;
        cursor: pointer;
        -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.24);
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.24);
        transform: translateZ(0);
        /* Force hardware acceleration */
        will-change: box-shadow;
        /* Inform the browser about the expected changes */
    }

    input[type="submit"]:hover {
        background-color: var(--dots-color);
    }

    /* Galerie page */
    .galerie_all_page {
        align-items: center;
        justify-content: center;
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
        width: 95%;
        margin: auto;
    }

    .galerie_page_items {
        position: relative;
        width: 150px;
        height: 225px;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: #fff;
    }

    .galerie_page_items img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .galerie_page_items .galerie_page_title {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        text-align: center;
        padding: 5px;
        box-sizing: border-box;
        font-size: 12px;
    }

    .galerie_page_badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: var(--dots-color);
        color: #fff;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
        font-weight: bold;
    }

    /* Galerie_view page */
    .galerie_view_all_page {
        gap: 5px;
        width: 96%;
    }

    .galerie_view_items {
        width: 105px;
        height: 150px;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: #fff;
    }

    .galerie_view_items img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    #image-viewer .close {
        top: 63px;
    }

    .modal-content {
        max-width: 250px;
    }


}