

#wrapper {
  width: 100%;
  max-width: 964px;
  position: relative;
}

#carousel {
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

#carousel::-webkit-scrollbar {
  height: 0;
}

#prev,
#next {
  display: flex;
  justify-content: center;
  align-content: center;
  background: white;
  border: none;
  padding: 8px;
  border-radius: 50%;
  outline: 0;
  cursor: pointer;
  position: absolute;
}

#prev {
  top: 50%;
  left: 0;
  transform: translate(50%, -50%);
  display: none;
}

#next {
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
}

#content {
  display: grid;
  grid-gap: 16px;
  grid-auto-flow: column;
  margin: auto;
  box-sizing: border-box;
}

.item {
  width: 180px;
  height: 180px;
  background: green;
}

.item:hover {
  transform: scale(1.1);
}

.video-container {
  /*width: 30%;
  max-width: 800px;
  margin: 20px auto;*/
  width: 30%;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #333; /* Couleur du cadre TV */
  border-radius: 30px; /* Coins arrondis pour l’effet TV */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Effet de profondeur */
  position: relative;
 
}

.video-container iframe {
  /*width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;*/
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  border: 6px solid #111; /* Bordure noire autour de l'écran */
  border-radius: 15px; /* Pour l’écran à l’intérieur du cadre */
  background: black; /* Si la vidéo charge lentement */
  
}




