.fraktur-font {
    font-family: 'UnifrakturMaguntia', cursive;
}
body {
	font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
	padding-bottom: 60px;
	background-color: white;
}
@media screen and (max-width: 1024px) {
	body {
		font-size: 14px;
		}
}
@media screen and (max-width: 768px) {
	body {
	font-size: 12px;
	background-color: lightgray;
	padding-bottom: 50px;
	}
}
@media (max-width: 600px) {
    .zone-jaune {
        display: flex;
        flex-direction: column; /* empile les boutons */
        align-items: center;
    }

    .button {
        max-width: 90%; /* marge autour sur mobile */
    }
}
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background-color: #333;
	color: white;
	text-align: center;
	line-height: 50px;
	z-index: 1000;
}
.spaced-paragraph  {
	margin: 20px auto;
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}
.spaced-paragraph2  {
	margin: 20px auto;
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
	text-align: left;
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    margin: auto;
	max-width: 100vw;
	overflow-x: hidden;
	display: grid;
}
.zone {
    border: 2px solid black;
    padding: 10px;
    text-align: left;
	border-radius: 10px;
}
.zone-reset { background-color: white; grid-column: 1 / 3; grid-row: 1; }
.zone-blanche-gauche { background-color: white;  grid-column: 1; grid-row: 2; }
.zone-blanche-droite { background-color: white; grid-column: 2; grid-row: 2; }
.zone-jaune { background-color: white; grid-column: 1 / 3; grid-row: 3; }
.zone-rouge { background-color: white; grid-column: 1 / 3; grid-row: 4; }
.zone-couture { background-color: white; grid-column: 1 / 3; grid-row: 5; }
.zone-verte { background-color: white; grid-column: 1 / 3; grid-row: 6; }
.zone-devis { background-color: white; grid-column: 1 / 3; grid-row: 7; }
.zone-jaune { 
	display: flex;
	align-items:center;
	gap: 10px;
}
.zone-jaune label {
	white-space: nowrap;
}
.button {
    padding: 10px;
	background-color: #444;
    color: white;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}
.button.active { background-color: #4d4d4d; color: white; }
.button-img {
	padding: 10px;
	background-color: #444;
    color: white;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
	width: 100%;
    max-width: 400px;
}
.button img {
    width: 100%;
    height: auto;
    display: block;
}
.button-img.active { background-color: #4d4d4d; color: white; }
.color-picker {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
	flex-direction: column;
}
.reset-button {
    padding: 8px 12px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.devis-button {
    padding: 8px 12px;
	background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.dropdown {
	border: 1px solid black;
	border-radius: 4px;
	padding: 5px;
}
		
.int-button {
	background-color: #e8e8e8;
	color: black;
}

.int-button:hover {
	background-color: #4d4d4d;
	transform: scale(1.1);
}

.custom-dropdown {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: white;
	color: #333;
	font-size: 12px;
	padding: 10px 15px;
	border: 2px solid #ffffff; 
	border-radius: 8px;
	cursor: pointer;
	width: 100%; 
	outline: none; 
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); 
	transition: all 0.3s ease; 
}

.custom-dropdown:hover {
	border-color: black; 
}

.custom-dropdown:focus {
    box-shadow: 0px 0px 10px rgba(52, 152, 219, 0.5);
}

.custom-dropdown::after {
	content: "▼";
	font-size: 12px;
	color: black;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.custom-dropdown option {
	padding: 10px;
	background: white;
	color: #333;
}
.lang-switch button {
    cursor: pointer;
    transition: 0.3s;
}
.lang-switch button.active {
    background-color: #333;
    color: white;
}