/* Style général */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* En-tête */
header {
  background-color: #4a90e2;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Navigation */
nav {
  background-color: #333;
  text-align: center;
  padding: 10px 0;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
#photo{
  max-width: 400px;
  display: block;
    margin-left: auto;
    margin-right: auto;
}

#btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* bleu */
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
}
#btn:hover {
  transform: scale(1.2); /* agrandit de 50% */
  background-color: #bd4988; /* bleu foncé au survol */
}

#home-logo {
  padding-top: 0px;
  width: 50px;
  height: 50px;
  border-color: red;
  border-width: 100px;
  border: 2px solid red;
  border-radius: 50px;
}


#home-btn {
  border-color: red;

  position: relative;
  top: -10px; /* monte le bouton */
}
#home-btn:hover {
  transform: scale(0.30);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}



nav a:hover {
  color: #4a90e2;
}

/* Sections */
section {
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Titres */
h1 {
  padding: 20px;
}
h2 {
  color: #4a90e2;
}

/* Pied de page */
footer {
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: white;
  margin-top: 20px;
}


.Sommaire {
  color:yellow;
  background-color: #4a90e2;
 

}
.Sommaire:hover{
  color:red;
}

#liste {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto;
    width: 80%;
}

#liste {
    display: flex;
    flex-direction: column;
    gap: 12px;              /* espace entre les liens */
    width: 80%;
    margin: 20px auto;      /* centrer la section */
}

#liste .Sommaire {
    text-decoration: none;
    font-size: 18px;
    color: #004a99;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.2s;
}

#liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    grid-template-rows: repeat(5, auto);   /* 5 lignes */
    gap: 12px 25px;                        /* espace vertical / horizontal */
    width: 80%;
    margin: 30px auto;
}

#liste .Sommaire {
    display: block;
    padding: 10px 15px;
    background: #f5f7fa;
    border-radius: 6px;
    text-decoration: none;
    color: #003366;
    font-size: 18px;
    transition: 0.2s;
}

#liste .Sommaire:hover {
    background: #dce9ff;
    color: #ff6600;
}