html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #000;
}

* {
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
  margin: 0; 
  padding: 0;
}

body {
  background-color: #000;
  background-image: url("images/malaisie.webp"); 
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

/* --- BARRE DE NAVIGATION --- */

header {
  width: 100%;
  margin: 0;
  padding: 0;
}

ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(255, 236, 139, 0.6); 
  padding: 0 20px;
  height: 80px; /* Barre plus haute pour de gros boutons */
  margin: 0; 
}

li a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #333; 
  padding: 0 40px; /* Boutons très larges */
  font-size: 1.6rem; /* Texte imposant */
  transition: 0.3s ease;
  font-weight: 800;
  text-transform: uppercase;
}

li a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1); /* Zoom au survol */
  color: #000;
}

#g {
  margin-left: auto;
  margin-right: 20px; 
}

/* --- TITRE GLITCH --- */

.glitch {
  font-size: 10rem; 
  font-weight: 700;
  text-transform: uppercase;
  color: #5BD4EB; 
  text-align: center; 
  margin-top: 30px; 
  position: relative;
}

/* --- CADRE DE PRÉSENTATION (ACCUEIL) --- */

.presentation-cadre {
  width: 900px;
  max-width: 90%;
  margin: 50px auto;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid #5BD4EB;
  border-radius: 40px;
  padding: 40px;
  transition: 0.5s;
}

.presentation-cadre p {
  color: white;
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.presentation-cadre:hover {
  transform: scale(1.02);
  background-color: rgba(0, 0, 0, 0.7);
}

@import url('https://fonts.googleapis.com/css2?family=Boogaloo&display=swap');

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #000;
}

* {
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
  margin: 0; 
  padding: 0;
}

body {
  background-color: #000;
  background-image: url("images/malaisie.webp"); 
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

header {
  width: 100%;
  margin: 0;
  padding: 0;
}

ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(255, 236, 139, 0.6); 
  padding: 0 20px;
  height: 80px; 
  margin: 0; 
}

li a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #333; 
  padding: 0 40px; 
  font-size: 1.6rem; 
  transition: 0.3s ease;
  font-weight: 800;
  text-transform: uppercase;
}

li a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1); 
  color: #000;
}

#g {
  margin-left: auto;
  margin-right: 20px; 
}

.glitch {
  font-family: 'Boogaloo', cursive;
  font-size: 10vw; 
  font-weight: 400;
  text-transform: uppercase;
  color: #5BD4EB; 
  text-align: center; 
  margin: 50px 0;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4); 
}

.conteneur-histoire {
  width: 100%;
  max-width: 1800px;
  margin: 5vw auto;
  display: flex;
  flex-direction: column;
  gap: 10vw; 
  padding: 0 5vw; 
}

.bloc-histoire {
  display: flex;
  align-items: stretch;
  width: 65vw; 
  min-width: 700px; 
  background-color: rgba(0, 0, 0, 0.75);
  border: 0.2vw solid #5BD4EB;
  border-radius: 2vw; 
  overflow: hidden;
  transition: 0.5s ease;
  align-self: flex-start;
}

.bloc-histoire.droite {
  align-self: flex-end;
}

.bloc-histoire img {
  width: 40%; 
  height: auto;
  min-height: 20vw;
  object-fit: cover;
}

.inverse {
  flex-direction: row-reverse;
}

.texte-histoire {
  padding: 3vw; 
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1; 
}

.texte-histoire h2 {
  color: #5BD4EB;
  margin-bottom: 1.5vw;
  font-size: 2.5vw; 
}

.texte-histoire p {
  font-size: 1.3vw; 
  line-height: 1.6;
}

.bloc-histoire:hover {
  transform: translateY(-1vw) scale(1.02);
  box-shadow: 0 1vw 3vw rgba(91, 212, 235, 0.4);
}