@font-face {
  font-family: Roboto; /* Name your font family */
  src: url('https://kennyswisside.ch/Roboto/Roboto-Regular.ttf'); /* Locate the .ttf file within your directory*/
}

html, body {  
	padding: 0 0 0 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
	font-family: "Roboto";
  display: flex;
  font-size: 16px;
  overflow-x: clip; /* évite un micro-débord horizontal iOS */
  -webkit-text-size-adjust: 100%;
}


:root{
  --couleurblanc : #fcfcf0;
  --couleurvertpremier : #3A5A40;
}

h1,h2{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
  display: inline;
}

p{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

#warper{
  width: 100%;
  height: auto;
  background: var(--couleurblanc);
  display: block;
}

#bandeau-menu{
  height: 50px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000000000000;
  background: var(--couleurblanc);

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* vide | titre | burger */
  align-items: center;                  /* centre verticalement */
  padding: 10px 10px;
  overflow: hidden;
}

#bandeau-menu h1{
  margin: 0;
  grid-column: 2;           /* colonne centrale */
  justify-self: center;     /* centre horizontalement */
  font-family: 'Oleo Script', system-ui, sans-serif;
}

.ham{
  grid-column: 3;           /* colonne droite */
  justify-self: end;        /* colle à droite */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.8s;
  user-select: none;
}


.hamRotate.active {
  transform: rotate(45deg);
}

.hamRotate180.active {
  transform: rotate(180deg);
}

.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #000;
  stroke-width: 5.5;
  stroke-linecap: round;
}

.ham4 .top {
  stroke-dasharray: 40 121;
}

.ham4 .bottom {
  stroke-dasharray: 40 121;
}

.ham4.active .top {
  stroke-dashoffset: -68px;
}

.ham4.active .bottom {
  stroke-dashoffset: -68px;
}

#menu{
  width: auto;
  height: auto;
  position: fixed;
  top: 70px;
  right: 0;
  background: var(--couleurblanc);
  z-index: 1;
  z-index: 1111111111111111111111;
  transform: translateX(100%); /* complètement hors écran */
  transition: transform 0.8s ease;
}

#menu.open {
  transform: translateX(0); /* visible */
}

#top-menu {
  list-style: none;       /* enlève les puces */
  margin: 0;
  padding: 0;
  display: flex;          /* les li côte à côte */
  gap: 12px;              /* espace entre les items */
  font-size: 1.2em;
}

#top-menu li a {
  text-decoration: none;  /* enlève le soulignement */
  color: inherit;         /* garde la couleur du texte actuelle */
  display: block;         /* clic sur toute la zone */
  padding: 12px;      /* un peu d’espace cliquable */
}


#top-menu li a.active {
  color: var(--couleurblanc); /* couleur de l’onglet actif */
  background: var(--couleurvertpremier);
}




#landing{
  /* Hauteur et margin-top modifié via le script du menu */
  width: 100%;
  height: calc(100vh - 70px);
  float: left;
  background-image: url('https://kennyswisside.ch/img/band/bg-landing.jpg');
  background-position: center;
  background-size: cover;
  user-select: none;
  position: relative;
  color: white;
  opacity: 0;
}



/* Le h1 ne remet pas un autre margin/background */
.kss-title{
  width: 80%;
  line-height: 1;          /* évite 0 qui rogne */
  overflow: visible;       /* pas de coupure */
  background: hsl(43 74% 64%);
  color: black;            /* currentColor appliqué au texte SVG */
  position: sticky;
  top: 0;
}

.logo{
  display:block;           /* pas inline */
  width:100%;
  height:auto;
}

.logo { visibility: hidden; }

.logo text{
  font-family: 'Oleo Script', system-ui, sans-serif;
  font-weight: 400;        /* Oleo Script n’a pas de 900 */
  font-size: 160px;        /* ajuste librement */
  fill: currentColor;
}



#concert{
  width: 100%;
  height: auto;
  margin: 100px 0 0 0;
  float: left;
  user-select: none;
}

#prochainedate{
  height: auto;
  padding: 20px 0 20px 0;
  width: 100%;
}

#concert h1{
  margin-left: 5%;
  font-size: 5rem;
}

.pasconcert{
  margin-left: 5%;
}

#dates{
  width: 100%;
  height: auto;
  margin: 0 0 0 0;
  float: left;
  background: var(--couleurblanc);
}

