@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK&display=swap');
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans HK', sans-serif;
  background: #fff;
}
.slider {
  margin-bottom: 30px;
  position: relative;
}
.slider .owl-item.active.center .slider-card {
  transform: scale(1.15);
  opacity: 1;
  background: #ff0e0e; /*#ff9966 fallback for old browsers */
  /*background: -webkit-linear-gradient(to bottom, #ff5e62, #ff9966); /* Chrome 10-25, Safari 5.1-6 */
 /* background: linear-gradient(to bottom, #ff5e62, #ff9966); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #fff;
}
.slider-card {
  background: #fff;
  padding: 0px 0px;
  margin: 50px 50px 90px 15px;
  border-radius: 5px;
  box-shadow: 0 15px 45px -20px rgb(0 0 0 / 73%);
  transform: scale(0.9);
  opacity: 0.5;
  transition: all 0.2s;
}
.slider-card img {
  border-radius: 5px 5px 0px 0px;
}
.owl-nav .owl-prev {
  position: absolute;
  top: calc(50% - 25px);
  left: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-nav .owl-next {
  position: absolute;
  top: calc(50% - 25px);
  right: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-dots {
  text-align: center;
}
.owl-dots .owl-dot {
  height: 10px;
  width: 10px;
  border-radius: 10px;
  background: #ccc !important;
  margin-left: 3px;
  margin-right: 3px;
  outline: none;
}
.owl-dots .owl-dot.active {
  background: #f44336 !important;
}




.rowg {
  /*margin: 8px -16px;*/
}

/* Add padding BETWEEN each column (if you want) */
.rowg,
.rowg > .column {
  /*padding: 8px;*/
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */ 
.rowg:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 2px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color: #666;
   color: white;
}



@keyframes slides {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 30px;
  white-space: nowrap;
  position: relative;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logo_items {
  display: inline-block;
	animation: 100s slides infinite linear;}


.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 100px;
	padding: 10px 30px;
}

ol, ul {
	margin-bottom: 0px;
}



.imagesX {
  overflow: hidden;
  padding: 30px 30px;
  white-space: nowrap;
  position: relative;
}

.imagesX:before, .imagesX:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  z-index: 2;
}

.imagesX:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.imagesX:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.imagesX_items {
  display: inline-block;
	animation: 50s slides infinite linear;}

.imagesX:hover .imagesX_items {
  animation-play-state: paused;
}


.imagesX_items img{
  height: 300px;
	padding: 10px 10px;
}


.Xslides {
    display: flex;
    flex-wrap: nowrap;          /* tout reste sur une seule ligne */
    justify-content: center;    /* centre les éléments */
    gap: 30px;                  /* espace entre les éléments */
    list-style: none;           /* enlève les puces */
    padding: 0;
    margin: 0;
}

.Xslides li {
    text-align: center;         /* centre le titre et l'image */
}

.Xslides li img {
    display: block;
    margin: 8px auto 0;
}

/* Version mobile : un élément par ligne */
@media (max-width: 768px) {
    .Xslides {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}