/* Style général */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #1e293b;
  margin: 0;
  padding: 0;
}

/* En-tête */
header {
  background-color: #0f172a;
  color: white;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header h1 {
  margin: 0;
  font-size: 2em;
}

/* Contenu principal */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Section avec bulles */
.bubble-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  min-height: 700px;
}

.container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
}

/* Avatar au centre */
.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.avatar img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #0f172a;
}

.avatar p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1rem;
}

/* Bulles */
.bubble {
  position: absolute;
  width: 160px;
  min-height: 100px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  transition: transform 0.3s;
}

.bubble span {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  color: #555;
}

/* Position des bulles */
.top         { top: 0; left: 50%; transform: translate(-50%, 0); }
.top-right   { top: 15%; left: 80%; transform: translate(-50%, -50%); }
.right       { top: 50%; left: 100%; transform: translate(-100%, -50%); }
.bottom-right{ bottom: 15%; left: 80%; transform: translate(-50%, 50%); }
.bottom      { bottom: 0; left: 50%; transform: translate(-50%, 0); }
.bottom-left { bottom: 15%; left: 20%; transform: translate(-50%, 50%); }
.left        { top: 50%; left: 0; transform: translate(0, -50%); }
.top-left    { top: 15%; left: 20%; transform: translate(-50%, -50%); }

  /* Menu burger */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1001;
}

/* Menu latéral */
#side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #0f172a;
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

#side-menu ul {
  list-style: none;
  padding: 0;
}

#side-menu ul li {
  padding: 15px 25px;
  border-bottom: 1px solid #1e293b;
}

#side-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

#side-menu ul li a:hover {
  text-decoration: underline;
}

footer {
  background-color: #0f172a;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #94a3b8;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}