@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

a {
  text-decoration: none; /* Supprime le soulignement */
  color: inherit; /* Utilise la couleur du texte parent */
}

a:visited {
  color: inherit; /* Évite le changement de couleur après clic */
}


body{
  margin: 0;
  padding: 0;
  background-color: rgb(10, 10, 29);
}

.page{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(10, 10, 29);
    color: white;
    font-family: 'DM Sans', sans-serif;
    padding: 0;
}

.input_scan{
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 1rem;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 2px solid white;
    outline: none;
    transition: border-color 0.3s;
}

.input_scan::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.input_scan:focus {
  border-bottom: 2px solid cyan;
}


#listeFavoris{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem;
}

.favoris{
  padding: 1rem;
  background-color: rgb(18, 18, 53);
  width: 25%;
  display: flex;
  flex-direction: column;
  margin: 2rem;
  align-items: center;
  color: white;
  border: 2px solid rgb(23, 23, 69);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.img_scan{
    width: 80%;
}


.lien_scan{
  font-size: 1.5rem;
  font-family: "Bungee", sans-serif;
  text-align: center;
  margin-block: 0.5rem;

}

.chapitre-info{
  background-color: blue;
  padding: 1rem;
  color: white;
  margin: 0.1rem;
  padding: 1rem;
  border-radius: 5rem;
  margin-block: 0.5rem;
  text-align: center;

}

.chapitre-info--last{
  background-color: rgb(0, 0, 77);
  
}

.valider{
  margin-top: 2rem;
  padding: 1rem;
  padding-inline: 2rem;
  border: none;
  border-radius: 5rem;
  background-color:  rgb(18, 18, 53);
  color: white;
  transition: 0.3s;

}

.valider:hover{
  background-color:  rgb(27, 27, 78);
  transition: 0.3s;

}

.valider:active{
  background-color:  rgb(55, 55, 155);
  transition: 0.3s;

}

.titrevosfavoris{
  align-self: flex-start;
  padding-left: 6rem;
}

.info_createur_container {
  margin-block:2rem ;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 90%;
  animation: fadeIn 1s ease-in-out;
}

.info_createur {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 16px;
}

.info_createur_container a {
  color: #4da6ff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.info_createur_container a:hover {
  color: #1e90ff;
}

.enlever{
  color: white;
  font-size: 1.5rem;
  align-self: end;
  position: absolute;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  margin-top: -10px;
  background-color: rgb(0, 0, 77);
  border-radius: 5rem;
  border: 1px solid rgb(26, 26, 146);
  transition: 0.3s;
}

.enlever:active, .enlever:hover{
  background-color: rgb(2, 2, 49);
  border: 1px solid rgb(19, 19, 95);
  color: rgb(184, 184, 184);
  transition: 0.3s;
}