/* Note d'intention */
#note-intention-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

#note-intention-text {
  flex: 2;
  padding: 1rem;
}

#note-intention-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  
}

/* Carte interactive */
#map-section {
  position: relative;
  margin: 3rem auto;
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 16 / 9;
  background: url('planesad.png') no-repeat center center;
  background-size: contain;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}


#map .map-point:hover {
  background: #ff5733;
  color: #fff;
}

/* Section des recherches */
#recherche-section {
  margin: 5%;
}

#recherches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

#recherches-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
h1 span {
  color: #ff5733;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Paquito';
  background-color: #f5f5dc;
}
@font-face {
  font-family: 'Paquito';
  src: url('Paquito-Variable.woff') format('woff'),
       url('Paquito-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: 'Paquito', sans-serif;
  background-color: rgb(248, 244, 239);
}

header {
  font-family: 'Paquito', sans-serif;
}

h1 span {
  color: var(--beige);
}

h1{
  color: #8B0000;
  font-size: 120px;
  text-align: center;
}
p {
  font-family: 'Paquito';
  font-size: medium;
}
.t{
  margin: 3%;
  max-width: 70%;
  text-align: justify;
}
h2 {
  margin:5% ;
  font-size: 70px;
  color: #8B0000;
  text-align: center;
  
}
.t {
  font-size: 25px;
}
#zone1 {
  position: absolute;
  top: 5%; /* Ajustez pour correspondre à la zone rose */
  left: 57%; 
  width: 150px;
  height: 150px;
  z-index: 0; /* Place derrière les boutons */
}

#zone2 {
  position: absolute;
  top: 20%; /* Zone verte */
  left: 30%; /* Position centrale */
  width: 120px;
  height: 120px;
  z-index: 0;
}

#zone3 {
  position: absolute;
  top: 57%; /* Zone bleue */
  left: 45%;
  width: 130px;
  height: 130px;
  z-index: 0;
}

#zone4 {
  position: absolute;
  top: 60%; /* Zone jaune */
  left: 58%;
  width: 150px;
  height: 150px;
  z-index: 0;
}

#zone5 {
  position: absolute;
  top: 45%; /* Zone violette */
  left: 68%;
  width: 130px;
  height: 130px;
  z-index: 0;
}

#zone6 {
  position: absolute;
  top: 49%; /* Zone rouge */
  left: 31%;
  width: 150px;
  height: 150px;
  z-index: 0;
}
.illu {
  width: 200em;
}
.ni {
  text-align: left;
}
#graphique-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  text-align: center;
  max-width: 600px;
}

#graphique-gif {
  width: 100%;
  max-width: 400px; /* Ajuste selon la taille du GIF */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#graphique-text {
  margin-top: 1rem;
  font-size: 16px;
  color: #333;
  font-family: 'Paquito', sans-serif;
}
#note-intention-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#graphique-container {
  margin-top: 2rem; 
  max-width: 600px; 
}

#graphique-gif {
  width: 100%; 
  max-width: 600px; 
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#graphique-text {
  margin-top: 0.5rem;
  font-size: 20px; 
  line-height: 1.5; 
  color: #333;
  font-family: 'Paquito', sans-serif;
}

h3 {
  font-size: 2em;
  margin: 1px;
}
#navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#navigation-buttons button {
  background-color: #ff5733;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

#navigation-buttons button:hover {
  background-color: #c70039;
}
#color-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Espacement entre boutons */
  position: absolute;
  left: 20px; /* Position à gauche */
  top: 50%; /* Centré verticalement */
  transform: translateY(-50%);
  z-index: 10; /* Toujours au-dessus */
}

.color-button {
  border: none;
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}

.color-button:hover {
  opacity: 0.8;
}

.sketch-zone {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: transparent; /* Pour tester le placement */
  z-index: 0; /* Place derrière les boutons */
}

.nom {
  text-align: center;
}
#graphique-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}

#graphique-gif {
  width: 100%;
  max-width: 400px; /* Ajuste selon la taille du GIF */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#graphique-text {
  margin-top: 1rem;
  font-size: 16px;
  color: #333;
}

#navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

#navigation-buttons button {
  background-color: #ff5733;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

#navigation-buttons button:hover {
  background-color: #c70039;
}