body {
  margin: 0;
  padding: 0;
}

#birds {
  position: fixed;
  z-index: 1;
}

#story {
  position: absolute;
  width: 100%;
  height: 0%;
  /*when activated, the map can be moved*/
}

#map {
  top: 0;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: -5;
}

#header {
  margin: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#features {
  padding-top: 80vh;
  padding-bottom: 10vh;
  z-index: 100;
}

@media (max-width: 750px) {
  #features {
    width: 90vw;
    margin: 0 auto;
  }
}

#footer {
  min-height: 2vh;
  text-align: left;
  line-height: 20px;
}

#header h1 {
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Atkinson Hyperlegible', serif;
  text-align: left;
  max-width: 650px;
}

#header h4 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-weight: 300;
  margin-bottom: 0em;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  max-width: 650px;
}

#header p.byline {
  font-weight: 300;
  font-size: 0.9em;
  margin: 0.5em auto 0.8em auto;
}

#header p {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-weight: 400;
  text-align: left;
  font-size: 1.3em;
  max-width: 50%;
}

#features h3 {
  font-weight: 900;
  text-transform: uppercase;
  font-family: 'Atkinson Hyperlegible', serif;
  text-align: left;
  max-width: 50vw;
}

#features p {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  text-align: justify;
  font-size: 1.2em;
  max-width: 50vw;
}

#features .imageDiv {
  position: relative;
  padding: 0 0;
}

#features .handclick {
  position: absolute;
  bottom: -5px;
  right: -18px;
  width: 25px;
  opacity: 75%;
}

#features .imageCredit {
  font-size: 0.9em;
  margin-top: -3px;
  line-height: normal;
}

/* Remove the default triangle */
#features summary {
  display: block;
  cursor: pointer;
}

/* Create a new custom triangle on the right side */
#features summary::after {
  color: #ec1d25;
  margin-left: 1ch;
  display: inline-block;
  content: '➤';
  transition: 0.2s;
}

#features details[open]>summary::after {
  transform: rotate(90deg);
}

#footer p {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 0.9em;
  max-width: 700px;
  padding: 1em;
  margin: 0px auto;
}

a,
a:hover,
a:visited {
  color: #9c3211;
}

.centered {
  width: 50vw;
  margin: 0 auto;
}

.lefty {
  width: 33vw;
  margin-left: 5vw;
}

.righty {
  width: 33vw;
  margin-left: 62vw;
}

.light {
  color: #000000;
  background-color: #fafafa;
}

.dark {
  color: #fafafa;
  background-color: #444;
}

.step {
  padding-bottom: 50vh;
  opacity: 0.25;
}

.step.active {
  opacity: 0.9;
}

.step div {
  display: inline-block;
  text-align: center;
  padding: 25px 50px;
  line-height: 25px;
  font-size: 13px;
}

.step img {
  width: 100%;
}

/* flèche animée invitant à défiler vers le bas */
.arrow-down {
  width: 60px;
  height: 40px;
  margin: 80px;
  position: relative;
  animation: arrow 1s 2s infinite ease-out alternate;
}

.general-arrow {
  position: absolute;
  height: 10px;
  width: 40px;
  background: black;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  transform-origin: 5px 50%;
}

.left-arrow {
  transform: rotate(240deg);
  animation: leftArrow 1s 2s infinite ease-out alternate;
}

.right-arrow {
  transform: rotate(-60deg);
  animation: rightArrow 1s 2s infinite ease-out alternate;
}

@keyframes arrow {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 40px;
  }
}

@keyframes leftArrow {
  100% {
    transform: rotate(225deg);
  }
}

@keyframes rightArrow {
  100% {
    transform: rotate(-45deg);
  }
}

/* --- */
/* pointe de la boussole colorée */
.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23ec1d25' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8h-8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8h-8z'/%3E%3C/svg%3E");
}

/* --- */

.logo-container {
  display: flex;
  justify-content: center;
  /* Align logos horizontally in the center */
  align-items: center;
  /* Align logos vertically in the center */
  gap: 10px;
  /* Add space between logos */
  flex-wrap: nowrap;
  /* Ensure logos stay on one line */
}

.logo-container img {
  display: inline-block;
  width: auto;
  /* Keep aspect ratio */
  vertical-align: middle;
  /* Align logos vertically */
}