*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin-top: 150px;
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 10px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 0.5s;
    background-color: black;
}

.logo {
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none;
}

.logo span {
    color: #dc8fd3;
}

header .navbar {
    display: flex;
    position: relative;
}

header .navbar li {
    list-style: none;
}

header .navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
}

header .navbar li a:hover {
    color: #dc8fd3;
    border-bottom: 2px solid #b377ac;
}

#searchForm {
    width: 90%;
    margin-left: 60px;
}

h2 {
    font-size: 30px;
    color: #000000;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
}

.titre-texte {
    text-align: center;
}

.titre-texte span {
    color: #dc8fd3;
}

p {
    text-align: center;
    color: #000000;
    font-size: 18px;
    padding-top: 20px;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

form label {
    margin-right: 10px;
}

form select, form input[type="submit"] {
    padding: 10px;
    margin-right: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: #dc8fd3;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.programme {
    width: 350px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background-color: #fff;
}

.programme:hover {
    transform: scale(1.05);
}

.programme img {
    width: 100%;
    border-radius: 5px;
}

.texte {
    text-align: center;
    padding-top: 10px;
    font-weight: 300;
    color: #111;
}

.titre {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.quote {
    font-size: 16px;
    color: #000000;
    margin: 10px 0;
}

.prix {
    font-size: 18px;
    color:#dc8fd3;
    font-weight: bold;
}

.discover {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #dc8fd3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.discover:hover {
    background-color: #b377ac;
}


/* CSS pour les résultats obtenus */
.container .programme {
    width: 350px;
    margin: 20px;
    padding: 20px;
    border: 20px solid #000000;
    box-shadow: 20px 15px 35px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s;
    background-color: #fff;
    border-radius: 20px;
}

.container .programme:hover {
    transform: translateY(-10px);
}

.container .programme .texte {
    text-align: center;
    font-weight: 300;
    color: #111;
}

.container .programme .imbox {
    position: relative;
    width: 100%;
    height: 300px;
}

h2.white {
    color: #fff;
}

p.white {
    color: #ddd;
}

.container .programme .imbox img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Styles pour les annonces */
.annonce {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.annonce-id {
    font-weight: bold;
}

.annonce-nom {
    color: blue;
}

.annonce-prix {
    color: green;
}

/* Style pour aucun résultat */
#annonces {
    margin-top: 20px;
}

/* Footer Styles */
p.copy {
    color: #fff;
}

.form-block {
    margin-bottom: 20px;
}

.white {
    color: #fff;
}

.form-block {
    margin-bottom: 20px;
}

.footer-section h2.white {
    color: #fff;
}
