.body {
  background-color: white;
}

.accueil {
  background: url('images/xerneas.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: antiquewhite;
  margin: 0;
  padding: 0;
}

.titre {
  text-align: center; 
  font-size: 36px;
  font-weight: bold;
  margin-top: 20px;
  color: #326aab; 
}

.lesCartes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.uneCarte{
    margin:3%;
    margin-top: 30px;
    background-color: rgb(221, 220, 220);
    width: 300px;
    height: 300px;
    border-radius: 63px;
    align-items: center;
}

@media (max-width: 576px) {
  .lesCartes {
    flex-direction: column; 
    align-items: center; 
  }

  .uneCarte {
    width: 80%; 
    margin-bottom: 15px; 
  }
}

.navbar {
  border: 25px solid #326aab ; 
  background-color: #e5f2ff !important; 
  padding: 10px; 
}

.navbar .nav-link {
  color: #326aab !important; 
  font-weight: bold; 
}

.navbar .nav-link:hover {
  color: #274e7b !important; 
}

.recherche {
  background: rgba(255, 255, 255, 0.5); 
  position: relative;
}

footer {
  background-color: #326aab;
  color: white;
  text-align: center; 
  padding: 10px 20px; 
  width: 100%;
  position: fixed;
  bottom: 0;
}

.bienvenue {
  position: absolute;
  top: 390px;
  left: 90px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background-color: #326aab;
  padding: 10px 20px;
  border-radius: 10px;
}

.pokemon-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; 
  margin-top: 20px;
}

.pokemon-card {
  width: 300px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  color: #333;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(221, 220, 220);
  height: auto;
  margin: 3%;
  margin-top: 30px;
}

.pokemon-title {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pokemon-info {
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

.pokemon-card images {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}

.box-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.box {
  background-color: #326aab;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 250px;
  font-size: 18px;
}

.box a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #326aab;
  color: white;
}

.pokemon-image {
  width: 100px; 
  height: 100px; 
  object-fit: cover; 
  border-radius: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-supprimer {
  background-color: #ff4d4d;
  color: white;
}

.btn-supprimer:hover {
  background-color: #cc0000;
}

.btn-modifier {
  background-color: #4caf50;
  color: white;
}

.btn-modifier:hover {
  background-color: #357a38;
}

h1 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #326aab;
  text-transform: uppercase;
  margin-top: 20px;
  padding: 10px;
  background-color: #e5f2ff;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
