* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    }

a{
  text-decoration: none;
  color: white;
  transition: ease-in-out 0.2s;
}

a:hover{
  color: #e6bb00;
  border-bottom: 3px solid white;
  transition: ease-in-out 0.2s;
}
/* Styles de base pour le header (mobile first) */
/* Styles de base pour le header (mobile first) */
.search-input{
  width: 50dvw;
  height: 5dvh;
  border-radius: 999999px;
  text-align: center;
  border: none;
}

.search{
  text-align: center;
  background-color: #6b4d2b;
}

#loupe2{
  display: none;
}

#loupe1:hover, #loupe2:hover{
  cursor: pointer;
}

.search-input{
  display: none;
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px; 
  
}

.logo {
  width: 50px; 
}

#burger-bar{
  width: 50px;
  margin-right: 30px;
  filter: invert()
}

#burger-bar2{
  width: 50px;
  margin-right: 30px;
  filter: invert();
  display:none
}
/*mobile header*/
#burger-bar:hover{
  cursor:pointer;
}

#burger-bar2:hover{
  cursor:pointer;
}

nav {
  display: none; 
}


.header-phone>nav, .header-phone, .header-phone>nav>ul{
  display: inline;
  width: 100dvw;
}

.header-phone>nav>ul>li{
  text-align: right;
}

.header-phone>nav>ul>li>a{
  color: white;
  text-decoration: none;
  margin-right: 20px;
}

.header-phone{
  display: none;
}

/*jsp wola*/
.search-icon img {
  width: 50px; 
}
.map {
  width: 100%;
  height: 150px;
}
.banner {
  margin-top: 20px; 
}
/* Styles pour les écrans plus larges (PC) */
@media (min-width: 768px) { 
  .header-container {
    padding: 20px 40px;
    background-color: #6b4d2b; 
  
  }


  .header-phone{
    display: none;
  }

  .logo {
    width: 80px;
  }

  
  nav {
    display: block; 
  }

  #burger-bar {
    display: none;
  }
form {
    display: block;
    unicode-bidi: isolate;
}
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
    font-size: 35px ;
  }

  nav li {
    margin-left: 30px; 
  }

  nav a {
    text-decoration: none;
    color: white; 
    font-weight: bold;
  }

  nav a:hover{
    color: #e6bb00;
  }

  .search-icon img {
    width: 80px; 
    margin-right: 80px;
  }
  .banner-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 0px;
  }
}
  body {  /* Styles spécifiques pour PC */
    font-size: 20px;
    /* Augmente la taille de la police */
    line-height: 1.6;
    /* Ajuste l'interlignage */
  }

  h2 { /* Styles spécifiques pour PC */
    font-size: 36px;
    /* Augmente la taille des titres h2 */
  }

  .tourism-item img, 
  .official-item img { /* Styles spécifiques pour PC */
    width: 200px;
    /* Augmente la taille des images */
    height: 200px;
    /* Augmente la taille des images */
  }

 /* Styles pour News et Agenda */
.news-agenda {
  display: flex;
  margin-top: 20px; 
}

.news, 
.agenda {
  width: 50%; 
  padding: 15px;
}
.news-agenda {
  display: flex;
  margin-top: 20px; 
}

.news, 
.agenda {
  width: 50%; 
  padding: 15px;
}

/* ... (le reste de votre CSS) ... */
.news h2, .agenda h2 {
  font-size: 28px;
  /* Augmente la taille des titres */
}

.news ul li, .agenda ul li {
  font-size: 18px;
  /* Augmente la taille du texte des listes */
  margin-bottom: 10px;
  /* Ajoute un espacement entre les éléments de liste */
}
.map {
  width: 100%;
  height: 150px;
}
.banner {
  position: relative;
  margin-top: 0px;
  margin-bottom: px; 
}



body {
  font-family: Arial, sans-serif;
  background-color: #6b4d2b;
  color: white;
}



