@font-face {
  font-family: "Alloy Ink";
  src:
    local("Alloy Ink"),
    url("Ressources/aAlloyInk.ttf") format("truetype"),
    url("Ressources/aAlloyInk.otf") format("opentype");
}

html {
  height: 100%;
  width: 100%;
  background-image: url("Ressources/Image/fond.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1 {
  text-align: center;
  color: #FF82F6;
  font-size: 50px;
  font-family: Alloy Ink;
}

h2 {
  text-align:center;
  font-size: 25px;
  color: #1F74AC;
  font-family: Arial, Helvetica, sans-serif;
}

p {
  font-family: Arial, Helvetica, sans-serif;
}

#rouge {
  color: red;
}

.touchee{
  opacity: 0.2;
  transition: opacity 0.5s ease-in-out;
  margin-top: 150px;
}

.touchee:hover {
  opacity: 1;
}

.profil-wrapper {
  display:block;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  text-align: justify;
  border: 0px;
  background-color: #FBFBFB;
  padding: 1em;
  max-width: 50%;
  border-radius: 20px;
}

#profilWrapper{
  margin: 400px auto 0 auto;
}

.Timeline-wrapper {
  position: relative;
  grid-template-columns: 1fr 1fr;
  margin: auto;
  text-align: justify;
  border: 0px;
  background-color: #FBFBFB;
  padding: 1em;
  max-width: 50%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-bottom: 40px;
  background-color: black;
  color: white;
}

#barre {
  margin-left: 20%;
  border: 2px solid white;
  border-radius: 5px;
  background-color: white;
  width: 5px;
  position: absolute;
  top: 20px;
}

.experience-item {
  display: flex;
  justify-content: start;
  padding-left: 21%;
}

.circle {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 100%;
  transform: translate(calc(-50% + 4px), 0);
}

.date {
  border: 0;
  overflow-wrap: break-word;
  text-align: center;
  width: 400px;
  max-height: 50px;
  margin-top: -15px;
  z-index: 1;
}

footer{
  width: 100vw;
  margin: 150px auto;
  overflow-wrap: break-word;
  text-align: center;
  border: 0px;
  background-color: #FBFBFB;
  max-width: 40%;
  margin-bottom:0;
  border-radius: 20px;
}

body{
  margin: 0;
  padding-top: 70px;
}

.contributor{
  display:flex;
  gap: 20px;
  width: 250px;
}

.contributor img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
}

h4 {
  text-align: left;
}

#imageCouleur {
  background-color: grey;
}

#nav_link {
  display: flex;
  position: fixed;
  top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #FBFBFB;
  border-radius: 20px;
  z-index: 1;
  height: 30px;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  width:100%;
  justify-content: center;
}

#nav_link a {
  width: 9px;
  padding: 10px;
  margin-left: 10px;
  text-decoration: none;
  font-size: 1, 2rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

#compteur{
  display: flex;
  position: fixed;
  top: 100px;
  padding-top: 10px;
  right: 10px;
  padding-bottom: 10px;
  background-color: #FBFBFB;
  border-radius: 20px;
  z-index: 1;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition-duration: 1s;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

#cacher{
  width:30px;
  height:30px;
  border-radius: 10px;
  border: 0px;
  justify-content: center;
  align-items: center;
  transition-duration: 1s;
}

#cacher:hover {
  zoom: 1.3;
}

#tempsPassee{
  font-size: 30px;
}

#compteur #dialogue{
  background-color: #ECECEC;
  border-radius: 10px;
  padding: 10px;
}

#compteur #descritif{
  font-size: 10px;
  padding:5px;
  display:table
}

#annee{
  display: block;
}

.case{
  text-align: center;
  display:table-cell; 
  vertical-align:middle;
  padding:5px 5px 0px 5px;
}


#pas-choisi {
  color: black;
}

#choisi {
  color: violet;
}

.button-reseaux {
  text-align: center;
  background: #5E5DF0;
  border-radius: 999px;
  box-shadow: #5E5DF0 0 10px 20px -10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter, Helvetica, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
  margin-right: 20px;
}

button a {
  text-decoration: none;
  color: white;
}

.container {
  height: 100px;
  position: relative;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
}

.membrane{
  width:400px;
  height:200px;
}

