@font-face {
    font-family: 'Macondo';
    src: url('Fonts/Macondo/Macondo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "YanoneKaffeesatz-Bold";
    src: url('Fonts/YanoneKaffeesatz/YanoneKaffeesatz-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "YanoneKaffeesatz-Regular";
    src: url('Fonts/YanoneKaffeesatz/YanoneKaffeesatz-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* .reseaux {

   width: 100%;

   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 50px;
   margin-bottom: 50px;
}

.langue {

    width: 100%;

    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 25px;
}

.langue_div {

    margin-bottom: 50px;
}

/* .coucou {
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* img {

    width: 200px;
    height: 200px;

    margin-left: 10px;
    margin-right: 10px;
}

p {

    display: flex;
    justify-content: center;

    font-size: 100px;

    color: rgb(255, 255, 255);
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

    font-family: 'YanoneKaffeesatz-Regular';
}

.title_langue {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

.principal_title {
    font-size: 150px;
    margin: 0;
    padding: 0;
} */

/* Reset obligatoire */
html, body {
font-family: 'Trebuchet MS', sans-serif;
margin: 0px;
padding: 0px;
scroll-behavior: smooth;
}

a{
  text-decoration: none; /* enlève le soulignement */
  color: inherit;        /* prend la couleur du parent */
}

.bg-layer{
  position: fixed;
  inset: 0;
  z-index: -1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 700ms ease;
  will-change: opacity;
}

#bgA{ opacity: 1; } couche active au départ

/* VIDEO */

.news{
  text-align: center;
}

.news_content{
  display: flex;
  justify-content: center;
  gap: 25px;
}

.news-title{
  text-align: center;
   color: white;             /* si fond sombre */
  font-size: 3vh;
  line-height: 1.4;

  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;

  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(0,0,0,0.25);

  position: relative;
  padding: 28px 32px;
  margin: 0 auto;        /* responsive */
  width: 30%;
  margin-bottom: 2.5%;
}

.news-title::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
  height: 50px;

  border-top: 10px solid rgba(255,255,255,1);
  border-left: 10px solid rgba(255,255,255,1);
  border-radius: 10px;
}

/* Angle bas droit */
.news-title::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;

  width: 50px;
  height: 50px;

  border-bottom: 10px solid rgba(255,255,255,1);
  border-right: 10px solid rgba(255,255,255,1);
  border-radius: 10px;

}

.news_content a{
  width: 280px;             /* largeur d’un short */
  aspect-ratio: 9 / 16;     /* FORMAT VERTICAL */
  background: rgba(0,0,0,0.6);

  border-radius: 12px;      /* ARRONDI COMME LA VIDEO */
  overflow: hidden;         /* IMPORTANT */
  
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  display: block;
}

.news_content img{
  width: 280px;
  height: auto;
}

.news_content t{
  width: 400px;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  display: block;
  border-radius: 12px;      /* ARRONDI COMME LA VIDEO */
  background: rgba(0,0,0,0.6);
  padding: 20px;

  color: white;
}

h3 {
  /* margin-bottom: 100px; */
  font-size: 3vh;
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 0 20%;   /* ← ESPACE ENTRE ÉCRAN ET LIGNES */

  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  color: white;
}

h3::before,
h3::after{
  content: "";
  flex: 1;                 /* les lignes prennent l’espace dispo */
  height: 5px;             /* épaisseur de la ligne */
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border-radius: 5px;
}

h2{
  /* margin-bottom: 100px; */
  font-size: 5vh;
  /* text-transform: uppercase; */

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 0 10%;   /* ← ESPACE ENTRE ÉCRAN ET LIGNES */

  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  color: white;
}

h2::before,
h2::after{
  content: "";
  flex: 1;                 /* les lignes prennent l’espace dispo */
  height: 10px;             /* épaisseur de la ligne */
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  border-radius: 5px;
}

/* Game description */

.game-info{
  /* padding: 80px 20px; */
  text-align: center;

  /* fond lisible mais discret */
  /* background: rgba(0,0,0,0.4); */
  /* padding-bottom: 100px; */
}

.game-logo{
  /* max-width: 320px; */
  width: 70%;
  height: auto;
  /* margin-bottom: 32px; */

  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.6));
  margin-bottom: 100px;
}

.game-description{
  max-width: 75%;
  margin: 0 auto;
  font-size: 2.5vh;
  line-height: 1.6;
  color: white;
  margin-bottom: 150px;
}

.description{
  display: flex;
  flex-direction: column;   /* ← empile les lignes */
  gap: 40px;                /* espace entre les lignes */
  max-width: 75%;
  margin: 0 auto;        /* responsive */
  margin-bottom: 150px;
}

.description_item{
  display: flex;            /* ← image + texte côte à côte */
  align-items: center;
  gap: 30px;
}


.description img{
  width: 55%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);

}


.game-info p{
  color: white;             /* si fond sombre */
  font-size: 2.5vh;
  line-height: 1.4;

  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;

  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(0,0,0,0.25);

  position: relative;
  padding: 28px 32px;
}