#datecetteannee{
  width: 48%;
  height: auto;
  float: left;
  position: sticky;
  top:70px;
}

#datecetteannee table, #datesanciennes table{
  width: 100%;
  align-self: center;
}
.margegauchetable{
  width: 20%;
}

.margedroitetable{
  width: 20%;
}


#dates tr th{
  width: auto;
  height: 70px;
  font-size: 1.3em;
  font-weight: bold;
  text-align: left;
}

table, td {
  border-bottom: 1px solid black;
  border-collapse: collapse;
}

#dates tr td {
  font-size: 1.1em;
  height: 40px;
  padding: 5px;
}

.libeltable:hover{
  background: none;
}

table tr:hover{
  background: #A3B18A;
  transition: 0.5s;
cursor: pointer;
}

#anciennesdates{
  width: 48%;
  margin-left: 4%;
  height: auto;
  float: left;
}

#choixdate{
  width: 100%;
  height: auto;
}

#choixdate p{
  height: 70px;
  font-size: 1.3em;
  font-weight: bold;
  vertical-align: middle;
  display: block;
  line-height: 70px;
  width: 100px;
  cursor: pointer;
  user-select: none;
}

#datesanciennes{
  overflow: hidden;
  height: 0px;
  display: block;
  transition: 1s;
}

.fleche {
    transition: transform 1s ease;
  }

  .flecheactive {
    display: inline-block;
    transition: transform 1s ease;
    transform: rotate(90deg);
  }


#band{
  width: 90%;
  margin: 100px 0 0 5%;
  padding-bottom: 150px;
  height: auto;
  float: left;
  font-family: Roboto;
  display: block;
}

#descritionband{
  width: 60%;
  height: auto;
  margin: 0 0 0 20%;
  text-align: justify;
  font-size: 1.3em;
}

#descritionband h1 {
  width: 100%;
  display: block;
  margin-bottom: 20px;
  font-size: 5rem;
}





#imagesband{
  width: 100%;;
  height: auto;
  margin: auto;

  margin-top: 100px;
  display: flex;
  justify-content: center;
}

#colonneun{
  width: 50%;
  max-width: 400px;
  height: auto;
}

#colonnedeux{
  width: 50%;
  max-width: 400px;
  height: auto;
  margin-left: 30px;
}

.boxmembre{
  width: 100%;
  height: auto;
}

.espace{
  margin-top: 40px;
}

.boximgmembre{
  aspect-ratio: 5/6;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.imgmembre{
  width: 100%;
  transition: 0.8s;
  filter: grayscale(1);
}

.imgmembre:hover{
  scale: 1.2;
  transition: 0.8s;
  filter: grayscale(0);
}

.nommembre,.citationmembre{
  width: 90%;
  height: auto;
  margin: 15px 0 0 5%;
  vertical-align: middle;
}

.citationmembre{
  font-size: 1.2em;
  margin-top: 5px;
}

#stats{
  width: 100%;
  height: auto;
  background-image: url('https://kennyswisside.ch/img/irlande.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  margin-top: 100px ;
  color: white;
}


#blocstat{
  width: 100%;
  height: auto;
  margin:80px 0 80px 0;
  display: flex;
  align-items: self-end;

}

#statun, #statdeux, #stattrois{
  flex: 1;
  height: auto;
  float: left;
}

#nombrestat{
  width: 100%;
  height: auto;
  padding: 10px 0 10px 0;
  text-align: center;
  font-size: 4em;
  font-weight: bold;
}

#infostat{
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 1.5em;
}

.gallery {
  width: 80%;
  height: auto;
  float: left;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px;
  margin: auto;
  margin: 100px 0 0 10%;
  user-select: none;
}

#choixgallerie{
  width: 100%;
  height: auto;
  background: var(--couleurblanc);
  z-index:1;
  align-items: center;
  flex-direction: column;

  h1{
    font-size: 5rem;
    width: 100%;
    height: auto;
    vertical-align: middle;
  }
}

.tabs {
  width: 100%;
  gap: 0px;
  padding: 10px;
  position: sticky;
  top: 65px;
  z-index: 2;
  background: var(--couleurblanc);
}

.tab {
  position: relative;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  color: black;
  transition: color 0.3s ease;
  z-index: 2;
  cursor: pointer;
}

.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: var(--couleurvertpremier);
  border-radius: 8px;
  transition: all 0.4s ease;
  z-index: 1;
}

.tab.active {
  color: white;
}

