/* CSS */
/* (Version) By sync - (site ver:9.0.0) tableau_converteur */

body {
	font-family: Arial, sans-serif;
	background-image: url('clock.jpg'); /* remplace par le bon chemin */
	background-size: cover; /* ajuste l'image à toute la taille de l'écran */
	background-position: center; /* centre l'image */
	background-repeat: no-repeat; /* évite la répétition de l'image */
	text-align: center;
	margin: 2px auto;
}

html, body {
	height: 100%;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
@media (max-width: 500px) {
	table, .tableau1, .tableau2 { width: 100%; min-width: unset;}
	#button, button, #input { font-size: 12px; width: auto;}
}

.titre{ font-family: "New century Schoolbook", "TeX Gyre Schola", serif; font-weight: bold; font-size: 24px; color: #fff; text-align: center; padding-top: 2px; text-shadow: 0px 2px 6px #003388;}
table {
	margin: 5px auto;
	border-collapse: collapse;
	width: 50%;
}

.tableau1 {
	margin-bottom: 4px;
	border-collapse: collapse;
	text-align: center;
	font-family: sans-serif;
}

.tableau2 {
	margin-bottom: 4px;
	border-collapse: collapse;
	text-align: center;
	font-family: sans-serif;
	background: linear-gradient(to right, #FFCCFF, #336666, #003388);
	font-family: sans-serif;
	/* border: 2px solid #aaa; */
}

.tableau2 {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 9px; /* arrondi léger */
	overflow: hidden; /* très important */
}
/* Uniquement pour ios */
@supports (-webkit-touch-callout: none) {
	/* Fix largeur tables sur iOS */
	table { table-layout: fixed; width: 90%;}
	.tableau1, .tableau2 { width: 90%; margin-left: auto; margin-right: auto;}
	/* iOS ignore mal min-width sur table → on neutralise */
	.tableau2 { min-width: unset !important;}
}

th, td {
	border: 2px solid #aaa;
	padding: 3px 5px;
	font-size: 11px;
	min-width: 25px;
	text-align: center; /* Centrer le texte */
	vertical-align: middle;
}
caption {
	caption-side: top;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 25px;
}
input { background-color: #99CC66;}
#input { font-size: 10px; width: 100px; border-radius: 55px; /* CSS3 */ -moz-border-radius: 55px; /* pour Mozilla */ -khtml-border-radius: 55px; /* pour Safari et Chrome */ -webkit-border-radius: 55px; /* pour Safari sur Mac */}
button {
	padding: 8px 15px;
	margin: 15px;
	font-size: 14px;
	cursor: pointer;
	background-color: #99CC66;
}
#button {
	padding: 8px 15px;
	margin: 13px;
	font-size: 11px;
	cursor: pointer;
	background-color: #99CC66;
}
/* Couleurs pour minutes et centièmes */
.minute { background-color: #D1E8FF;}
.centieme { background-color: #FFF3CD;}
#result { font-weight: bold; background-color: #99CC66; width: 45%; margin: 0 auto; /* centre le bloc */ text-align: center;
	border-spacing: 0;
	border-radius: 9px; /* arrondi léger */
	overflow: hidden; /* très important */ /* centre le texte */
}

/* FIX MOBILE GLOBAL – AJOUT */
html, body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

table {
	table-layout: fixed;
}

input, button {
	max-width: 100%;
	box-sizing: border-box;
	touch-action: manipulation;
}
@media (max-width: 768px) {
	.tableau2 {
		width: 90% !important;
		min-width: unset !important;
	}
}

/* FIN CSS */







