
.num{
  position: absolute;
  width: 200px;
  font-family: Bookman, URW Bookman L, serif;
  color:black;
  background-color:#ffcc00;
  padding: 10px;
  padding-left: 20px;
  overflow:-moz-hidden-unscrollable;
  z-index: 1;
  margin-top: 50px;
  margin-left: 40px;
  border-radius: 10px;
}
body, html {
  height: 100%;
  width: 100%;
  font-family: Bookman, URW Bookman L, serif;

  overflow:-moz-hidden-unscrollable;
  
}

.home{
  height:40px; 
  width:40px; 
  margin-top:3%; 
  position : absolute; 
  right:5%;
}
.homefr{
  height:120px; 
  width:110px; 
  margin-top:3%; 
  position : absolute; 
  right:5%;
}
.bg {

  background-image: url("img/Vigneron.jpeg");

  height: 100%;
  position: relative;
 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.nav{
  display: inline;
  font-style: italic;
  padding-top:2%;
  margin-top:15px;
}
.navbar a{
  padding:10px;
  margin-top:50px;
  font-size: 20px;
  color:rgb(162, 137, 81);
  
}
.navbar a:hover{
  transition-duration:500ms;
  color:rgb(162, 137, 81);
  transition-property:font-size;
  font-size: 30px;
}
.prev, .next {
  cursor: pointer;
 position:fixed;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.next {
  right: 0;
  text-decoration: none;
  color:black;
  border-radius: 3px 0 0 3px;
  font-size:60px;
}
.prev{
  text-decoration: none;
  left:0;
  border-radius: 3px 0 0 3px;
  color:black;
  font-size:60px;
}
.prev:hover,.next:hover{
  font-size:80px;
  background-color:rgb(162, 137, 81);
  color:black;
  text-decoration: none;
  text-align: center;
}

.caption {
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  text-align: center;
  
}
.caption img{
  width:20%;
  height:20%;
}

.caption span {
  
  color: rgb(162, 137, 81);;
  padding: 18px;
  font-size: 35px;
  letter-spacing: 5px;

  font-family:Arial, sans-serif;
}
.caption span.st{

  font-size:30px;
  color:white;
  font-family:URW Chancery L,sans-serif;
  font-style: italic;
}
#nav{
  text-decoration: none;
  color:rgb(162, 137, 81);

  
}
#home{
  width:35px;
  height:35px;
}

section{
	height:100%;
	width: 100%;
}
.caption h2{
	color: rgb(162, 137, 81);
  padding-top: 5%;
  font-size: 45px;
  letter-spacing: 5px;
  font-family:Arial, sans-serif;
}
.caption h3{
	color:white;
	letter-spacing: 5px;
	font-style:italic;
}
.fleche{
  margin:0;
	cursor: pointer;
  position: absolute;
  top: 85%;
 
  left: 50%; /* à 50%/50% du parent référent */
  transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
  color:white;  
  
  font-size: 80px;
  transition: 0.6s ease;
 
  user-select: none;
}
.fleche:hover{
	font-size:100px;
}

.event-banner {
    background-color: #ffcc00;
    z-index: 1;
    color: #000;
    text-align: center;
    padding: 10px;
    padding-left: 100px;
    padding-right: 100px;
    margin-left:33vw;
    position: fixed;
    width: 100wv;
    display: flex;
    align-items: center;
    box-shadow: #000 0px 0px 10px;
}
.event-banner span {
    flex-grow: 1;
}
.event-banner a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}
.event-banner button {
    padding-left: 10px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
}

.event-banner button:hover {
  text-decoration: underline;
}


.modal {
  display: none; /* Cacher la fenêtre modale par défaut */
  position: fixed; /* Rester en place */
  z-index: 2000; /* Situer au-dessus */
  left: 0;
  top: 0;
  bottom: 100px;
  width: 100%; /* Pleine largeur */
  height: 100%; /* Pleine hauteur */
  overflow: auto; /* Activer le défilement si nécessaire */
  background-color: rgb(0,0,0); /* Couleur de fond */
  background-color: rgba(0,0,0,0.4); /* Noir avec opacité */

}
.modal img{
  max-width: 33vw;
  max-height: 70vh;
  width: 100%;
  height: 100%;
}
.modal-content {
  margin: 15% auto; /* 15% du haut et centré horizontalement */
  padding: 20px;
  width: 33vw; /* Largeur */
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@keyframes blinker {
  50% {
    
    background-color:rgb(241, 139, 6)
  }
}

.blinking {
  animation: blinker 2s linear infinite;
}

@media (max-width: 600px){
  .num
  {
    width: 130px;
    height: 50px;
    font-size: 10px;
    padding: 5px;
    margin-top: 20px;
    margin-left: 10px;
  }
  .event-banner {
    width: 100vw;
    padding: 5px;
    padding-left: 50px;
    padding-right: 50px;
    margin-left: 0;
  }

  .modal img{
    min-width: 60vw;
    min-height: 50vh;
  }
  .modal-content {
    margin: 15% auto; /* 15% du haut et centré horizontalement */
    padding: 20px;
    width: 70vw; 
    height: 60vh;
  }
  .prev{
    font-size:40px;
    background-color:rgb(162, 137, 81);
  }

  .next {
    font-size:40px;
    background-color:rgb(162, 137, 81);
  }
    .prev:hover,.next:hover{
      font-size:45px;
    }
  .navi{
    font-size:10px;
  }
  .navi:hover{
    font-size:15px;
  }
  .fleche{
    font-size:50px;
  }
  .fleche:hover{
    font-size:55px;
  }

}
