h1,
h3 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

#lorem {
    text-align: center;
    font-size: large;
    margin-left: 10%;
    margin-right: 10%;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    
    margin-bottom: 20px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}


.btnAccueil {
    display: block;
    margin: auto;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

select {
    display: block;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;

}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

.btnAccueil:hover {
    background-color: #555;
}

#videoElement {
    max-width: 100%;
    max-height: 400px;
}

#photoContainer,
#imageContainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

#fileInput,
#fileLabel,
#takePhotoButton,
#videoElement,
#fileLabel,
#photoContainer,
#addImage,
#displayImages,
#imageContainer,
#photoPreview,
#captureButton {
    display: block;
    margin-bottom: 20px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

#photoContainer img,
#imageContainer img {
    width: 100%;
    max-height: 100%;
    margin: 10px;
}

#fileInput,
#takePhotoButton,
#addImage,
#displayImages,
#captureButton {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #007BFF;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

#fileInput:hover,
#takePhotoButton:hover,
#addImage:hover,
#displayImages:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#fileInput:focus,
#takePhotoButton:focus,
#addImage:focus,
#displayImages:focus {
    outline: none;
    box-shadow: 0 0 5px #007BFF;
}

#fileInput {
    display: none;
}

#fileLabel {
    text-align: center;
    line-height: 50px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

#captureButton {
    display: none;
}

#videoElement {
    display: none;
}

