.background-black {
  position: fixed;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
}
.page-hike-infos {
  position: fixed;
  inset: 10px 10px auto 10px;
  width: auto;
  min-height: auto;
}

.page-hike-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;

  li {
    padding: 5px 15px;
    border-radius: 15px;
    background-color: var(--color-white);
  }
}
.page-hike-infotext {
  padding: 15px;
  background-color: var(--color-white);
}

.page-hike-image-container {
  position: relative;
}

.page-hike-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: -1;
  height: 100svh;
  max-height: 100%;
  & img {
    width: auto;
    height: 100svh;
    max-width: 100%;
    object-fit: cover;
  }
}

.buttons {
  position: fixed;
  color: var(--color-white);
  bottom: 50px;
  margin-left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  gap: 25px;
  display: flex;
}

.fade {
  opacity: 0;
  display: none;
  position: absolute;
  transition-property: display opacity;
  transition-duration: 0.6s;
  transition-behavior: allow-discrete;
}

.fade.show {
  position: relative;
  opacity: 1;
  display: flex;

  @starting-style {
    opacity: 0;
    position: absolute;
  }
}

.hidden {
  pointer-events: none;
}