@charset "UTF-8";
ul {
  list-style-type: none;
  padding: 0%;
}

li {
  background-color: linear-gradient(90deg, rgb(129, 157, 215) 0%, rgb(102, 196, 215) 50%, rgb(197, 225, 231) 100%);
  border-top: 0.2vw solid white;
}

h2 {
  font-family: "montserrat", "sans-serif";
}

.photo-argentique {
  max-height: 0px;
  overflow: hidden;
  transition: all 1000ms ease-in-out;
}
.photo-argentique.active {
  max-height: 6000px;
}

.grid-argentique {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  margin: auto;
  gap: 20px;
  width: 95%;
  margin-bottom: 30px;
}
.grid-argentique img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 330ms ease-in-out;
}
.grid-argentique img:hover {
  transform: scale(1.03);
}

.photo-danse {
  max-height: 0px;
  overflow: hidden;
  transition: all 1000ms ease-in-out;
}
.photo-danse.active {
  max-height: 6000px;
}

.grid-danse {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  margin: auto;
  gap: 20px;
  width: 95%;
  margin-bottom: 30px;
}
.grid-danse img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 330ms ease-in-out;
}
.grid-danse img:hover {
  transform: scale(1.03);
}

.photo-portrait {
  max-height: 0px;
  overflow: hidden;
  transition: all 1000ms ease-in-out;
}
.photo-portrait.active {
  max-height: 6000px;
}

.grid-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  width: 95%;
  margin: auto;
  margin-bottom: 30px;
}
.grid-portrait img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 330ms ease-in-out;
}
.grid-portrait img:hover {
  transform: scale(1.03);
}

.photo-ancolie {
  max-height: 0px;
  overflow: hidden;
  transition: all 1000ms ease-in-out;
}
.photo-ancolie.active {
  max-height: 6000px;
}

.grid-ancolie {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 20px;
  width: 95%;
  margin: auto;
  margin-bottom: 30px;
}
.grid-ancolie img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 330ms ease-in-out;
}
.grid-ancolie img:hover {
  transform: scale(1.03);
}

.video {
  max-height: 0px;
  overflow: hidden;
  transition: all 1s ease-in-out;
}
.video.active {
  max-height: 6000px;
}

.grid-video {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  gap: 20px;
  width: 95%;
  margin: auto;
  justify-content: center;
  margin-bottom: 30px;
}
.grid-video img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 330ms ease-in-out;
}
.grid-video img:hover {
  transform: scale(1.03);
}

.portfolio-section-photo h2 {
  text-align: center;
  margin: 30px;
  font-family: "montserrat", "sans-serif";
  font-size: 3vw;
}

.category-description {
  text-align: center;
  margin: 20px;
}

.titre-second {
  padding: 5vw;
  position: relative;
  overflow: hidden; /* Ajout de cette propriété pour empêcher le dépassement de l'image */
}
.titre-second:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s, transform 1s;
}
.titre-second:hover:before {
  opacity: 0.8;
  transform: scale(1.2);
}
.titre-second:hover h2 {
  color: white;
  transition: color 1s;
  text-decoration: underline;
}
.titre-second h2 {
  position: relative;
  z-index: 1;
}

.argentique:before {
  background-image: url("../images/portfolio/argentique/©YANIS-OURABAH-DANCE-IN-LYON_2370.webp");
  background-size: cover;
  background-position: center;
}

.danse:before {
  background-image: url("../images/portfolio/danse/WEB©YANIS_OURABAH_1860.webp");
  background-size: cover;
  background-position: center;
}

.portrait::before {
  background-image: url("../images/portfolio/portrait/web194169yanis-ourabah-8951.webp");
  background-size: cover;
  background-position: center;
}

.ancolie::before {
  background-image: url("../images/portfolio/ancolie/garanceli-ancolie-rencontres-mai2021-007.webp");
  background-size: cover;
  background-position: center;
}

.videos::before {
  background-image: url("../images/portfolio/portrait/4169yanis-ourabah-dance-in-lyon-2324.webp");
  background-size: cover;
  background-position: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal .close {
  color: #fff;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
}
.modal .modal-content {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: calc(100% - 120px);
  transform: scale(0.9);
  opacity: 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.modal .modal-content.show {
  transform: scale(1);
  opacity: 1;
}
.modal #credits {
  text-align: center;
  color: #fff;
  margin-top: 20px;
  font-size: 18px;
}
.modal .prev,
.modal .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}
.modal .prev:hover,
.modal .next:hover {
  opacity: 0.8;
}
.modal .prev {
  left: 10px;
}
.modal .next {
  right: 10px;
}

@media screen and (max-width: 996px) {
  .modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
}/*# sourceMappingURL=portfolio.css.map */