.molecule{
  width:400px;
  height:280px;
}

.ions{
  width:400px;
  height:235px;
}

.Seringue{
  width:235px;
  height:350px;
}

.pas_compris{
  color:red;
  background-color: yellow;
  font-style:oblique 100deg;
}

#img:hover{
  transform: scale(1.1);
}

.jour{
  margin-bottom:10px;
  border:0;
  border-radius: 20px;
  padding:5px;
  background-color: #F5F5F5;
}

.jour h4{
  color:red;
  text-align: center;
}


.jour p{
  justify-content: justify;
}

#petiteTable {
  border-collapse: collapse;
  border: 2px solid rgb(200,200,200);
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-align: center;
  margin:auto;
}

#petiteCase {
  border: 1px solid rgb(190,190,190);
  padding: 10px 20px;
}

#GrandTable {
  border-collapse: collapse;
  border: 2px solid rgb(200,200,200);
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-align: center;
  margin:auto;
}

.GrandeCase {
  border: 1px solid rgb(190,190,190);
  padding: 0;
}
.beau{
  font-family: Arial, Helvetica, sans-serif;
}

#souligner{
  text-decoration: underline;
}

#source{
  display: flex;
  align-items: center;
  justify-content: center;
}

.remarques{
  border:0;
  width:400px;
  margin: auto;
  border-radius: 20px;
  padding:5px;
  background-color:#E0E0E0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* Lorsque l'utilisateur survole la croix, changez la couleur */
.close:hover {
  color: red;
}

.boite{
  border:solid red;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
}

#telecharger{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:15px;
}

#Cote{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  padding-top:10%;
  padding-left:2%;
  width:150px;
}

#Cote>button{
  box-shadow: 1px 1px white;
  width:150px;
  height:150px;
  border-radius: 50%;
  text-align: center;
  vertical-align:middle;
  margin:15px;
  align-items: center;
  background-color: #fff;
  box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
  box-sizing: border-box;
  color: #121212;
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 auto;
  font-family: Inter,sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  outline: none;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s,-webkit-box-shadow .2s;
  white-space: nowrap;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space:normal;
}

#Cote>button:hover {
  box-shadow: #F5F5F5 0 0 0 3px, transparent 0 0 0 0;
}

#article_lien{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  color:white;
}

#article{
  display: none;
  margin-left:25%;
  margin-top:-35%;
  width:50%;
  height:900px;
}

#vide{
  height: 500px;
}

/* boutonx réseaux : */

.social-buttons {
    display: flex;
}

.social-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.social-buttons a:hover {
    transform: scale(1.2);
}

.twitch-button {
    background-color: #6441A5; /* Couleur caractéristique de Twitch */
}

.youtube-button {
    background-color: #FF0000; /* Couleur caractéristique de YouTube */
}

.social-buttons img {
    width: 100%;
    height: auto;
}

.alerte-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.btn-container {
    text-align: center;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
}

#conteneur{
  display: flex;
  justify-content: center;
  gap:150px;
}

.journal-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #3498db;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.journal-button:hover {
  background-color: #2980b9;
}

/* Animation pour un effet de légère élévation au survol */
.journal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carrouselle {
  display:block;
  margin: 0 auto 0 auto;
  grid-template-columns: 1fr 1fr;
  text-align: justify;
  border: 0px;
  background-color: #FBFBFB;
  padding: 1em;
  max-width: 50%;
  border-radius: 20px;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ajustez la largeur du conteneur selon vos besoins */
  height: 100%;
  overflow: hidden;
  margin: auto; /* Centre le carrousel horizontalement */
}

.carousel-slide {
  display: none;
  float: left;
  margin: 0 auto 0 auto;
  width: 100%;
  height: 100%; /* Ajustez la hauteur en fonction de vos besoins */
}

.centrer{
  display: flex;
  margin-top:5px;
  justify-content: center;
  gap:50px;
}

.passer {
  width: 50px; /* Largeur de l'image */
  height: 50px; /* Hauteur de l'image */
  background-size: contain; /* Assure que l'image s'ajuste correctement dans le bouton */
  background-repeat: no-repeat; /* Évite la répétition de l'image */
  background-color: white;
  border: none; /* Supprimer la bordure */
  border-radius: 100%; /* Coins arrondis */
  cursor: pointer; /* Curseur pointeur au survol */
  margin: 5px; /* Marge autour du bouton */
}

