/*.center {*/
/*  height: 100vh;*/
/*}*/

.section_title h1{
  color: rgb(245, 243, 243);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  padding: 8px 16px;
  gap: 10px;
  text-align: center;
  background-color: rgb(84, 36, 36);
}

.popular_accounts_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 3% 5%;
  gap:24px;
}
.articles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.item img {
  object-fit: cover;
  height: 130px;
  width: 130px;
  border-radius: 50%;
}
.item {
  height: 200px;
  width: 150px;
  border-radius: 20px;
  display: flex;
  padding:12px;
  flex-direction: column;
  align-items: center;
  gap:10px;
}
.item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  transition: 0.1s linear;
}
.item:hover .overlay {
  display: block;
}
.item a {
  color: #f9fafa;
  border-radius: 10px;
  font-family: poppins, sans-serif;
  font-size: 100%;
}

.second {
  box-shadow: 18px 8px 18px rgb(252, 0, 25);
  background-color: black;
  
}
.see_more_btn{
  background-color: #712626;
  padding: 8px 16px;
  color: white;
  font-weight: 400;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.see_more_btn:hover p{
  text-decoration: underline;
}

/* what make section */
.handicap {
  width: 100%;
  padding: 60px 5%;
}

.handicap_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto; /* centre le contenu */
}

.paragraph {
  flex: 1;
  color: rgb(227, 205, 205);
  font-size: 18px;
  text-align: justify;
  line-height: 1.8;
  word-spacing: normal;
  hyphens: auto;
}

.paragraph span {
  color: #865252;
  font-size: 22px;
  font-weight: 600;
}

.handicap_right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.handicap_right video {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 1px 1px 25px rgba(202, 187, 187, 0.35);
}

/* ---------------- RESPONSIVE ---------------- */

/* Laptop & Tablet */
@media (max-width: 992px) {
  .handicap_container {
    flex-direction: column-reverse;
    text-align: left;
  }

  .section_title h1 {
    font-size: 30px;
  }

  .paragraph {
    font-size: 17px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .section_title h1 {
    font-size: 26px;
    padding: 10px;
  }

  .paragraph {
      text-align: left;      /* 🔥 clé du problème */
      hyphens: none;
    
  }

  .handicap_right video {
    box-shadow: none;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .section_title h1 {
    font-size: 22px;
    text-align: center;
  }

  .paragraph {
    font-size: 15px;
    line-height: 1.6;
  }

  .paragraph span {
    font-size: 18px;
  }

  .handicap {
    padding: 40px 20px;
  }
}


.slider-wrapper {
  height: 0;
  width: 100%;
}
.slider-wrapper .image-list {
  display: grid;
  gap: 18px;
  font-size: 0;
  overflow-x: auto;
  scrollbar-width: none;
  grid-template-columns: repeat(10, 1fr);
}
.slider-wrapper .image-list ::-webkit-scrollbar {
  display: none;
}
.slider-wrapper .image-list .image-item {
  width: 300px;
  height: 320px;
  object-fit: cover;
}
.image-list .image-item img {
  width: 10%;
}
.popular-content .slider-scrolbar {
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.slider-scrolbar .scrollbar-track {
  height: 2px;
  width: 100%;
  background-color: white;
}
.slider-scrolbar .scrollbar-thumb {
  height: 2px;
  width: 50%;
  background: brown;
  position: absolute;
  border-radius: inherit;
  cursor: grab;
}
.slider-scrolbar:hover .scrollbar-thumb {
  height: 5px;
}
.slider-scrolbar .scrollbar-thumb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
}
.slider-scrolbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}
.slider-wrapper .slide-button {
  height: 40px;
  width: 40px;
  top: 150%;

  color: white;
  cursor: pointer;
  border: none;
  position: absolute;
  border-radius: 50%;
  transform: translateY(-50%);
}
.slide-button i {
  height: 20%;
  width: 10px;
  color: rgb(39, 7, 7);
}
.slider-wrapper .slide-button#prev-slide {
  left: -20px;
  margin-left: 6%;
}
.slider-wrapper .slide-button#next-slide {
  right: -20px;
  margin-right: 2%;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url(../../assets/hh) center no-repeat;
  background-size: cover;
  overflow: hidden;
  transition: 0.5s;
}
.banner::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #1b1a1a;
}
.content {
  position: relative;
  max-width: 550px;
  transition: 0.5s;
}
.see_more_btn {
  padding: 0.6rem 1rem;
  background-color: brown;
  color: white;
  font-weight: 400;
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 00.5rem;
  max-width: 160px;
}



.h h1:hover {
  transition: ease-in-out 0.2s;
  background-color: rgb(255, 254, 252);
}

.h h1 {
  background-color: rgb(78, 47, 27);
  color: rgb(240, 237, 233);
  border-radius: 10px;
  padding-right: 9px;
  padding-left: 4px;
}


.cat2 h1 {
  color: rgb(245, 243, 243);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 45px;
  margin-left: 10%;
  margin-right: 0;
  background-color: rgb(84, 36, 36);
}

