/* Reset des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100vh;
}
/* Style du corps de la page */
body {
  
    height: 100%; /* Assurez-vous que le html et le body occupent 100% de la hauteur */
    font-family: Arial, sans-serif;
    background-image: url('/images/christmas.jpg');
    background-size: cover;
    background-repeat: no-repeat; /* Pour éviter la répétition */
    background-position: center; /* Centrer l'image */
    padding: 20px;

}

h1,h2{
    text-align: center;
    margin-bottom: 20px;
    color: white;
    margin: 0 0 20px 50%;
}
p{
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    color: black;
    margin: auto;
    font-size:24px;
}

.container {
    display: flex;
    background: none;
    margin: 0 0 20px 50%;
}
.container-resultat{
    border-radius: 20px;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: white;
    text-align: center;
    margin: 0 0 0 50%;
}

.img {
    width: 500px;
    height: 500px;
}

/* Style du formulaire */
form {
    max-width: 400px;
    margin: 0 auto;
    background: none;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style des étiquettes */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Style des champs de saisie */
input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style du bouton */
input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Style du bouton au survol */
input[type="submit"]:hover {
    background-color: #45a049;
}

/* Style de la liste des résultats */
ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

/* Style des éléments de la liste des résultats */
li {
    margin-bottom: 10px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 800px){
    .container-resultat{
        border-radius: 20px;
       
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: white;
        text-align: center;
       margin: auto;
         margin-top: 20px;
    }
    .container {
        display: flex;
        background: none;
      margin: auto;
    }
    h1,h2{
        text-align: center;
       
        color: white;
        margin: auto;
         margin-bottom: 20px;
    }
}