/* Réinitialisation globale des marges et paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fantome{
  display: none;
}

.hautdroit {
  right: 50px;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FBEEDC;
}

.jourbouton{
  width: 50%;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 20px;
    margin-left: 0%;
    font-size: 45px;
    font-family: Apfel;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
}


.jourbouton:hover{
  font-family: Expo;
}

header{
  position: absolute;
}
.hautdroit{
  position: absolute;
}

.nav-link {
  font-family: Apfel;
  margin-right: 15px;
  color: blue;
}

.nav-link.active {
  font-family: Expo;
}
.jourbouton.hover {
  font-family: Expo;
}

body{
  background-color: #FBEEDC;
}

.bar1, .bar2, .bar3{
  background-color: #9FD59F;
}

.burger-links{
  background-color: #FBEEDC;
  color: #9FD59F;
}

.programmebase {
  background-color: #FBEEDC;
  color: #353EFF;
  margin-left: -25px;
  margin-right: -25px;
  padding-left: -25px;
  padding-right: -25px;
  padding: 0; /* Supprime les paddings */
}
.partie1 {
  gap: 25px;
  width: 100%;
  display: flex;
}
.mois {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
  margin-right: 25px;
  margin-left: 60%;
  font-size: 100px;
  font-family: Apfel;
}

.vendredi {
  padding-top: 10px;
  padding-left: 25px;
  padding-bottom: 10px;
  background-color: #353EFF;
  color: #FBEEDC;
}

.block5 {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 30vh;
}

.conference {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-direction: column;
}

.inscription {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.conference2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-direction: row;
}

.invisible{
  display: none;
}

.bottom {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}



.clair{
  color:#9FD59F;
}

.line{
  display: grid;
  grid-template-columns: 10% 35% 15% 12% 10% 10%;  gap:25px; 
  width: 100%; 
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  border-bottom: 4px solid #353EFF; 
  font-weight: bold;
  margin-bottom: 0px; 
  cursor: pointer; 
}

.linequery{
  display: none;
}

.zone {
  color: #9FD59F;
}

.categorie{
  border-bottom: 4px solid #FBEEDC; 
  display: grid;
  grid-template-columns: 10% 35% 15% 12% 10% 10%;
  gap:25px; 
  width: 100%; 
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  background-color: #353EFF;
  color: #FBEEDC;
  font-weight: bold;
  margin-bottom: 0px; 
  cursor: pointer; 
}

.line{
  height: 150px;
}
.line:hover {
  background-color: #353EFF;
  color: #FBEEDC;
}

.line.active {
  border-bottom: 4px solid #FBEEDC;
  background-color:#FBEEDC; 
  color: #353EFF; 
}

.lieu p{
  font-size: 18px;
  display: flex;    
  align-items: center;          
  text-align: left;
  background-color: #353EFF;
  color: #FBEEDC;
  padding: 5px;
}

.lieu p:hover{
  background-color: #9FD59F;
  color: #FBEEDC;
}