#prevBtn {
  background-image: url('Ressources/Image/flecheGauche.png'); /* Chemin vers l'image gauche */
  background-size: 100%;
}

#nextBtn {
  background-image: url('Ressources/Image/flecheDroite.png'); /* Chemin vers l'image droite */
  background-size: 100%;
}

/* Style au survol */
.passer:hover {
  background-color: white;
}


/* -------------------- écran ---------------------------------- */
/* -------------------- écran ---------------------------------- */
/* -------------------- écran ---------------------------------- */

@media screen and (min-width: 1450px) {
  .carousel-slide {
    margin: 50%;
  } 
}

@media screen and (min-width: 1025px) {
  .carousel-slide {
    margin: 15%;
  } 
}


@media (max-width: 1000px) {
  .carrouselle {
    max-width: 70%;
  }
  .profil-wrapper {
    max-width: 60%;
  }
  .touchee{
    opacity: 1;
  }
  .contributor{
    gap: 20px;
    width: 150px;
  }
  .contributor img {
    width: 80px;
    height: 80px;
  }
  .Timeline-wrapper {
    padding: 1em;
    max-width: 80%;
    gap: 60px;
    padding-bottom: 40px;
  }
  footer{
    width: 100vw;
    margin: 150px auto;
    max-width: 50%;
  }
  h1 {
    font-size: 50px;
  }
}

@media (max-width: 600px) {
  .carrouselle {
    max-width: 90%;
  }
  .profil-wrapper {
    max-width: 90%;
  }
  .touchee{
    opacity: 1;
  }
  .contributor{
    gap: 20px;
    width: 150px;
  }
  .contributor img {
    width: 80px;
    height: 80px;
  }
  .Timeline-wrapper {
    padding: 1em;
    max-width: 80%;
    gap: 60px;
    padding-bottom: 40px;
  }
  footer{
    width: 100vw;
    margin: 150px auto;
    max-width: 50%;
  }
  h1 {
    font-size: 50px;
  }
  #conteneur{
    gap:50px;
  }
}


@media (max-width: 500px) {
  .carrouselle {
    max-width: 100%;
  }
  .profil-wrapper {
    max-width: 80%;
  }
  .touchee{
    opacity: 1;
  }
  .contributor{
    gap: 0px;
    width: 150px;
  }
  .contributor img {
    width: 80px;
    height: 80px;
  }
  .Timeline-wrapper {
    padding: 1em;
    max-width: 80%;
    gap: 60px;
    padding-bottom: 40px;
  }
  footer{
    width: 100vw;
    margin: 150px auto;
    max-width: 50%;
  }
  h1 {
    font-size: 45px;
  }
  #conteneur{
    gap:30px;
  }
}

@media (max-width: 400px) {
  .carrouselle {
    max-width: 120%;
  }
  .profil-wrapper {
    max-width: 80%;
  }
  .touchee{
    opacity: 1;
  }
  .contributor{
    gap: 0px;
    width: 150px;
    word-break: break-all;
  }
  .contributor img {
    width: 70px;
    height: 70px;
  }
  .Timeline-wrapper {
    padding: 1em;
    max-width: 80%;
    gap: 60px;
    padding-bottom: 40px;
  }
  footer{
    width: 100vw;
    margin: 150px auto;
    max-width: 50%;
  }
  h1 {
    font-size: 40px;
  }
  #conteneur{
    gap:50px;
  }
}

@media (max-width: 350px) {
  .carrouselle {
    max-width: 120%;
  }
  .profil-wrapper {
    max-width: 80%;
  }
  .touchee{
    opacity: 1;
  }
  .contributor{
    gap: 0px;
    width: 130px;
    word-break: break-all;
  }
  .contributor img {
    width: 60px;
    height: 60px;
  }
  .Timeline-wrapper {
    padding: 1em;
    max-width: 80%;
    gap: 60px;
    padding-bottom: 40px;
  }
  footer{
    width: 100vw;
    margin: 150px auto;
    max-width: 50%;
  }
  h1 {
    font-size: 40px;
  }
  #conteneur{
    gap:10px;
  }
}