/* @haesler-oscar-emf */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

body {
  margin: 0; /* remets les marge de base a zero */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-image: url(/img/nasa-1lfI7wkGWZ4-unsplash.jpg) !important;
  background-size: cover;
  font-family: "Roboto", sans-serif;
}

h1 {
  font-size: 32px;
  color: #f5f5dc;
}
/* container avec toutes les boites de découverte */
.container {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-y: scroll;
}

p {
  color: #f5f5dc;
}
/* rectangle avec l'effet de glass */
.rectangle {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: #00000020;
  border-radius: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
}

.title-area h1 {
  color: #0056b3;
  font-size: 24px;
}

.button-destination {
  background-color: #0056b3;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.button-destination:hover {
  background-color: #003d7a;
}

.button-retour {
  position: absolute;
  top: 20px;
  position: fixed;
  left: 20px;
  background-color: #0056b3;
  font-weight: bold;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  z-index: 100;
}

.button-retour:hover {
  background-color: #003d7a;
}
/* responsive pour mobile */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}