.wrapper {
  width: 600px;
  height: 340px;
  margin-top: -29%;
  background: transparent;
  border: 2px solid rgb(171, 119, 119);
  backdrop-filter: blur(9px);
  color: rgba(250, 249, 247, 0.879);
  border-radius: 12px;
  padding: 30px 40px;
  margin-left: 40%;
}
.wrapper h1 {
  font-size: 36px;
  text-align: center;
}
.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}
.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  outline: none;
  border: 2px solid rgb(171, 119, 119);
  border-radius: 40px;
  font-size: 16px;
  color: rgba(243, 237, 238, 0.879);
  padding: 20px 45px 20px 20px;
}
.input-box input::placeholder {
  color: rgb(244, 242, 240);
}
.input-box i {
  position: absolute;
  right: 20px;
  top: 30%;
  transform: translate(-50%);
  font-size: 20px;
}
.wrapper .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin: -15px 0 15px;
}
.remember-forgot label input {
  accent-color: #fff;
  margin-right: 3px;
}
.remember-forgot a {
  color: rgba(244, 239, 236, 0.879);
  text-decoration: none;
}
.remember-forgot a:hover {
  text-decoration: underline;
}
.wrapper .see_more_btn {
  width: 100%;
  height: 45px;
  margin-right: 70%;
  background: rgba(79, 26, 26, 0.879);
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 16px;
  color: rgb(255, 251, 251);
  font-weight: 600;
}
.wrapper .register-link {
  font-size: 15px;
  text-align: center;
  margin: 20px 0 15px;
}
.register-link p a {
  color: rgba(255, 255, 255, 0.879);
  text-decoration: none;
  font-weight: 600;
}
.register-link p a:hover {
  text-decoration: underline;
}
.center{
  padding-top: 86px;
}
.section{
  margin-top: 40px;
}
.section_title{
  color: rgb(245, 243, 243);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  padding: 8px 16px;
  gap: 10px;
  text-align: center;
  background-color: rgb(84, 36, 36);
}
.section_title1{
  color: rgb(245, 243, 243);
  display: flex;
  align-items: center;
  justify-content: center;
 height: 1px;
  padding: 1px 16px;
  gap: 10px;
  text-align: center;
  background-color: rgb(84, 36, 36);
}
.sections_container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap:24px;
  justify-content: center;
  padding: 2%;
}
.play-container{
  height: 100%;
  margin-top: -80%;
  position: relative;
}
.play-img{
  width: 100%;
  height: 380px;
  font-size: 0;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(8deg, rgba(199, 21, 21, 0.992) 14% , rgba(17, 16, 16, 0.022)44%);
  border-radius: 20px;
}
.banner {
  height: 381px;
  width: 100%;
  border-radius: 20px;
  bottom: -25px;
  position: absolute;
  border: 1px solid rgb(117, 55, 55);
  box-shadow: 3px 1px 15px rgba(174, 149, 149, 0.822);
  background: linear-gradient(rgba(31, 26, 26, 0.4), rgba(45, 44, 44, 0.974));
}
.banner_info{
  position: absolute;
  bottom:-40px;
  display: flex;
  flex-direction: row;
  width: 100%;
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
}
.play-text{
  color: #c9b7b7;
  display: flex;
  border-radius: 2%;
  flex-direction: column;
  padding: 14px;
  gap:12px;
  top: 40%;
  overflow: hidden;
}
.play-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #f4f1f1;
}
.rating{
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: yellow;
}
.tags{
  display: flex;
  align-items: center;
  gap:8px;
}
.tags span{
  color: #ece4e4;
  border: 1px solid rgba(252, 250, 250, 0.346);
  padding: 6px 12px;
  border-radius: 10px;
}
.watch{
  padding: 0 14px;
}
.watch img{
  width: 110px;
  height: 110px;
  border-radius: 20%;
}
.watch i {
  margin-left: 85%;
  font-size: 1rem;
  color: #ffffff;
}
.play-btn i{
  font-size: 45px;
  color: #f3efef;
}
.play-container{
  margin-top: 1%;
  height: 60vh;
}
.video-container{
 
  width: 100%;
  background-color: #000000;
  z-index: 400;
}
.video-container.show-video{
  display: flex;
}
.video-box{
  position: relative;
  /*width: 82%;*/
  display: none;
}
.video-box #myvideo{
  /*width: 120%;*/
  aspect-ratio: 16/9;
}
.play-text h2{
  font-size: 2rem;
  font-weight: 600;
  color: #f4f1f1;
}
.play-btn{
  position: absolute;
  bottom: 40px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 60px;
  padding: 5px 10px ;
  font-size: 120%;
  font-weight: 500;
  
 border-radius: 90px;
  background-color: #7e2121;
  animation:  animate 1s linear infinite;
}
.close{
  font-size: 40px;
  color: #b91616;
}

.tags .logo img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid white;
}

.see_more_btn1 {
  padding: 0.6rem 1rem;
  background-color: rgb(81, 36, 36);
  color: white;
  font-weight: 400;
  border-radius: 5rem;
  display: flex;
  margin-left: 350%;
 
  align-items: center;
  justify-content: space-between;
  column-gap: 00.5rem;
  width: 100%;
}
.see_more_btn1:hover{
  text-decoration: underline;
}
@keyframes animate{
  0%{
      box-shadow: 0 0 0 0 rgba(193, 5, 5, 0.482);
  }
  40%{
      box-shadow: 0 0 0 50px rgba(49, 14, 14, 0.219);
  }
  80%{
      box-shadow: 0 0 0 4px rgba(100, 26, 26, 0.096);
  }
  100%{
      box-shadow: 0 0 0 rgba(20, 14, 14, 0.205);
  }

}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 25px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-primary {
  background-color: #910404;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-secondary {
  background-color: #f1f1f1;
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}