body {
    font-family: "big-caslon-fb", sans-serif;
    font-weight: 400;
}

.analogue-nav__logo img {
  height: 50px;
  width: auto;
}

.analogue-nav__plus img {
  height: 30px;
  width: auto;
}

.content {
  width: 80vw;
  color: white;
  background-color: black;
}

.left-side-content {
  text-align:center;
  width: 50%;
  margin: 0 auto;
}

main {
  min-height: calc(100vh - 50px); /* Prend toute la hauteur de la fenêtre */
  max-height: calc(100vh + 50px);
  display: flex;
  align-items: center;     /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  flex-direction: column;
}

.languages span {
  font-size: 0.8rem;
  cursor: pointer;
  text-underline-offset: 2px; /* Ajuste la valeur selon ton goût (px, em, etc.) */
}

.languages span.active {
  text-decoration: underline;
  text-underline-offset: 3px; /* ou la valeur que tu veux */
    opacity: 0.7;

}

h2 {
  font-size: 3rem;
}

.analogue-nav {
  width: 80%;
}

#lang-text {
  transition: opacity 0.4s;
  opacity: 1;
}
#lang-text.fading {
  opacity: 0;
}

.left-side {
  width: 50%;
}

.right-side {
  aspect-ratio: 1 / 1;
  width: 55vw;
  /* max-width: 600px; */
  /* padding: 40px; */
}

.right-side img {
  width: 100%; height: 100%; object-fit: cover;
  /* max-width: 600px;
  max-height: 600px; */
}

.analogue-info {
  text-align: center; font-size: 0.8rem; margin-top: 20px;
}

.analogue-content {
    max-height: calc(100vh - 60px);
    overflow: hidden;
}
@media (max-width: 767.98px) {  /* Mobile et petits écrans (Bootstrap md breakpoint) */
  .left-side {
    width: 100%;
    margin-bottom: 40px;
  }

  .left-side-content {
    width: 70%;
  }

  .right-side {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .right-side img {
    aspect-ratio: 1 / 1 !important;
  }

  main {
    min-height: calc(100vh - 50px); /* Prend toute la hauteur de la fenêtre */
    max-height: unset;
  }

  .analogue-info {
    font-size: 0.8rem;
  }

  .analogue-content {
    max-height: 100%;
    overflow: scroll;
}

}