.grid {
  width: 100%;
  height: auto;
  float: left;
  margin-left: -5px;
}

.grid-item {
  width: calc(14.28% - 5px); /* Largeur des colonnes */
  margin-bottom: 5px; /* Espacement entre les images */
  margin-left: 5px;
  cursor: pointer;
  border-radius: 10px;
}

.grid-item img {
  width: 100%;
  display: block;
  transition: 0.6s;
}

.grid-item img:hover {
  scale: 1.1;
  transition: 0.6s;
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999999999999;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 20px;
  transition: 0.3s;
}

.lightbox-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--couleurblanc);
  cursor: pointer;
}

/* Boutons flèches */
.nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--couleurblanc);
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem;
}

.prev { left: 30px; }  /* 20px en dehors de l'image, adaptables */
.next { right: 30px; }


.hidden {
  display: none;
}



.slider-container {
  overflow: hidden;
  width: 100%;
  margin: auto;
  height:auto;
  margin-top: 20px;
  float: left;
  display: grid;
  user-select: none;
}

.slider {
  display: flex;
  align-items: flex-start;
  width: 100%; /* si 3 slides, ou juste pas de largeur si flex */
  height: auto;
}

.slide {
  flex: 0 0 100%;
  height: auto;
  box-sizing: border-box;
}

#contact{
  width: 100%;
  height: auto;
  justify-content: center;
  user-select: none;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

#contenucontact{
  width: 100%;
  max-width: 700px;
  height: auto;
  overflow: hidden;
}

#choixcontact{
  display: flex;
  flex: 1;
  gap: 10px;
  justify-content: center;
}

.selctioncontact{
  display: flex;
  max-width: 200px;
  padding: 10px 40px;
  text-align: center;
  border-radius: 15px;
  border: solid 1px var(--couleurblanc);
  transition: 0.6s;
}

.selctioncontact:hover{
  border: solid 1px var(--couleurvertpremier);
}

.selctioncontact.actif-contact {
  background-color: var(--couleurvertpremier); /* fond actif */
  color: var(--couleurblanc);
  border: solid 1px var(--couleurvertpremier);
}

#boxcontenucontact{
  width: 200%;
  height: auto;
  float: left;
  margin-top: 50px;
  margin-left: -0%;
  display: block;
  transition: 0.8s ease;
}

#formualairecontact{
  width: calc(50% - 20px);
  padding: 10px;
  height: auto;
  float: left;

	user-select: text;
}

#formualairecontact::selection{
	background-color:red;
}

.formulaire {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: sans-serif;
}



.ligne {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.champ {
  flex: 1;
}

.full {
  flex: 1 1 100%;
}

.champ input,
.champ textarea {
  width: 100%;
  resize: vertical;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  outline: none;
  background: var(--couleurblanc);
  font-size: 1.2em;
  min-height: 50px;
}

.champ input:focus,
.champ textarea:focus {
  border-color: black;
}

::placeholder {
  color: #999;
}


input::placeholder,
textarea::placeholder {
  color: #999;
  opacity: 1; /* important pour Firefox */
}


.formulaire button {
  width: 100%;
  align-self: flex-start;
  background-color: var(--couleurblanc);
  color: #999;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
  border:1px solid #ccc;
}

.formulaire button:hover {
  background-color: var(--couleurvertpremier);
  color: white;
}






#contenulpaylist{
  width: calc(50% - 20px);
  padding: 10px;
  height: auto;
  float: left;
}

#contenulpaylist a {
  text-decoration: none;
  color: black;
}

.mail{
  color : var(--couleurvertpremier);
  font-weight : bold;
}

.mail::selection {
  background-color: red;
  color: white;
}

.pressbook{
  width: calc(100% - 40px);
  height: auto;
  margin-bottom: 20px;
  padding: 20px;
  font-size: 1.2em;
  display: flex;
  border-radius: 20px;
  border: solid 2px #999;
}

.pressbook:hover{
  border: solid 2px green;
}

.pressbook p{
  margin-left: 20px;
}

.pdf{
  width: 25px;
  height: auto;
}


.hideme{
  transform: translateY(10px);
  opacity:0;
}

.showme{
  animation-name: scrollrevealbottomtotop;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}


@keyframes scrollrevealbottomtotop{
  from{
    transform: translateY(150px);
    opacity: 0;
  }
  to{
    opacity: 1;
    transform: translateY(0px);
  }
}
