@font-face {
  font-family: 'Digital Numbers Regular';
  src: url('font/DigitalNumbers-Regular.woff') format('woff');
}

body {
  background-color: #F3F2F2;
  margin: 0;
  font-family: 'Jost', sans-serif;
}

header {
  background-color: white;
  margin: 0;
height: 30vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo {
  max-width: 60%;
  margin: 0px 30px;
}


form {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.barre_recherche {
  background-color: #FF50A5;
  color: white;
  border: none;
  border-radius: 30px;
  height: 45px;
  width: 300px;
  padding-left: 25px;
  font-family: 'Oleo Script', cursive;
  font-size: 1.2rem;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.barre_recherche::placeholder {
  color: white;
  opacity: 0.8;
}

.barre_recherche:focus {
  background-color: #FF72B0;
  outline: none;
}

.filtre {
  background-color: #FA0487;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Jost', sans-serif;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.filtre:hover {
  background-color: #ff68b5;
}

button {
  position: absolute;
  margin-left: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

button img {
  width: 47px;
  height: 40px;
  transition: transform 0.2s ease;
}

h1 {
  font-family: 'Digital Numbers Regular', sans-serif;
  text-align: center;
  font-size: 2.7rem;
  color: #FA0487;
  margin: 50px 0 30px;
}

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  padding: 0 60px 60px;
  max-width: 1200px;
  margin: auto;
}

section {
  background-color: white;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.img {
  max-width: 100%;
  height: auto;
  border: 2px solid #FF50A5;
  border-radius: 10px;
  margin-top: 10px;
}

.btn-ajouter {
  display: block;
  margin: 30px auto 40px;
  background-color: #FF2E9E;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: 'Jost', sans-serif;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 800px; /* même largeur que le titre */
  text-align: center;
}

.btn-ajouter:hover {
  background-color: #FF61B3;
  transform: scale(1.05);
}

.aucun-resultat {
  font-size: 1.3rem;
  text-align: center;
  color: #93004f;
  margin-top: 40px;
  font-family: 'Jost', sans-serif;
}

input[type="search"]:is(:-webkit-autofill, :autofill) {
  background-color: #FF50A5;
}