/* Angle haut gauche */
.game-info p::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
  height: 50px;

  border-top: 10px solid rgba(255,255,255,1);
  border-left: 10px solid rgba(255,255,255,1);
  border-radius: 10px;
}

/* Angle bas droit */
.game-info p::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;

  width: 50px;
  height: 50px;

  border-bottom: 10px solid rgba(255,255,255,1);
  border-right: 10px solid rgba(255,255,255,1);
  border-radius: 10px;

}

.description_item p{
  flex: 1;                  /* prend la place restante */
  margin: 0;
  color: white;             /* si fond sombre */
  font-size: 2.5vh;
  line-height: 1.4;
  /* text-shadow: 0 6px 18px rgba(0,0,0,1); */
}

.description_item p{
  flex: 1;                  /* prend la place restante */
  margin: 0;
  color: white;             /* si fond sombre */
  font-size: 2.5vh;
  line-height: 1.4;
  /* text-shadow: 0 5px 10px rgba(0,0,0,1); */
}





/* contributors */

.contributors{
  /* display: flex; */

  margin-bottom: 150px;
  /* text-align: center; */
}

.contributors_content {
  font-size: 3vh;
  color: white;
  /* text-shadow: 0 6px 18px rgba(0,0,0,0.6); */
}

.contributors-title{
  text-align: center;
  color: white;             /* si fond sombre */
  font-size: 3vh;
  line-height: 1.4;

  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;

  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(0,0,0,0.25);

  position: relative;
  padding: 28px 32px;
  margin: 0 auto;        /* responsive */
  width: 45%;


}

.credits{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
  gap: 16px 80px;  

  max-width: 30%;   /* limite la largeur */
  margin: 40px auto 0;
  text-align: center;
  /* padding-top: 50px; */

   padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;

  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgba(0,0,0,0.25);

  position: relative;
  padding: 28px 32px;
}

.credits p{
  font-size: 3vh;
  color: white;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  margin: 0;
  text-transform: uppercase;

}

.contributors_content p::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
  height: 50px;

  border-top: 10px solid rgba(255,255,255,1);
  border-left: 10px solid rgba(255,255,255,1);
  border-radius: 10px;
}

/* Angle bas droit */
.contributors_content p::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;

  width: 50px;
  height: 50px;

  border-bottom: 10px solid rgba(255,255,255,1);
  border-right: 10px solid rgba(255,255,255,1);
  border-radius: 10px;

}

/* Contact */

.contact-banner{
  /* display: flex; */
  align-items: center;        
  justify-content: center;  
  /* margin-left: 50%;   */

  background: rgba(0,0,0,0.7);
  color: white;
  /* padding:5px; */
}

.contact-content{
   display: flex;
   text-align: center;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding: 15px;

}

.contact-content p{
  font-size: 16px;
}

.contact-banner a{
  color: white;
  text-decoration: underline;
}

.contact-banner a:hover{
  opacity: 0.8;
}

.contact-banner a {
  text-decoration: none; /* enlève le soulignement */
  color: inherit;        /* prend la couleur du parent */
}

/* Bar Buttons */

.bar-buttons {
  font-size: 18px;
  color: #e1e1e1;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
  /* top: 0%; */

  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 1%;
  background: rgba(0,0,0,0.7);
}

.btn {
  position: relative;
}

.btn:focus,
.btn:hover {
  color: #fff;
}

.btn:focus:after,
.btn:hover:after {
  width: 100%;
  left: 0%;
}

.btn:after {
  content: "";
  pointer-events: none;
  bottom: -5px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 5px;
  background-color: #fff;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

.left-buttons{
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: column;
  top: 50%;
  transform: translateY(-50%);
  gap: 20px;
  z-index: 10;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;

  font-size: 2vh;
  color: #e1e1e1;
  text-shadow: 2px 2px 5px rgba(0,0,0,1);
  padding: 10px;
}

.btn_left{ 
  position: relative;

}

.btn_left:focus,
.btn_left:focus:hover {
  color: #fff;

}

.btn_left:focus:after,
.btn_left:hover:after {
  width: 25%;
  left: 0;  
}

.btn_left:after {
  content: "";
  pointer-events: none;
  bottom: -5px;
  left: 0;
  position: absolute;
  width: 0%;
  height: 5px;
  background-color: #fff;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

/* Right Buttons */

.right-buttons{
  position: fixed;          /* reste à l’écran */
  right: 40px;              /* distance du bord droit */
  top: 50%;                 /* milieu vertical */
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;   /* en colonne */
  gap: 10px;                /* ESPACE ENTRE BOUTONS */
  z-index: 10;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.6));
  
}

.btn-imgage {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn_image img {
  height: 75px; /* taille de l’image */
  width: auto;
}

.video{
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video iframe{

  width: min(1400px, 95vw); /* AVANT : 1000px */
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);

  border-radius: 12px;
  overflow: hidden;

  width: 70%;
  height: 70%;
  border: none;
}

.news_video{
  width: min(750px, 95vh); /* AVANT : 1000px */
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  overflow: hidden;
  display: flex;

  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  display: block;
}

.news_video iframe{
  width: 100%;
  height: 100%;
  border: none;
  
}

.news{
  padding-bottom: 150px;
}