@charset "utf-8";

@font-face {
    font-family: 'futura';
    src: url('fonts/Futura-Std-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/*Document CSS*/

*,
*::before,
*::after {
  box-sizing: border-box;
}


:root {
	--select-border: #777;
	--select-focus: blue;
	--select-arrow: var(--select-border);
  }

html, 
html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	background: #FFFFFF;
	
}

/*CHAPEAU*/
.chapeau {
	margin-top: 50px;
	display:flex;
	flex-direction:column;
	align-items:center;
}

h1{
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 40;
	width:250px;
	text-align: center;
	border-bottom: 1px solid; 
	color: rgb(107, 117, 111);
	
}

.soustitre{
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 30;
	width:250px;
	text-align: center;
	color: rgb(107, 117, 111);
	margin-bottom: 40px;
}

.intro{
	background-color: rgb(255, 239, 185);
	font-family: 'futura';
	color: rgb(172, 144, 51);
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	width:95%;
	max-width: 550px;
	margin-bottom: 10px;
	
}

.erreurs{
	background-color: rgb(238, 84, 84);
	width: 550px;
	margin-left: auto;
    margin-right: auto;
	font-family: 'futura';
	color: rgb(109, 25, 25);
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 10px;
	
}

/*CARTE*/
.carte {
	margin:auto;
	display:flex;
	flex-direction:column;
	align-items:center;
	padding: 5px;
}

.categorie_produit {
	width:100%;
	max-width:740px;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-items:center;
	border:1px solid rgba(200,200,200,1.00);
	padding: 10px 0px;
	margin: 20px 0px;
	border-radius: 10px;
}

h2{
	font-family: 'Crimson Text', serif;
	font-size: 30;
	width:100%;
	max-width:300px;
	text-align: center; 
	color: rgb(72, 139, 98);
	padding-bottom: 10px;
}

.fiche_produit {
	background-color: aqua;
	/*background: rgba(256,256,256,1.00);*/
	border-bottom: 1px solid rgba(200,200,200,1.00);
	font-family: 'futura';
	color: rgb(62, 68, 64);
	display:flex;
	flex-direction:row;
	justify-content:space-evenly;
	align-items:left;
	height: 130px;
	max-width:700px; 
	padding:5px;
}

.visuel_produit {
	background: rgba(150,150,150,1.00);
	width:70px;
	height:70px;
}

.informations_produit {
	background-color: blue;
	width:60%;
	font-size: 15;
	display:flex;
	flex-direction:column;
	justify-content:left;
	padding: 0px 5px 0px 10px;
	
}

h3{	
	background-color: darkgoldenrod;
	font-family: 'futura';
	font-size: 15;
}

#descriptif_produit{
	background-color: chartreuse;
	font-size: 14;
	height:45%;
	overflow: hidden;
  	text-overflow: ellipsis;
}

/*----FORMULAIRES----*/
/*RENSEIGNEMENTS*/
.form_renseignements{
	border:1px solid rgba(200,200,200,1.00);
	padding: 10px 0px;
	border-radius: 10px;
	display:flex;
	flex-direction:column;
	padding: 20px;
	margin-bottom: 20px;
	font-family: 'futura';
	font-size:17;
	width:400px;
}

.renseignements{
	margin-bottom:10px;
	display:flex;
	justify-content: space-between;
	align-items: center;
}

#rens_top{
	padding-top: 10px;
	border-top: 1px solid rgb(43, 43, 43);
}

input[type=text] , .rens {
	font-size: 15;
	width: 250px;
	height: 30px;
	border-style: solid;
	
	font-family: 'futura';
	color: rgb(62, 68, 64);
	text-decoration: none;
	text-align: left;
	margin: 2px;
	padding-bottom: 2px;
  }

/*QUANTITES PANIER*/
.quantite_produit {
	width:20%;
	font-family: 'futura';
}

input[type=button] , #qte {
	background-color:  rgb(194, 206, 198);
	font-size: 20;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 30px;
	color: white;
	text-decoration: none;
	text-align: center;
	margin: 2px;
	padding-bottom: 2px;
	font-family: 'futura';
  }

  input[type=number] , #qte {
	font-size: 20;
	width: 30px;
	height: 30px;
	border: none;
	font-family: 'futura';
	color: rgb(62, 68, 64);
	text-decoration: none;
	text-align: center;
	margin: 2px;
	padding-bottom: 2px;
  }

/*VALIDATIONS*/
.validation {
	display:flex;
	flex-direction:column;
	align-items:center;
}

a {
	text-decoration: none;
}

a:visited {
	color: rgb(62, 68, 64);
}

.lot_nav {
	display:flex;
	align-items:center;
}

input[type=button] , .nav {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	height: 30px;
	width: 100px;
	font-family: 'futura';
	font-size: 17;
	background-color: rgb(140, 187, 174);
	color: rgb(62, 68, 64);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	margin-bottom:20px;
	margin-left:20px;
	margin-right:20px;
  }

  input[type=button] , #secondaire {
	font-size: 15;
	height: 30px;
	width: 70px;
	margin-top:20px;
	margin-bottom:0px;
  }

/*MENU DEROULANT*/
select {
	appearance: none;
	background-color: transparent;
	border: none;
	padding: 0 1em 0 0;
	margin: 0;
	width: 100%;
	font-family: 'futura';
	font-size: inherit;
	cursor: inherit;
	line-height: inherit;background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;

}

  select::-ms-expand {
	display: none;
  }

  .select {
	display: grid;
	width:200px;
	border: 1px solid var(--select-border);
	border-radius: 0.25em;
	padding: 0.25em 0.5em;
	margin-bottom: 20px;
	
	font-size: 15;
	cursor: pointer;
	line-height: 1.1;
	background-color: #fff;
	background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
	display: grid;
	grid-template-areas: "select";
	align-items: center;
}

.select::after {
	content: "";
	width: 0.8em;
	height: 0.5em;
	background-color: var(--select-arrow);
	clip-path: polygon(100% 0%, 0 0%, 50% 100%);
	justify-self: end;
  }

select,
.select:after {
  	grid-area: select;
}

/*RECAPS*/
.recap{
	border:1px solid rgba(200,200,200,1.00);
	padding: 10px 0px;
	border-radius: 10px;
	display:flex;
	flex-direction:column;
	padding: 20px;
	margin-bottom: 20px;
	font-family: 'futura';
	font-size:17;
	width:400px;
}

.rec_info{
	margin-bottom: 5px;
}

.recap_produit{
	display:flex;
}

.rec{
	padding: 0px 2px 5px 5px;
	border-right:  1px solid rgb(146, 146, 146);
}


#rec_top{
	padding-top: 20px;
	border-top: 1px solid rgb(43, 43, 43);
}

#rec_quantite_produit{
	width:40px;
}

#rec_nom_produit{
	width:280px;
}

#rec_prix_produit{
	width:80px;
}

#rec_total{
	margin-top:10px;
	width:322px;
	text-align: right;
	padding-right: 5px;
}

#rec_prix_total{
	margin-top:10px;
	width:80px;
}

