@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

.input_add {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.input_add form {
    display: flex;
    flex-direction: column;
    width: 350px;
    background-color: #afafaf;
    padding: 20px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
    border-radius: 6px;
}

.input_add form input[type="text"] {
    border: 2px solid rgba(0, 0, 0, 1);
    border-radius: 6px;
    outline: 0;
    padding: 5px;
    margin-bottom: 10px;
}

textarea {
    border: 2px solid rgba(0, 0, 0, 1);
    border-radius: 6px;
    outline: 0;
    padding: 5px;
    margin-bottom: 10px;
    resize: none;
}

.input_add form input[type="file"] {
    margin-bottom: 15px;
}

.btn-liste-prod,
.input_add form input[type="submit"] {
    padding: 5px 8px;
    border: 0;
    outline: 0;
    color: rgb(0, 0, 0);
    border-radius: 6px;
    font-size: 14px;
}

.btn-liste-prod,
.input_add form input[type="submit"]:hover {
    padding: 5px 8px;
    border: 0;
    outline: 0;
    color: rgb(0, 30, 255);
    border-radius: 6px;
    font-size: 14px;
}

.btn-liste-prod {
    text-decoration: 0;
    background-color: #ccc;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-top: 10px;
}


/*Page resultats.html*/

.result {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-content {
    background-color: rgb(255, 255, 255);
    width: 60%;
    height: 60%;
    border: 6px;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}

.result-content a {
    text-decoration: 0;
}

.result-content a:hover {
    text-decoration: underline;
}


/**Scroll bar css*/

::-webkit-scrollbar {
    width: 8px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.result-content h3 {
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
}

.liste-images {
    max-height: 400px;
    overflow: auto;
}

.images {
    margin: 20px 0;
    height: 100px;
    display: flex;
}

.images2 {
    margin: 20px 0;
    height: 100px;
    display: flex;
}

.images .image-prod {
    height: 100%;
    width: 100%;
}

.images .image-prod img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.images .text {
    margin-left: 15px;
    overflow: hidden;
    width: 80%;
}

.images2 .text2 {
    margin-left: 15px;
    overflow: hidden;
    width: 80%;
}

.text2 {
    padding: 10px;
}

.images .text .titre {
    text-transform: uppercase;
}

.images .text .description {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
}


/*responsive*/

@media (max-width:745px) {
    .result-content {
        width: 80%;
    }
}