/* CORPS DE LA PAGE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  background-color: #121212;
  color: #E0E0E0;
  width: 100%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}







/* HEADER DE LA PAGE */
/* ------------------------------------------------------- */

/* bloc header */
.header {
  width: 100%;
  background-color: #0e0e0e;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #00FFFF;
  margin-bottom: 10px;
}

/* bloc du haut dans le header */
.header-topbar {
  background-color: #111;
  color: #E0E0E0;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-bottom: 2px solid white;
}

/* partie droite du bloc du haut */
.topbar-right a {
  margin-left: 15px;
  color: #E0E0E0;
  text-decoration: none;
}

/* effet */
.topbar-right a:hover {
  color: #E0E0E0;
}

/* bloc du bas du header */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  width: 100%;
}

/* logo */
.logo img {
  height: 50px;
  width: 50px;
  border: 2px solid #00FFFF;
}

/* navigation */
.nav {
  display: flex;
  align-items: center;
}

/* config navigation */
.nav-list {
  display: flex;
  gap: 45px;
  list-style: none;
}

/* texte */
.nav-link {
  color: #E0E0E0;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

/* effet */
.nav-link:hover {
  background-color: #00ffff22;
  color: #00FFFF;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
  transform: translateY(-1px);
}










/* BLOC DE LA PAGE */
/* ------------------------------------------------------- */

/* bloc central de la page */
.container {
  max-width: 1140px;
  margin: auto;
  padding: 40px 20px;
}

/* titres de la page */
h1 {
  text-align: center;
  font-size: 65px;
  margin-bottom: 40px;
  border-bottom: 2px solid #00FFFF;
  padding-bottom: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #E0E0E0;
}

h2 {
  font-size: 35px;
  color: #E0E0E0;
  margin-top: 80px;
}

/* bloc de la photo et la presentation */
.intro {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #00FFFF;
  background-color: #222;
  margin: 30px auto;
}

/* photo */
.photo img {
  width: 480px;
  height: 550px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.9s ease;
  align-items: center;
  border: 2px solid #00FFFF;
}

/* bloc presentation */
.description {
  flex: 1;
  height: 550px;
  width: 480px;
  padding: 30px 40px;
  border-radius: 5px;
  border: 2px solid #00FFFF;
  background-color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* presentation */
.description p {
  text-align: justify;                      
  line-height: 1.5;                 
  font-family: 'Verdana', sans-serif;
  color: #E0E0E0;                   
  background-color: #1e1e1e;   
  font-size: 17px;         
}


/* bloc jeu-video */
.jeu-video {
  text-align: justify;              
  text-justify: inter-word;         
  line-height: 1.5;                 
  font-family: 'Verdana', sans-serif;
  color: #E0E0E0;                   
  background-color: #1e1e1e;        
  max-width: 1100px;                 
  margin-bottom: 60px;   
  margin-top: 30px;             
  padding: 20px;                    
  border-radius: 5px;  
  border: 2px solid #00FFFF; 
}

/* bloc des cartes */
.plateformes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px
}

/* carte */
.carte {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.08);
  transition: transform 0.3s;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px;  
  border: 2px solid #00FFFF;
}

/* effet carte */
.carte:hover {
  transform: translateY(-15px);
}

/* image dans les cartes */
.carte img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
  border: 2px solid #00FFFF;
  border-radius: 5px;
}

/* pseudo dans les cartes */
.carte p {
  margin: 0;
  font-size: 17px;
  color: #E0E0E0;
  font-family: 'Verdana', sans-serif;
}


/* Section des poèmes */
.poeme-section {
  margin-top: 80px;
  padding: 30px;
  background-color: #1b1b1b;
  border: 2px solid #00FFFF;
  border-radius: 10px;
}

/* Container général des cartes */
.poeme-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Carte de poème */
.poeme-carte {
  background-color: #222;
  border: 2px solid #00FFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;  
  gap: 15px;
}

.poeme-carte:hover {
  transform: translateY(-10px);
}

.poeme-entete {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

/* Image du poème */
.poeme-carte img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 20px;
  border: 2px solid #00FFFF;
}

/* Titre */
.poeme-carte h3 {
  color: #E0E0E0; 
  font-size: 24px;
  margin-left: 30px;
  font-family: 'Verdana', sans-serif;
}

/* Texte */
.poeme-carte p {
  font-size: 17px;
  line-height: 1.8;
  white-space: pre-line;    
  text-align: left;         
  max-width: 100%;           
  margin-left: auto;        
  margin-right: auto;
  text-align: justify;              
  text-justify: inter-word;                          
  font-family: 'Verdana', sans-serif;
  color: #E0E0E0;                   
}



/* FOOTER */
/* ------------------------------------------------------- */

/* bloc du footer */
.footer {
  background-color: #0e0e0e;
  color: #E0E0E0;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #00FFFF;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* bloc du haut dans le footer */
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

/* titre des categories */
.footer-section h4 {
  color: #E0E0E0;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* texte categories */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* texte categories */
.footer-section li {
  margin-bottom: 6px;
}

/* liens */
.footer-section a {
  color: #E0E0E0;
  text-decoration: none;
  transition: 0.2s ease;
}

/* effet sur les liens */
.footer-section a:hover {
  color: #00FFFF;
}

/* bloc du bas du footer */
.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E0E0E0;
}

/* texte bloc du bas du footer/* texte categories */


/* separation blocs */
.footer-divider {
  width: 80%;
  max-width: 4000px;
  margin-top: 15px;
  border-top: 1px solid #00FFFF;
  width: 100%;
}

/* boouton pour remonter */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00ffff;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 999;
}

/* effet bouton */
.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}





@media (max-width: 768px) {

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 25px;
    margin-top: 40px;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    display: none;
    background-color: #0e0e0e;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    border-top: 2px solid #00FFFF;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: 20px;
  }

  .nav-toggle span {
    display: block;
    height: 3px;
    background-color: #00FFFF;
    border-radius: 2px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .intro {
    flex-direction: column;
    align-items: center;
  }

  .photo img,
  .description {
    width: 100%;
    height: auto;
  }

  .description {
    padding: 20px;
    margin-top: 20px;
  }

  .jeu-video {
    font-size: 15px;
    padding: 15px;
  }

  .plateformes {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .poeme-container {
    grid-template-columns: 1fr;
  }

  .poeme-carte h3 {
    font-size: 20px;
  }

  .poeme-carte p {
    font-size: 15px;
  }
}