.banner-image {
  width: 100%;
  border-radius: 10px;
  margin-top: 0px;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.banner h1 {
  font-size: 24px; 
}

.banner p {
  font-size: 16px; 
}

@media (min-width: 768px) {
  .banner h1 {
    font-size: 70px; 
  }
  header {

    top: 0; /* Pour la positionner en haut */
    left: 0; /* Pour la positionner à gauche */
    width: 100%; /* Pour qu'elle occupe toute la largeur de l'écran */
    z-index: 100; /* Pour s'assurer qu'elle est au-dessus des autres éléments */
    /* Ajoutez d'autres styles selon vos besoins, comme la couleur de fond */
  }
    header{
      position: sticky;
  
    }
  .banner p {
    font-size: 67px;
  }
  .banner-image{
    margin-top: 0px;
  }
  .map {
    width: 100%;
    height: 60%;
  }
}

/* Styles pour News et Agenda */
.news-agenda {
  display: flex;
  margin-top: 20px;
}

.news,
.agenda {
  width: 50%;
  padding: 15px;
}

.news {
  background-color: #e6bb00;
  color: black;
}

.agenda {
  background-color: #6b4d2b;
  color: white;
}

h2 {
  margin-bottom: 10px;
}

ul {
  list-style: none;
}

.tourism,
.official {
  margin-top: 20px;
}
.tourism-grid {
  display: grid; /* Utilise Grid au lieu de Flexbox */
  grid-template-columns: repeat(2, 1fr); /* Crée deux colonnes de largeur égale */
  grid-template-rows: repeat(2, 1fr); /* Crée deux lignes de hauteur égale */
  gap: 10px; /* Ajoute un espacement entre les éléments */
  margin-left: 10px;
  margin-right: 10px;
}
.official-grid {
  display: grid; /* Utilise Grid au lieu de Flexbox */
  grid-template-columns: repeat(2, 1fr); /* Crée deux colonnes de largeur égale */
  grid-template-rows: repeat(2, 1fr); /* Crée deux lignes de hauteur égale */
  gap: 10px; /* Ajoute un espacement entre les éléments */
  margin-left: 10px;
  margin-right: 10px;
}

@media (min-width: 768px) { 
.tourism-grid,
.official-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
}
}
.official{
  background-color: #e6bb00;
  color:black ;
}
.tourism h2 {
  margin-top: 20px;
  margin-left: 30px;
}

.official h2 {
  margin-top: 20px; /* Ajoute un espacement en haut du titre */
  margin-left: 20px; /* Ajoute un espacement à gauche du titre */
}


.tourism {
  background-color: #4a2f1f;
  color:white;
  margin-top: -0px;
}

.tourism-item {
  text-align: center;
  margin: 10px;
  color: white;
  text-decoration: none;
  margin-top: 20px;
  margin-bottom: 10px;
 
}
.official-item {
  text-align: center;
  margin: 10px;
  color: black;
  text-decoration: none;
  margin-top: 20px;
  margin-bottom: 10px;
 
}
.official-item:hover{
color: #5d4428;
}
.tourism-item img,
.official-item img {
  width: 100px; /* Taille par défaut pour mobile */
  height: 100px; /* Taille par défaut pour mobile */
  border-radius: 50%;
  background-color: white;
  padding: 0px;
}

/* Styles du footer */
footer {
  margin-top: px;
  background-color: #6b4d2b;
  padding: 15px;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column; 
}


@media (min-width: 768px) { 
footer {
  flex-direction: row; 
}

.contact-item + .contact-item {
  margin-left: 20px; 
}
}

.contact-section {
  display: flex;
  flex-direction: column; 
  width: 100%;
}

@media (min-width: 768px) {
.contact-section {
  flex-direction: row; 
}
}

.contact-item {
  width: 100%; 
  margin-bottom: 20px; 
}

@media (min-width: 768px) {
.contact-item {
  width: 33.33%; 
  margin-bottom: 0; 
}
}



@media (min-width: 768px) { 
  .tourism-item img, 
  .official-item img { 
    width: 200px;  /* Augmente la taille des images */
    height: 200px; /* Augmente la taille des images */
  }
}