body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
    background-image: url('background.webp'), url('background.jpg'); /* Image WebP en première option, puis image JPEG en seconde option */
    background-size: cover; /* pour couvrir tout l'arrière-plan */
    background-repeat: no-repeat; /* pour éviter la répétition de l'image */
}

h1 {
    margin-bottom: 20px;
    color: white;
    font-weight: bolder;
}

label, i {
    color: white;
}

#imageInput {
    display: block;
    margin: 20px auto;
}

#generateButton {
    display: block;
    margin: 10px auto;
}

#previewContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.preview-image {
    margin: 10px;
}

#preview2 .preview-image {
    border: solid 1px black;
}

#logoutButton {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    cursor: pointer;
}

#timerSpan{
    font-size: small;
}

#logoutTimer {
    font-size: x-small;
}

#statusMessage{
    font-size: larger;
    font-weight: bolder;
    color: red;
}

#finalInfo{
    font-size: larger;
    color: green;
}