@import url("./general.css");

.letout{
  width: 60%;
  height: auto;
  position: relative;
  z-index: 0;
  top:1.5vh;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.top-bar-solo {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 7vh;
  background-color: rgba(255, 255, 255, 0);
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 3.5vh;
}

.top-bar-solo a {
  color: #000;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: calc(var(--font-size) * 0.7);
}

.top-right-text-solo {
  position: absolute;
  top: 1.3vh;
  left: 0px;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-size: calc(var(--font-size) * 0.7);
}

.title {
  width: 100%;
  height: auto;
  background-color: rgb(255, 255, 255);
  padding: 10px 0;
  margin-top: 8vh;
  padding-bottom: 2vh;
}

.title p {
  color: rgb(0, 0, 0);
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  padding: 1vh 0;
  font-family: 'Manrope', sans-serif; 
  font-size: calc(var(--font-size) * 1.5); 
}

.first{
  width: 100%;
  background-color: rgb(255, 255, 255);
  padding-bottom: 2vh;
}

.first img, .first video, .first iframe {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.first img.portrait, .first video.portrait, .first iframe.portrait {
  width: 50%;
  margin: 0 auto;
}

.first iframe {
  aspect-ratio: 16/9;
  height: auto;
  width: 100%;
}

.explication {
  width: 100%;
  height: auto;
  background-color: rgb(255, 255, 255);
  padding: 1vh 0;
}

.explication p {
  color: rgb(0, 0, 0);
  text-align: left;
  margin: 0;
  padding: 1vh 0;
  font-family: 'Manrope', sans-serif; 
  font-size: calc(var(--font-size)* 0.7); 
  line-height: 1.5;
}


.other {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: rgb(255, 255, 255);
  padding: 1vh 0;
  margin-bottom: 7vh;
  margin-top: 2vh;
}

.other img, .other video, .other iframe {
  display: block;
  object-fit: cover;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: box-shadow 0.3s ease;

}

.other iframe {
  aspect-ratio: 16/9;
  height: auto;
  width: 100%;
}


.other img.landscape, .other video.landscape, .other iframe.landscape {
  width: 100%;
}

.portrait-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 100px; 
}

.portrait-row img.portrait, .portrait-row video.portrait, .portrait-row iframe.portrait {
  width: calc(50% - 5px); 
}

.other img.landscape, .other video.landscape, .other iframe.landscape {
  width: 100%;
  margin-bottom: 10px; 
}

.other img.portrait:only-child, .other video.portrait:only-child, .other iframe.portrait:only-child {
  display: block;
  margin-bottom: 10px;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-out {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out;
}

.fade-out.hidden {
  opacity: 0;
  transform: translateY(-20px);
}


.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
  color: #000;
  /* transition: opacity 0.3s ease; */
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px; 
}

.arrow-static, .arrow-animated {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
  opacity: 1; 
}


.arrow-animated {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.nav-arrow:hover .arrow-static {
  opacity: 0;
}

.nav-arrow:hover .arrow-animated {
  opacity: 1;
  animation: none;
}

.nav-arrow:hover .arrow-animated {
  content: url('../assets/images/arrow-left.gif');
}

.right-arrow:hover .arrow-animated {
  content: url('../assets/images/arrow-right.gif');
}


.scroll-out-up {
  animation: scrollOutUp 0.5s ease-out forwards;
}

.scroll-out-down {
  animation: scrollOutDown 0.5s ease-out forwards;
}

.scroll-in-up {
  animation: scrollInUp 0.5s ease-out forwards;
}

.scroll-in-down {
  animation: scrollInDown 0.5s ease-out forwards;
}

@keyframes scrollOutUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes scrollOutDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes scrollInUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scrollInDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-arrow:hover {
  opacity: 1;
}

.letout {
  position: relative;
  overflow: hidden;
}

.texttitlesolo {
  position: fixed;
  top: 2.7vh;
  left: 3.5vh;
  z-index: 2;
  transition: opacity 0.5s ease-in;
  pointer-events: none;
}

.texttitlesolo.fade-out {
  opacity: 0;
  position: fixed;
}

.texttitlesolo.fade-in {
  opacity: 1;
  position: fixed;
}


.first iframe,
.other iframe,
.first video,
.other video {
  cursor: url("../assets/curseurs/curseur.png") 8 8, auto !important;
}

@media (orientation: portrait) {
  .nav-arrow {
    top: auto;
    bottom: 0.5vh;
    transform: none;
    z-index: 1000;
  }

  .letout{
    width: 90%;

  }

  .left-arrow {
    left: 4vw;
  }

  .right-arrow {
    right: 4vw;
  }

  .arrow-static, .arrow-animated {
    width: 40px;
  }

  .nav-arrow:hover .arrow-static {
    opacity: 1 !important;
  }

  .nav-arrow:hover .arrow-animated {
    opacity: 0 !important;
    content: none !important;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7vh; 
    background: #fff;
    z-index: 1;
  }

  body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8vh; 
    background: #fff;
    z-index: 900; 
  }

  .explication p {
    font-size: calc(var(--font-size)* 1.1);
  }

  .texttitlesolo {
display: none;
  }



}



