*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: Montserrat, Helvetica, sans-serif;
    background: #f4f4f4;
}

a{
    text-decoration: none;
    color: #333;
}

/* Menu navigation */

nav{
    /* width: 100%; */
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #f4f4f4;
    box-shadow: inset 0px -1px 0px #c5c5c6;
}

.nav-icon{
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 20px;
}

.nav-icon span{
    font-family: Roboto Flex, sans-serif;
    font-size: 25px;
    margin-left: 10px;
    font-weight: 400;
    color: #333;
}

.nav-icon img{
    width: 40px;
}

.hamburger{
    display: none;
}

.navlinks-container a{
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #414141;
    display: inline-block;
    position: relative;
}

.navlinks-container a::after{
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 1px;
    transform: scale(0);
    transform-origin: left;
    background: #333;
    transition: transform 0.5s ease-out;
}

.navlinks-container a:hover::after{
    transform: scaleX(1);
}

.nav-authentication{
    margin-left: auto;
}

.sign-btns button{
    font-family: Roboto Flex, sans-serif;
    font-size: 16px;
    min-width: 90px;
    padding: 10px 5px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.sign-btns button:nth-child(1){
    border: none;
    background: #92c3eeb7;
}

.sign-btns button:nth-child(2){
    border: none;
    background: #0279e2b7;
}

.sign-user{
    display: none;
}

section.icon-reseaux{
    padding-top: 20px;
    margin-left: 300px;
    margin-right: 300px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

/* Réseaux */

#icon-rs{
  width: 50%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

img.reseaux{
  width: 100px;
}

/* Slider */
.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  max-width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300%; /* Largeur totale = nombre de slides * 100% */
  animation: slideAnimation 12s linear infinite; /* Durée de l'animation = temps pour parcourir toutes les slides */
}

.slide {
  flex: 0 0 100%; /* Pour s'adapter à la largeur de l'écran */
  height: 400px; /* Hauteur de votre choix */
  background-size: cover;
  background-position: center; /* Centrer l'image horizontalement */
}

/* Animation du défilement automatique */
@keyframes slideAnimation {
  0%, 100% {
    transform: translateX(0);
  }
  16.66%, 33.33% {
    transform: translateX(-100%);
  }
  50%, 66.66% {
    transform: translateX(-200%);
  }
  83.33%, 100% {
    transform: translateX(0);
  }

}

/* Titre section */

.title-section {
  font-size: 30px;
  position: relative;
  padding-left: 4%;
  padding-top: 3%;
}

.title-section::before {
  content: "";
  position: absolute;
  background-color: deepskyblue;
  width: 40px;
  height: 4px;
  bottom: 0;
}

/* Videos, lives */

section.latest-live {
  flex-wrap: wrap;
}

/* Mods */
.tuile-mods {
  width: 600px;
  height: 300px;
  background-color: red;
}

.img-tuile-mods{
  width: 50%;
}

/* Choix jeux mods */

.presta-jeu-mods{
  width: 350px;
  height: 440px;
  border-radius: 10px;
  background-color: #defaff;
  margin: 20px;
}

.voir-mods-boutton {
  font-family: Roboto Flex, sans-serif;
  font-size: 16px;
  min-width: 90px;
  padding: 3% 10%;
  margin: 5% 26%;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  background: #92c3eeb7;
}

.voir-mods-boutton:hover {
  background: #5388b8b7;
  color: rgb(48, 48, 48);
}

/* Footer */

footer {
  margin-top: 5%;
  background-color: #000117;
  box-shadow: inset 0px 1px 0px #c5c5c6;
  color: #dfdfdf;
  padding: 30px 100px;
}

hr.footer {
  margin-top: 20px;
  color: #edfbff;
}

footer h3 {
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto 80px auto;
}

.footer-col {
  width: max-content;
}

.footer-col > * {
  display: block;
  width: max-content;
}

.footer-col > h3 {
  margin-bottom: 20px;
  font-size: 25px;
}

.footer-col a {
  padding: 5px 0;
}

.footer-middle {
  width: 100%;
  margin-bottom: 50px;
  text-align: center;
}

.footer-middle h3 {
  margin-bottom: 10px;
}

.footer-middle label {
  display: block;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.footer-bottom {
  display: flex;
  justify-content: center;
}

a.social {
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: white;
  color: #92c3eeb7;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

a.social:hover {
  background-color: #0006cb;
  color: white;
}

a.social:not(:last-child) {
  margin-right: 10px;
}

#box-live{
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

#box-video{
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

#box-clip{
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-col a{
    color: #92c3eeb7;
}

.frame-live{
  width: 560px;
  height: 315px;
}

.frame-video{
  width: 560px;
  height: 315px;
}

.frame-clip{
  width: 175px;
  height: 315px;
}

/* MEDIA QUERY || ECRAN ADAPTATIF */
/* 1500px */
@media (max-width: 700px){ 
  nav{
      padding: 15px 20px;
      position: relative;
  }
  .nav-icon{
      order: 2;
      margin: 0 auto;
  }
  .nav-icon span{
      font-size: 22px;
  }
  .main-navlinks{
      order: 1;
  }
  .hamburger{
      width: 20px;
      height: 20px;
      cursor: pointer;
      border: none;
      display: flex;
      background: #fafafa;
      align-items: center;
      position: relative;
  }
  .hamburger span{
      display: block;
      width: 100%;
      height: 2px;
      background: #333;
      position: absolute;
      pointer-events: none;
      transition: opacity 0.3s 0.15s ease-out;
  }
  .hamburger span:nth-child(1){
      transform: translateY(7px);
  }
  .hamburger span:nth-child(3){
      transform: translateY(-7px);
  }
  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3){
      transition: transform 0.3s ease-out;
  }
  .hamburger.open span:nth-child(1){
      transform: translate(0) rotate(135deg);
  }
  .hamburger.open span:nth-child(2){
      opacity: 0;
      transition: opacity 0s ease-out;
  }
  .hamburger.open span:nth-child(3){
      transform: translate(0) rotate(-135deg);
  }
  .navlinks-container{
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      position: absolute;
      background: #fafafa;
      top: 100%;
      left: 0;
      height: 100vh;
      padding: 15px 50px 15px 20px;
      border-right: 1px solid #c5c5c6;
      transform: translate(-100%);
  }
  .open{
      transform: translate(0%);
  }
  .navlinks-container a{
      font-size: 18px;
      margin: 10px 0;
  }
  .nav-authentication{
      order: 3;
      margin-left: 0;
  }
  .sign-btns{
      display: none;
  }
  .sign-user{
      display: block;
      cursor: pointer;
      border: none;
  }
  .sign-user img{
      width: 20px;
  }
  .frame-live{
    width: 560px;
    height: 315px;
  }
  .frame-video{
    width: 560px;
    height: 315px;
  }
  .frame-clip{
    width: 175px;
    height: 315px;
  }
  .footer-top {
    justify-items: start;
  }
  nav{
    z-index: 1000;
  }
}

@media (max-width: 1349px){
  img.reseaux{
    /* width: 60px; */
    display: none;
  }
}

@media (max-width: 500px){
  nav{
    z-index: 1000;
  }
  .nav-icon img{
      width: 30px;
  }
  .nav-icon span{
      font-size: 20px;
  }
  .frame-live{
    width: 360px;
    height: 203px;
  }
  .frame-video{
    width: 360px;
    height: 203px;
  }
  .frame-clip{
    width: 175px;
    height: 315px;
  }
  footer {
    padding: 30px;
  }
  .footer-middle {
    text-align: left;
  }
  img.reseaux{
    /* width: 60px; */
    display: none;
  }
}