

body {
    /* background-color: #262626; */
    display: flex;
    /* justify-content: center !important; */
    /* justify-items: center !important; */
    /* flex-direction: column; */
    overflow-x: hidden ;
}


.video_background {
    display: flex;
}


.video_background video {
    margin-top: 70px;
    width: 100vw;
}




.product_page {
    margin: 70px 0 40px 0;
    align-self: center;
}


@media only screen and (max-width: 800px){

    .products_block {
        display: flex !important;
        flex-direction: column !important;
        grid-template-rows: auto !important;
        justify-content: center;
    }

    .product_block_detail {
        justify-self: center;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .product_block_detail img {
        width: 70vw !important;
    }

    .video_background {
        height: 100% !important;
    }
    
    
    .video_background video {
        margin-top: 70px;
        width: 100vw;
        /* height: 30vh; */
    }
}

@media only screen and (max-width: 768px){

    .product_block_detail img {
        width: 60vw !important;
    }

    .scrolling-item {
        align-self: center !important;
        width: 100vw !important;
        font-size: medium !important;
    }

    .product_page {
        margin: 40px 0 !important;
    }

}


@media only screen and (max-width: 425px){


    .product_block_detail img {
        width: 30vw;
        height: 48vh;
    }

    .product_page {
        margin: 40px 0 !important;
    }

    .product_block_title {
        font-size: x-large !important;
        font-weight: 550 !important;
    }

    .scrolling-item {
        width: 100vw !important;
        font-size: small !important;
    }

    .product_block_detail {
        width: 90vw !important;
        align-items: center !important;
        align-content: center !important;
    }


}


.products_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}


.product_block_detail {
    /* width: 100%; */
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: calc(50% - 25px);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}




.product_block_title {
    color: #006cad;
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 10px;
    justify-self: center;
}


/* **************************************************************************************** */
/* **************************************************************************************** */

.scrolling-container {
    height: 90px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
  
.scrolling-content {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.scrolling-item {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
  
/* Style pour mettre en évidence l'élément central */
.scrolling-item.highlight {
    opacity: 1;
    transform: scale(1.2);
    font-weight: bold;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}


  
.product_block_detail.left {
    transform: translateX(-100px);
}
  
.product_block_detail.right {
    transform: translateX(100px);
}



  
/* .product_block_detail.centered {
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(100px);
} 
  
.products_block .centered {
    width: 100%;
}

.product_block_detail.centered.show {
    transform: translateY(0);
} */
  
.product_block_detail img {
    /* width: 30vw; */
    height: auto;
    /* height: auto; */
    border-radius: 50px;
    margin-bottom: 10px;
}

  
.product_block_detail.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
  



.product_block_img img {
    width: 30vw;
    /* height: 48vh; */
    /* height: auto; */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
.product_block_img img:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 108, 173, 0.5);
}
  












  