@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;600;700&display=swap');
/*font-family: 'Mulish', sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;300;400;500;600;700&display=swap');
/*font-family: 'Karla', sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Bungee:wght@200;300;400;500;600;700&display=swap');
/*font-family: "Bungee", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker:wght@200;300;400;500;600;700&display=swap');
/*font-family: "Permanent Marker", cursive;*/
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
/*font-family: "Satisfy", cursive;*/
@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');
/*font-family: "Rowdies", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&display=swap');
/*font-family: "Chivo", sans-serif;*/
*
{
margin: 0;
padding: 0;
font-family: "Chivo", sans-serif;
}


 body {

}

.mygalerie{
 width: 100%;
height: auto;
margin: 0px auto;
}

.galeriecenter{
width: 80%;
height: 800px;
margin: 0px auto;
border:  solid 1px #afd000;
overflow-y: scroll;
scrollbar-width: thin;
scrollbar-size:5px;
padding: 22px;
}

/* Boutons navigation */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 15px;
  user-select: none;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  opacity: 0.7;
}

.titregalerie{
width: 100%;
height: auto;
margin: 0px auto;
}

.titregalerie h2{
text-align: center;
font-weight: bold;
text-transform: uppercase;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin: 0px auto;

}

.gallery img {
width: 180px;
height: 120px;
border:  solid 1px #afd000;
object-fit: cover;
cursor: pointer;
border-radius: 6px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.85);
  z-index: 999999;

  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  text-align: center;        /* 🔑 centre image + texte */
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
}

.lightbox-text {
  margin-top: 12px;          /* 🔑 texte suit l’image */
  color: #fff;
  font-size: 16px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.centermessage{
text-align: center;
font-weight: normal;
position: relative;
color: red;
font-size: 14px;
top: 180px;
}


.pagii{
width: 100%;
background-color:;
display: flex;
text-align: center;
margin: 0px auto;
height: 20px;
margin-top: 20px;
}


.dud{
display: flex;
width: 30px;
height: 20px;
border-radius: 4px;
text-align: center;
border: 1px solid #afd000;
background-color:#C7C4C4;
margin: 2px;}

.dud2{
display: flex;
width: 30px;
height: 25px;
position: relative;
top: -2px;
border-radius: 4px;
text-align: center;
background-color: #afd000;
margin: 2px;}

.alys, .lys{
position: relative;
left: 4px;
text-decoration: none;
list-style: none;
color: #fff;
}

.alyss{
position: relative;
left: 10px;
top: 2px;
font-weight: bold;
text-decoration: none;
color: #fff;
}

@media only screen and (min-width: 481px) and (max-width: 1024px){



}
@media only screen and (min-width: 200px) and (max-width: 480px){
.galeriecenter{
width: 90%;
height: 800px;
margin: 0px auto;
border:  solid 1px #afd000;
overflow-y: scroll;
scrollbar-width: thin;
scrollbar-size:5px;
padding: 0px;

}

.titregalerie{
width: 90%;
height: auto;
margin: 0px auto;
}

.titregalerie h2{
text-align: center;
font-weight: bold;
text-transform: uppercase;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin: 0px auto;

}

.gallery img {
width: 90px;
height: 70px;
border:  solid 1px #afd000;
object-fit: cover;
cursor: pointer;
border-radius: 6px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.85);
  z-index: 999999;

  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  text-align: center;        /* 🔑 centre image + texte */
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
}

.lightbox-text {
  margin-top: 12px;          /* 🔑 texte suit l’image */
  color: #fff;
  font-size: 16px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.centermessage{
text-align: center;
font-weight: normal;
position: relative;
color: red;
font-size: 14px;
top: 180px;
}


.pagii{
width: 98%;
background-color:;
display: flex;
text-align: center;
margin: 0px auto;
height: 20px;
margin-top: 20px;
}


.dud{
display: flex;
width: 30px;
height: 20px;
border-radius: 4px;
text-align: center;
border: 1px solid #afd000;
background-color:#C7C4C4;
margin: 2px;}

.dud2{
display: flex;
width: 30px;
height: 25px;
position: relative;
top: -2px;
border-radius: 4px;
text-align: center;
background-color: #afd000;
margin: 2px;}

.alys, .lys{
position: relative;
left: 4px;
text-decoration: none;
list-style: none;
color: #fff;
}

.alyss{
position: relative;
left: 10px;
top: 2px;
font-weight: bold;
text-decoration: none;
color: #fff;
}


}

