/* 🌐 Global */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #f5f7fa, #e4f0ff);
  margin: 0;
  padding: 0;
  color: #333;
}

/* 🔝 Navigation */
nav {
  background: white;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbutton {
  background: #0077ff;
  color: white;
  font-weight: 600;
  border: none;
  margin: 5px;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}
.navbutton a {
  text-decoration: none;
  color: white;
}
.navbutton:hover {
  background: #005fcc;
  transform: translateY(-2px);
}

/* 🖼️ Présentation */
#droite {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  margin: 20px auto;
  max-width: 1000px;
  text-align: justify;
}
#identité {
  float: left;
  margin: 15px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #0077ff;
  object-fit: cover;
}
#span2 {
  color: #0077ff;
  font-weight: bold;
  font-size: 1.1rem;
}

/* 📝 Titres */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0077ff;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h6 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* 📦 Cartes de cours */
.card {
  margin: 15px;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
  vertical-align: top;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.card-img-top {
  max-height: 160px;
  object-fit: contain;
  background: #f9f9f9;
}
.card-body {
  text-align: center;
  padding: 15px;
}
.card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0077ff;
}
.card-text {
  font-size: 0.95rem;
  color: #555;
}
.card .btn {
  background: #0077ff;
  border: none;
  border-radius: 25px;
  padding: 8px 16px;
  font-weight: 600;
  transition: 0.3s;
}
.card .btn:hover {
  background: #005fcc;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  #identité {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
  #droite {
    text-align: center;
  }
  .card {
    width: 90% !important;
    margin: 10px auto;
    display: block;
  }
}
#premier{
    color:black;background-color: aliceblue;
    text-align: center;
}
