* { 
  text-decoration: none;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #333;
}
/* PC */

@media screen and (min-width: 801px) {
  nav {
    display: flex;
    justify-content: space-around;
    background-color: #bfebf3;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

 #menuActif {
    background-color: #67e9ff;
    padding: 14px 20px;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }
  
  .text-nav {
    float: left;
    font-size: 16px;
    color: #9f7c9e;
    text-align: center;
    font-weight: bold;
  }

  .logo-petit {
    width: 50px;
  }

  header {
    background-color: #78e5f846;
  }

  .logo-grand {
    display: block;
    width: 15%;
    height: 15%;
    margin-left: auto;
    margin-right: auto;
  }

  p {
    text-align: justify;
    margin-right: 30%;
  }

  .jeux {
    display: flex;
    margin-top: 20px;
  }  

  .logo-jeux{
    width: 400px;
  }

  .image-personnes {
    width: 250px;
    height: auto;
  }
  
}

/* MOBILE */

@media screen and (max-width: 800px) {
  nav {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #bfebf3;
  }

  #menuActif {
    background-color: #67e9ff;
  }

  .text-nav {
    float: left;
    font-size: 15px;
    color: #9f7c9e;
    text-align: left;
    font-weight: bold;
    padding-bottom: 25px;
  }

  .logo-petit {
    width: 50px;
    align-self: flex-end;
  }

  .logo-grand {
    display: none;
  }

  hr {
    display: none;
  }

  p {
    text-align: justify;
    margin-right: 5%;
  }

  .jeux {
    margin-top: 20px;
  }

  .logo-jeux{
    width: 350px;
  }   
  
  .image-personnes {
    width: 70px;
    height: auto;
  }

}

table {
  border: 2px solid #ccc;
  margin-right: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

h1 {
  font-size: 30px;
  text-align: left;
}

a {
  color: #9f7c9e;
  font-weight: bold;
}

article a:hover {
  color: #750c2f;
}

footer a:hover {
  color: #750c2f;
}


footer {
  text-align: center;
  background-color: #bfebf3;
}

.profile {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.description-personnes {
  flex: 1;
  padding-right: 20px;
  padding-left: 20px;
}

.description-personnes p {
  font-size: 18px;
  font-weight: lighter;;
}

.lien-freepik {
  font-size: small;
  font-weight: bold;
}

/* flexbox pour les pages des jeux */

.space {
  margin-bottom: 10%;
}

.important {
  font-weight: bold;
  font-size: 12px;
}

/* Le contenu du menu est caché par défaut */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Liens dans le menu déroulant */
.dropdown-content a {
  color: #9f7c9e;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Changer de couleur au survol */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Style du bouton "Jeux" */
.text-nav {
  font-size: 16px;
  color: #9f7c9e;
  font-weight: bold;
  padding: 14px 16px;
  cursor: pointer;
}

/* Afficher le menu quand la classe .show est ajoutée */
.dropdown.show .dropdown-content {
  display: block;
}
