/*  style du projet */

		body {
            font-family: Arial, sans-serif;
            /* Permalink - use to edit and share this gradient. Permalien - à utiliser pour éditer et partager ce gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
            background: linear-gradient(135deg,  #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            background-repeat: no-repeat;
            margin: 20px auto;
            padding: 0;
            width: 100vh;
            min-height: 100vh;
            height: auto;
        }

        /* CSS pour la mise en page */
		header a.logo > img {
			border-radius: 50px;
            width: 641px;
		}
        div.infoprod {
            width: 100%;
        }
		div.infopro a > img {
			border-radius: 10px;
		}
        div.container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin: 20px auto;
        }
        div.form-container, div.image_container {
            width: 100%;
        }
        div.image_container {
            margin-left: 40px;
        }
        div.form-container {
            flex-grow: 1;
            margin-right: 20px;
            /* Espace entre le formulaire et la division de prévisualisation */
        }
        div.image_container > img.image_preview {
            float: right;
            clear: both;
            width: 512px;
            height: auto;
            margin-left: 50px;
            margin-top: 10px;
        }
        form {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 450px;
        }
        div.upscalimg > p {
            font-size: 18px;
            color: #333;
        }
        div.upscalimg > p strong.infoIMP {
            color: purple;
            font-size: 25px;
        }
        input[type="text"],
        input[type="file"],
        textarea {
            width: calc(100% - 24px);
            padding: 8px;
            margin: 6px 0;
            border: 1px solid #ccc;
            border-radius: 4px;

            display: block;
            padding: .375rem .75rem;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #212529;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: .25rem;
            transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        }
        input[type="submit"] {
            background-color: #8a2be2;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="reset"] {
            background-color: green;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #6a1c9a;
        }

        input[type="reset"]:hover {
            background-color: grey;
        }
        select {
            display: block;
            width: 100%;
            padding: .375rem 2.25rem .375rem .75rem;
            -moz-padding-start: calc(0.75rem - 3px);
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #212529;
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right .75rem center;
            background-size: 16px 12px;
            border: 1px solid #ced4da;
            border-radius: .25rem;
            transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        a {
            text-decoration: none;
            color: #333;
            margin-right: 10px;
        }

        a:hover {
            color: #8a2be2;
        }

        div.infoperso {
            margin-top: 20px;
            margin-bottom: 35px;
        }

        div.infopro, div.infopro a {
            margin-top: 20px;
            margin-bottom: 50px;
            max-width: 100%;
            /* La bannière ne prendra pas plus de 50% de la largeur de l'écran */
            flex-grow: 1;
            /* La bannière peut prendre autant d'espace que possible tout en respectant la limite de 50% */
           /* margin-right: 20px;*/
            /* Espace entre le formulaire et la bannière */
        }

        div.infopro a >img {
            max-width: 100%;
            /* Pour s'assurer que l'image reste dans la largeur de la division */
            height: auto;
            /* Pour conserver le ratio d'aspect de l'image */
        }

        div.upscalimg,
        div.genimg {
            display: none;
        }

        div.upscalimg,
        div.genimg,
        select.choix {
            width: 100%;
        }

        select.choix {
            margin: 14px 0;
        }

        .obl {
            color: red;
        }
		nav {
			border-bottom: 1px solid black;
        }
		.crumbs ol {
			list-style-type: none;
			padding-left: 0;
        }

        .crumb {
			display: inline-block;
        }

        .crumb a::after {
            display: inline-block;
            color: #000;
            content: '>';
            font-size: 80%;
            font-weight: bold;
            padding: 0 3px;
        }
		@media (max-width: 768px) {
            header a.logo {
                width: 100%; /* Vous pouvez ajuster la largeur si nécessaire */
                height: auto; /* Ajustez la hauteur si nécessaire */
                /* Vous pouvez également ajuster la taille de l'arrière-plan si nécessaire */
                background-size: contain; /* Utilisez contain pour s'assurer que l'image est entièrement visible */
            }
        }