.gallery {
  padding: 2px;
  transition: 0.3s;
  width: 80%;
  margin-left: 10%;
  margin-right: auto;
  display: inline-flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  transition: 0.2s;
}

#gallery-spectacle {
  display: none;
  opacity: 0;
}

// .gallery:hover .gallery__image {
//     filter: grayscale(1);
// }

.gallery__column {
  display: flex;
  flex-direction: column;
  width: 25%;
}

.gallery__column_spectacle {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
}

.gallery__link {
  margin: 2px;
  overflow: hidden;
}

.gallery__image:hover {
  filter: grayscale(1);
}

.gallery__thumb {
  position: relative;
}

.gallery__image {
  display: block;
  width: 100%;
  transition: 0.3s;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px 15px 15px;
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  color: white;
  opacity: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: 0.3s;
}

.titrePage3 {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: 50px;
  letter-spacing: 0px;
  font-size: 3em;
  display: grid;
  width: fit-content;
  margin-bottom: 8vh;
  position: relative;
  /* margin-top: 5%; */
  margin-left: 15%;
}

.titrePage3::after {
  content: "";
  background-color: #427e9b;
  height: 3px;
  width: var(--lineSize);
  bottom: -11px;
  position: absolute;
}

/* BUTTON */

.button-container {
  width: 550px;
  margin-inline: auto;
  margin-bottom: 30px;
  display: flex;
  flex-direction: inline;
  position: relative;
  font-family: "Inter";
  border: solid 3px #fbc45c;
  border-radius: 22px;
  min-width: 212px;
}

.backcolor {
  background: #fbc45c !important;
  position: absolute;
  height: 100%;
  width: calc(100% / 3);
  z-index: -1;
  transition: all 0.5s ease-in-out;
  border-radius: 22px;
}
.button-menu {
  flex: 1;
  width: calc(100% / 3);
  text-align: center;
  cursor: pointer;
  padding-block: 5px;
}

@media screen and (max-width: 1000px) {
  .gallery__column {
    flex-basis: calc(50% - 12px);
  }

  .gallery__column_spectacle {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 651px) {
  .gallery__column {
    flex-basis: calc(100% - 12px);
  }

  .button-container {
    width: 100%;
    border-radius: 30px;
  }
}

.gallery_full_spectacle {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  video {
    max-height: 100%;
    height: 90%;
    width: auto;
  }
}
