/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #111217, #18191c); /* noir nuit */
  color: #333;
  min-height: 100vh;
  padding: 20px;
}

/* Conteneur principal */
.container {
  max-width: 95%;
  max-height: 95%;
  margin: auto;
  background-color: #111217; /* noir nuit */
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Logo et titre */
.avatar {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2rem;
  color: #daa74a; /* doré */
  margin-bottom: 30px;
}

/* Sections : affichées en colonnes */
.sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* Chaque section = 1 colonne */
.section {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #f8f8f6; /* blanc cassé */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: left;
}

/* Titre de section */
.section h2 {
  font-size: 1.3rem;
  color: #daa74a; /* doré */
  margin-bottom: 15px;
  border-left: 5px solid #daa74a; /* doré */
  padding-left: 10px;
}

/* Liens */
.link {
  display: block;
  margin: 8px 0;
  padding: 10px 12px;
  background-color: #daa74a; /* doré */
  color: #18191c; /* noir nuit pour contraste */
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.link:hover {
  background-color: #18191c; /* noir nuit */
  color: #daa74a; /* doré */
  transform: translateX(5px);
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
  .sections {
    flex-direction: column;
    align-items: center;
  }

  .section {
    width: 100%;
    max-width: 90%;
  }
}
