* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#container {
    width: 70%;
    height: 70%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 30px #00000080;
    position: relative;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transform: scale(1.3);
    filter: grayscale(1);
    transition: 400ms ease;
}

#container:hover > .image {
    filter: grayscale(0);
    transform: scale(1);
}

#search-form {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
}

#search-form input {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#search-form button {
    padding: 8px;
    border-radius: 4px;
    border: none;
    background-color: #007bff;
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Noir transparent */
            backdrop-filter: blur(10px); /* Flou appliqué à l'arrière-plan */
            /* Alternative pour les navigateurs qui ne supportent pas backdrop-filter */
            filter: blur(0px);
            cursor: pointer;
            transition: background-color 0.3s ease;
}

#search-form button:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Noir transparent */
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: Arial, sans-serif; /* Ajout de la police Arial */
    display: none; /* Caché par défaut */
}
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #d3f7ff, #bb74ff, #7c7dff, #a0f8ff);
    background-size: 400% 400%;
    animation: gradientAnimation 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    font-family: Arial, sans-serif;
    display: none; /* Caché par défaut */
}

/* Animation de dégradé */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Style pour le pied de page */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000; /* Couleur de fond du pied de page */
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
}

