/* Font */
@font-face {
	font-family: "Salmon";
	src: url('./Salmon-Season.otf');
}




body {
	font-family: "Salmon", sans-serif;
	margin: 0 auto;
	padding: 0;
	color: #1a1a1a;
	font-size: 23px;
	
}

a {
	text-decoration: none; 
	cursor: help; 
	color: #1a1a1a;
}

li {
	list-style-type: none;
}

h1, h2, h3, h4 {
	font-weight: 500;
	margin: 0;
	padding: 0;
}
h1, h2 {
	text-transform: uppercase;
	font-size: 25px;
}
h1 {
	text-align: center;
}
h3 {
	margin: 40px 0;
}



/* Compte à rebours */
.promo, 
footer {
	background: #1a1a1a;
	color: #fff;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.promo {
	position: sticky;
	top: 0;
	z-index: 10;
	background-image: url("../imgs/soldiers3.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom;
}
#box-rebours {
	display: flex;
}
#minute, 
#seconde { 
	padding: 0 10px;
	color: rgb(208, 255, 0);
	font-weight: 700;
	text-shadow: 5px 20px 1px rgba(168, 206, 0, 0.3);
}



/* mise en forme div header + article */
.mise-en-forme {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 50px 30px;
	margin-left: 0;
}



header {
	width: 40%;
	height: 100vh;
	padding: 20px;
	position: sticky;
	top: 80px;
	background: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0.0)),
	url('../imgs/fruit.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
	color: #ea7e02;
}
header nav li {
	margin: 50px 0;
	font-weight: 600;
}
header nav li a {
	background-image: linear-gradient(to right, #1a1a1a 50%, #b4ea02 50%); /* Define color stops */
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-size: 200% 100%; /* Double the width of the gradient */
	transition: background-position 1s ease;
	text-transform: uppercase;
}
header nav li a:hover {
	background-position: -100% 0;
}



footer {
	color: rgb(208, 255, 0);
}
footer a:not(nav a) {
	color: rgb(208, 255, 0);
}
footer a {
	color: #ea7e02;
}
footer nav ul {
	display: flex;
	flex-wrap: wrap;
	text-transform: uppercase;
}
footer nav ul li {
	margin: 5px 20px;
}




article {
	width: 50%;
	padding: 20px;
	background: linear-gradient(rgb(208, 255, 0), rgba(255,255,255,0.0));
}



form {
	width: 80%;
	margin: 0 auto;
}

form div {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	margin: 30px auto;
}
#epees {
	flex-flow: column wrap;
	align-items: flex-start;
}
#epees label {
	display: inline-block;
}
#epees p:first-child label {
	width: 292px;
}

form label {
	width: 200px;
}

.prix {
	margin-left: 10px;
	color: grey;
}
.donnee {
	margin-top: -6px;
	padding: 5px;
	text-align: left;
	color: grey;
}
.somme_chaque_produit {
	width: 80px;
	margin-top: 5px;
	margin-left: 15px;
	color: grey;
}

form div:last-child {
	margin: 60px 0;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
form div:last-child label {
	width: 100px;
}
form div:last-child span {
	margin-right: 50px;
}

.bouton_reset, 
.bouton_envoi {
	width: 70px;
	height: 35px;
	text-align: center;
	text-transform: uppercase;
	background: #ea7e02;
	border-radius: 100px;
	border: 2px solid #8f4c00;
	font-weight: 600;
}
.bouton_reset:hover {
	box-shadow: inset 0 0 5px #492700;
}

.green {
	color: #1ac400; 
}
.red {
	color: #db0000; 
}




.contenu_bloc_avis {
	margin-top: 100px;
}

.div_avis {
	display: flex; 
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}
textarea {
	width: 50%;
	margin-top: -10px;
	margin-right: 50px;
	padding: 10px;
	color: grey; 
	font-style: italic; 
}
.bouton_envoi {
	width: 90px;
	background-color: #d0ff00;
	border: 2px solid #99bb00;
}
.bouton_envoi:hover {
	box-shadow: inset 0 0 5px #495900;
}





















/* Mise en page grands écrans */
@media screen and (min-width: 2000px) {
	body {
		width: 1900px;
	}
}



/* Mise en page petits écrans */
@media screen and (max-width: 950px) {
	.mise-en-forme {
		display: flex;
		flex-direction: column;
		margin: 0;
	}
	
	.promo {
		justify-content: flex-end;
	}
	
	header {
		width: 100%;
		height: 40vh;
		position: relative;
		top: 0;
		padding: 0;
	}
	
	article {
		width: 100%;
		padding: 0;
	}
	
	h1,
	h2,
	h3,
	footer,
	.reponse_a_avis {
		padding: 20px;
	}
	
	
	
}