    .text-container h2 {
    font-family: arial;
    font-size: 25px;
    }

    @media only screen and (max-width: 600px) {
    .text-container h2 {
    font-family: arial;
    font-size: 15px;
      }
    }
		
    .splide {
      margin: 0 auto;
    }	

    .thumbnails {
      display: flex;
      margin: 1rem auto 0;
      padding: 0;
      justify-content: center;
    }
	
    /* Media query pour les écrans larges (PC) */
    @media (min-width: 768px) {
    .splide {
      width: 95%;
      height: 50vw; /* Adjust the height to your preference */
    }

    .thumbnails {
      flex-wrap: wrap;
    }

    .thumbnail {
        width: calc(33.33% - 0.5rem);
        margin: 0.5rem 0.25rem;
      }
    }
	
    .thumbnail {
      width: 100px;
      height: 67px;
      overflow: hidden;
      list-style: none;
      margin: 0 0.1rem;
      cursor: pointer;
      opacity: 0.3;
    }

    .thumbnail.is-active {
      opacity: 1;
    }

    .thumbnail img {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
    }

    /* Responsive Styles for Smartphones */
    @media only screen and (max-width: 767px) {
      .splide {
        width: 100%;
        height: 50vw; /* Adjust the height to your preference */
      }

      .thumbnails {
        flex-wrap: wrap;
      }

      .thumbnail {
      width: 75px;
      height: 50px;
        margin: 0rem 0.1rem;
      }
    }
	
      .splide__arrow svg {
        fill: #323232 !important;
    }

      .splide__arrow:hover svg {
        fill: #323232 !important;
    }
	
	    .player-frame {
        position: fixed;
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border: 2px solid #333;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
        border-radius: 10px;
        width: 50%;
        max-width: 600px;
        max-height: 100%; 
        overflow-y: auto; 
    }
	
@media screen and (max-width: 768px) {
    .player-frame {
        width: 100%;
        max-width: 100%;
    }
}	
	
.player-frame::-webkit-scrollbar {
    width: 12px;
}

.player-frame::-webkit-scrollbar-thumb {
    background-color: #ddddddfff;
    border-radius: 6px;
}
.player-frame::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}	

    .close-icon {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        font-size: 24px;
        color: #ddddddfff;
    }

    .player-content {
        text-align: center;
        color: #ddddddfff;
    }
	
	        .custom-checkbox {
            position: relative;
            cursor: pointer;
            display: inline-block;
        }

        .custom-checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        .checkmark {
            position: relative;
            display: inline-block;
            vertical-align: middle;
            height: 20px;
            width: 20px;
            background-color: #ddddddfff;
            border: 1px solid #333;
        }

        .custom-checkbox input:checked + .checkmark {
            background-color: #ddddddfff;
        }

        .custom-checkbox input:checked + .checkmark::after {
            content: "\2713";
            font-size: 16px;
            color: #333;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
		
.custom-button {
    font-size: 3vw;
    cursor: pointer;
    color: red;
    background-color: transparent;
    border: none;
    padding: 0.1em 2em;
}

@media screen and (max-width: 768px) {
    .custom-button {
        font-size: 6vw;
        padding: 0.9em 0.1em;
    }
}	

.image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-image {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.splide__slide.is-active .slider-image {
    opacity: 1;
    z-index: 1;
}