html:focus-within {
  scroll-behavior: smooth;
}

p {
  margin-top: 1em;
}

@media(prefers-reduced-motion) {
  html:focus-within {
    scroll-behavior: auto;
  }
}

/* PAGE */
.dynamicContent {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.column {
  margin-top: 20px;
  margin-bottom: 20px;
}

.column-desktop {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100%;
}

.column-content {
  width: 65%;
}

h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Scroll incentive */
#scroll-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 4rem;
  color: rgb(0, 0, 0) !important;
  opacity: 0.9;
  animation: bounce 2s infinite;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

#scroll-arrow.hidden {
  opacity: 0;
  animation: none;
}

/* PAGE Home */
#section-home {
  background-color: #000 !important;
  background-image: url("../images/epk/Hyldr-EPK-title.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background-position: center;
  font-size: 2em;
  min-height: calc(100vh - 146px);
}

#title {
  font-size: 30px;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

#logo {
  margin-top: 10px;
  height: 100px;
  filter: invert(96%) sepia(9%) saturate(413%) hue-rotate(74deg) brightness(104%) contrast(105%);
}

.home-quote-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#section-home p {
  font-family: 'Courier New', Courier, monospace;
  font-style: italic;
  font-size: 0.7em;
  background-color: #00000088 !important;
  width: 100vw;
  padding: 0.5em;
  text-align: center;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

/* BIO */
.bio {
  margin-top: 20px;
  margin-bottom: 20px;
}

#bio-images img {
  max-height: 666px;
  width: auto;
}

/* PAGE video */
#section-video {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: aliceblue !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.youtube-wrapper {
  z-index: 3;
  position: relative;
  width: 96%;
  max-width: 800px;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.video-thumbnails {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  width: 96%;
  max-width: 800px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.video-thumbnails img {
  flex: 0 0 calc(20% - 8px);
  max-width: calc(20% - 8px);
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.video-thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Évite le scroll vertical sur petit écran */
.video-thumbnails::-webkit-scrollbar {
  display: none;
}

.video-thumbnails {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Section STATS */
#section-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-stats {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.container-stats .column-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white !important;
  width: fit-content;
}

.container-stats .column-content img {
  height: 60px;
  filter: brightness(0) invert(1);
}

.container-stats .column-content p {
  font-size: 60px;
  margin: 0;
}

.container-stats .column-content .text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.container-stats .column-content .text-content span {
  font-size: 20px;
  margin: 0;
}


/* LISTEN */
#section-listen {
  background-color: aliceblue !important;
  height: fit-content;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

#bandcamp-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px;
}

#bandcamp-wrapper iframe {
  border: none;
}

#platforms-links {
  height: fit-content;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px;
}

#platforms-links img {
  height: 30px;
}

/* PHOTOS */
#section-photos {
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#container-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}

#container-photos img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8) !important;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

/* PRESS */
#section-press {
  margin-top: 50px;
  background-color: aliceblue !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#section-press h2 {
  color: #000 !important;
}

#container-press {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#press-quotes {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  color: black !important;
  padding: 50px;
}

#press-quotes strong {
  display: block;
}

#press-images img {
  max-height: 500px;
  width: auto;
}

.slide {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
}

.slide p {
  max-width: 700px;
  margin: 20px auto;
  padding: 0 10px;
  text-align: center;
}

.slide img {
  margin: 20px;
}

#press-next-quote-btn {
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid #000000;
  background-color: aliceblue !important;
  border-radius: 4px;
  font-family: inherit;
  color: black !important;
  font-weight: bold;
  z-index: 10;
  display: block;
}

#section-press p {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

#section-press a {
  color: #000 !important;
}

/* CONTACT */
#section-contact {
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: aliceblue !important;
  color: #000 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#section-contact .email {
  color: #000 !important;
}

#epk-social-links {
  height: fit-content;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px;
}

#epk-social-links img {
  height: 30px;
}

.download-section {
  margin-top: 20px;
  text-align: center;
}

.download-block {
  margin-bottom: 20px;
  background: #cacaca;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.download-button {
  display: inline-block;
  padding: 8px 14px;
  background-color: #222 !important;
  color: white !important;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.download-button:hover {
  background-color: #444 !important;
}

.download-button,
.download-button:visited,
.download-button:hover,
.download-button:active {
  color: white !important;
  text-decoration: none;
}

/* TOUR */
#wrapperSongkick {
  z-index: 15;
  width: 100%;
  display: flex;
  overflow: hidden;
}

#wrapperSongkick:hover {
  overflow-y: scroll;
}

#wrapperSongkick::-webkit-scrollbar {
  display: none;
}

#wrapperSongkick {
  scrollbar-width: none;
}

footer {
  text-align: center;
  padding: 20px;
}

footer a {
  color: #ffffff !important;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}

/* MOBILE */
@media all and (max-width: 1000px),
(max-height: 500px) {
  .dynamicContent {
    flex-direction: column;
    align-items: center;
  }

  .column-content {
    width: 90%;
    /* Le texte prend toute la largeur */
  }

  .column-desktop {
    display: none;
  }

  h2 {
    text-align: center;
  }

  .container-stats {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (orientation: landscape) and (max-width: 767px) {
  .iframe-mobile {
    display: block;
  }

  .iframe-desktop {
    display: none;
  }
}