body {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color: #000c2e;
  color: white;
}

.titre {
  text-align: center;
  font-size: 2em;
  margin-top: 20px;
}

.audio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

audio {
  width: 300px;
  background-color: transparent;
  filter: invert(100%) brightness(120%);
  border: none;
  outline: none;
  display: block;
  margin: 0 auto;
}

.retour {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-family: 'Cormorant Garamond', serif;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px;
  z-index: 20;
  display: block;
}

.modal-open .retour {
  display: none;
}

#constellation {
  position: relative;
  height: 100vh;
  width: 100%;
}

.etoile {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000c2e;
  padding: 40px 20px;
  box-sizing: border-box;
}

.modal-content {
  max-width: 1000px;
  margin: auto;
  background-color: transparent;
  padding: 20px;
  color: white;
}

.modal-body {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-image img {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.modal-description {
  text-align: justify;
  line-height: 1.6;
  font-size: 1.1em;
}

#modal-name {
  font-size: 2em;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    align-items: center;
  }

  .modal-image img {
    max-width: 90vw;
    max-height: 60vh;
    border-radius: 0;
  }

  .modal-description {
    padding: 0 10px;
    text-align: justify;
  }

  #modal-name {
    text-align: center;
  }

  audio {
    width: 90vw;
  }
}
