@font-face {
  font-family: 'IndivisibleRegular';
  src: url('/fonts/Indivisible-Regular.woff2') format('woff2'),
       url('/fonts/Indivisible-Regular.woff2') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



body {
  font-family: IndivisibleRegular, Arial, sans-serif;
  color: #ffffff;
  background-color: rgb(1, 3, 10);
}
h1{
  font-size: 2.8em;
}
h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.6em;
  justify-content: center;
  text-align: center;
  margin-right: 5%;
  margin-left: 5%;
}

p {
  font-size: 1.2em;
}


.header{
    display: grid;
    grid-template-columns: 1fr auto;
    padding-left: 30px;
    margin: 1%;
    padding-right: 30px;
    align-items: center;
    font-size: 1.2em;
}

.header-nav a{
    color: rgb(255, 255, 255);
    padding: 25px;
    font-size: 2em;
}

img{
  display: block;
  max-width: 100%;
  }
.grid{
  justify-content: center;
  display: grid;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));  justify-content: center;
  margin-top: 30px;
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 20px;
  gap: 1%;
}
a{
  text-decoration: none;
}
.item {
  display: grid;
  place-items: center;
  background: rgb(1, 3, 4);
  height: 380px;
  width: 380px;
  margin-bottom: 10px;
}

.item p,
.item img {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  transition: all 0.4s ease;
}

.item p {
  color: rgb(247, 253, 255);
  font-size: 3em;
  opacity: 0;
}
.item:hover{
  cursor: pointer;
  transform: scale(1.05);
  transition: all 0.4s ease;
}

.item:hover p {
  opacity: 1;
  z-index: 1;
}

.item:hover img {
  opacity: 0.05;

}

.span-col-2 { grid-column: span 2; }
.span-col-3 { grid-column: span 3; }
.span-row-2 { grid-row: span 2; }

.bandeau-defilant {
  display: flex;
  white-space: nowrap;
  width: 100%;
  height: 75px;
  overflow: hidden;
  background-color: rgb(1, 3, 4);
  color: white;
  font-size: 2.8em;
}

.contenu-bandeau-court {
  display: flex;
  animation: defilement 20s
   linear infinite;
}
.contenu-bandeau-long {
  display: flex;
  animation: defilement 40s
   linear infinite;
}
.bandeau-defilant-img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 260px;
  overflow: hidden;
  background-color: rgb(1, 3, 4);
  display: flex;
  align-items: center;

}

.contenu-bandeau-img {
  display: flex;
  animation: defilement-img 37.4s linear infinite;
  flex-shrink: 0;
  align-items: center;
}
.contenu-bandeau-img img {
  height: 260px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  margin-bottom: 20px;
}

@keyframes defilement-img {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@keyframes defilement {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); 
  }
}
.bande-horizontale {
  width: 100vw;
  height: 3px;
  background-color: rgb(255, 255, 255);
  top: 0;
  left: 0;
  margin-bottom: 20px;
  z-index: 1000;
}
a{
  color: white;
}
.carousel-grid3 {
  display: grid;
  justify-content: center; /* centre horizontalement la grille */
  grid-column: 2/4;
  padding: 20px;
  max-width: 900px;
  margin: 2px auto;

}