.content {
  display: flex;
  flex-direction: column;
  color: #353EFF;
  width: 100%; 
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.sponsoPage{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-left: 25px;
    margin-right: 25px;
    gap: 20px;
}

.imagep {
  display: flex;
  flex-direction: column; 
  width: 100%;
}


.imagep img {
  display: block;
  width: 400px;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.copy {
  font-size: 8px; 
  text-align:left; 
  color: #353EFF;
}

.details {
  max-height: 0; /* Commence complètement masqué */
  overflow: hidden; /* Cache le contenu qui dépasse lorsque masqué */
  background-color: #FBEEDC;
  color: #FBEEDC;
  display: grid; 
  grid-template-columns: 10% 35% 27% 20%; 
  gap:25px; 
  width: 100%; 
  transition: max-height 0.5s ease-out;
  padding-right: 25px;
  padding-left: 25px;
}

.details.open {
  padding-top: 25px;
  border-bottom: 4px solid #353EFF; 
  max-height: 1000px;
  padding-bottom: 25px; 
}

.minutexte{
  font-size: 12px;
  color: #353EFF;
}

.petit{
  color: #353EFF;
  font-size: 15px;
}

.pdf {
  color: #9FD59F;
  font-size: 36px;
}
.pdf:hover {
  color:#353EFF;
  font-family: Expo;
}

.sponso{
margin-top: 25px;
margin-right: 25px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
align-items: center;
justify-content: center;
gap: 25px;
}

.sponso img{
  height: 100px;
  object-fit: contain;
  vertical-align: middle;
  align-items: center;
}

footer p{
padding-left: -25px;
padding-right: -25px;
}

.zone:hover {
  color: #f5c2b8;
  text-decoration: underline;
}

.loc {
  width: 15px;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}

.loc img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lien-souligne {
  text-decoration: underline;
}

.lien-souligne:hover {
  color: #f5c2b8;
}

@media (max-width: 1200px) {

  .sticky-wrapper {
      position: sticky;
      top: 0;
      z-index: 1;
    }


  .loc {
      width: 12px;
    }

  .titre{
    font-size: 30px;
  }

  
  .margedroite{
    margin-right: 20px;
  }

  .mois {
    gap: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 40%;
    font-size: 36px;
  }
  .line{
    display: none;
  }

  .vendredi{
    margin: 0;
  }
  .linequery {
    border-bottom: 3px solid #353EFF; 
    display: grid; /* Utiliser Grid pour organiser le contenu */
    grid-template-columns: 25% 75%; /* Deux colonnes : 25% et 75% */
    gap: 10px; /* Espace entre les colonnes */
    width: 100%;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
}

.conference.left {
    grid-column: 1; /* Place dans la première colonne */
    display: flex; /* Permet de gérer la disposition interne */
    flex-direction: column; /* Empile verticalement les éléments enfants */
    gap: 5px; /* Espacement entre les éléments de gauche */
}

.conference.right {
    grid-column: 2; /* Place dans la deuxième colonne */
    display: flex; /* Permet de gérer la disposition interne */
    flex-direction: column; /* Empile verticalement les éléments enfants */
    gap: 5px; /* Espacement entre les éléments de droite */
}

  .linequery:hover {
    background-color: #353EFF;
    color: #FBEEDC;
  }
  
  .linequery.active {
    border-bottom: 4px solid #FBEEDC;
    background-color:#FBEEDC; 
    color: #353EFF; 
  }

  .categorie{
    display: none;
  }

  .details {
    display: block;
    grid-template-columns: 100%; 
    gap: 15px;
  }

  .minutexte{
  font-size: 12px; 
  margin-top: 15px; }

    .copy {
      font-size: 6px; 
    }

    .invisible{
      align-items: left;
      display: grid;
      grid-template-columns:50% 50%;
      margin-bottom: 25px;
      margin-right: 10px;
      font-size: 15px;
      gap: 7px;
      color: #353EFF;    }

    .clair{
      font-size: 15px;
    }

    .courant{
      font-size: 20px;
    }

    .imagep {
      margin-top: 15px;
    }
    .bottom{
      align-items: start;
    }

    .lieu p{
      font-size: 15px;
      margin-bottom: 15px;
      margin-left: 50%;
    }

    .details.open{
      padding-top: 0;
    }

    .bouton{
      color: #353EFF;
      font-size: 15px;
      margin-bottom: 15px;
      margin-left: 50%;
    }
    .conference{
      gap: 0;
    }

    .pdf {
      color: #9FD59F;
      font-size: 16px;
      margin-right: 10px;
    }

    .motiffooter{
      width: 100vw;
    }
    .content {
      display: block;
      margin-top: 50px;
      width: 93%;
      margin-right: 15px;
    }

    
        .sponsoPage {
          display: block;   }

    .sponso{
      margin-top: 15px;
      margin-right: 15px;
      gap: 10px;
      }
      
      .sponso img{
        height: 80px;
      }

            .jourbouton {
              width: 50%;
              padding: 20px;
              font-size: 25px;
              font-family: Apfel;     }

                            header {
                              position: absolute;
                            }
              
                            .hautdroit {
                              position: absolute;             }
}