/* Réinitialisation des styles par défaut */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #999;
}

/* En-tête */
header {
  background-color: #333;
  color: #999;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

h1 {
  margin: 0;
  font-size: 24px;
}

nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul.menu li {
  display: inline-block;
  margin-left: 20px;
}

nav ul.menu li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul.menu li a:hover {
  color: #ccc;
}

/* Section principale */
main {
  padding: 20px;
}

.hero {
  text-align: center;
  padding: 100px 0;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #555;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Annonces */
#annonces-list {
  list-style: none;
  padding: 0;
}

#annonces-list .annonce {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
}

#annonces-list .annonce h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

#annonces-list .annonce p {
  margin-bottom: 10px;
}

/* Formulaire */
form input,
form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
}

form button[type="submit"] {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button[type="submit"]:hover {
  background-color: #555;
}

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



                 /* Style pour le formulaire de dépôt d'annonce */
#deposer-annonce form {
  max-width: 400px;
  margin: 0 auto;
}

#deposer-annonce input[type="text"],
#deposer-annonce textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid red;
  border-radius: 4px;
}

#deposer-annonce button[type="submit"] {
  background-color: #4CAF50;
  color: blue;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#deposer-annonce button[type="submit"]:hover {
  background-color: #45a049;
}

#deposer-annonce input[type="text"]::placeholder,
#deposer-annonce textarea::placeholder {
  color: darkgray;
}

#deposer-annonce {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#deposer-annonce form {
  max-width: 400px;
  margin: 0 auto;
}

#deposer-annonce h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}


                      /* Style pour le formulaire d'inscription */
#inscription form {
  max-width: 400px;
  margin: 0 auto;
}

#inscription input[type="text"],
#inscription input[type="email"],
#inscription input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#inscription button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#inscription button[type="submit"]:hover {
  background-color: #45a049;
}

#inscription input[type="text"]::placeholder,
#inscription input[type="email"]::placeholder,
#inscription input[type="password"]::placeholder {
  color: #999;
}

#inscription {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#inscription form {
  max-width: 400px;
  margin: 0 auto;
}

#inscription h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

                  /* Style pour le formulaire "Nous contacter" */
#contact form {
  max-width: 400px;
  margin: 0 auto;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#contact button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#contact button[type="submit"]:hover {
  background-color: #45a049;
}

#contact input[type="text"]::placeholder,
#contact input[type="email"]::placeholder,
#contact textarea::placeholder {
  color: #999;
}

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#contact form {
  max-width: 400px;
  margin: 0 auto;
}

#contact h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

#search-form {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#search-form label {
  margin-right: 10px;
}

#search-form select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#search-form button {
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#search-form button:hover {
  background-color: #45a049;
}

nav {
  display: flex;
  justify-content: space-between;
}

#search-form {
  margin-left: auto;
}


.hero {
  transform: translateX(-100%);
  animation: slide-in 1s forwards;
}

@keyframes slide-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.bulle-1 {
  background-color: blue; 
  color: whitesmoke; 
}

.bulle-2 {
  background-color: blue; 
  color: yellow;
}

.bulle-3 {
  background-color: #0000ff; 
  color: red;
}

#hero-text span {
  font-size: 24px; 
  font-weight: bold; 
}

.footer-text {
  margin-bottom: 0; 
}

.footer-background {
  background-image: url('objet-publicitaire.jpeg');
  background-size: contain;
  background-repeat: vertical ;
  background-position: center top;
  padding-top: 200px 
}


#deposer-annonce {
  background-image: url("objet-publicitaire.jpeg");
  background-size: contain small;
  background-position: center top;
  padding-top: 170px 
}

h2 {
  color: darkslategray;
}

.h2-cloud-border {
  position: relative;
  display: inline-block;
  border: 2px solid #b2dbef;
  border-radius: 20px;
  padding: 10px;
}

.h2-glow {
  position: relative;
  display: inline-block;
  animation: glow-animation 2s infinite;
}

@keyframes glow-animation {
  0% {
    box-shadow: 0 0 10px #b2dbef;
  }
  50% {
    box-shadow: 0 0 20px #b2dbef;
  }
  100% {
    box-shadow: 0 0 10px #b2dbef;
  }
}


