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

body {
	font-family: "Open Sans", Sans-Serif, sansserif, sans;
	font-size: 1rem;
	color: hsl(181, 9%, 19%);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

header {
	background-color: hsl(181, 30%, 10%);
	color: #ccc;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: .5rem 3rem;
	align-items: center;
}

header img {
	width: 100%;
	max-width: 22rem;
	height: auto;
}

header div {
	display: flex;
	flex-flow: column;
	line-height: 1.5em;
}

header div span {
	background-image: url("https://easypiecefrance.fr/img/icon-contact.svg");
	width: 2rem;
	height: 2rem;
	background-size: contain;
	margin: auto;
}

header a {
	font-weight: bold;
	color: hsl(27, 70%, 60%);
	text-decoration: none;
}

h2 {
	padding: 1rem;
	text-align: center;
}

main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	max-width: fit-content;
	margin: auto;
	padding: 1rem;
	justify-items: center;
}

main h3 {
	grid-column: span 2;
	text-align: center;
}

main table,
main div:nth-child(5),
main div:nth-child(6) {
	grid-column: span 1;
	max-width: 450px;
	width: 100%;
}

.title {
	font-weight: 600;
}

tr {
	border-radius: 0.2rem;
}

.odd {
	background-color: #f5f5f5;
}

td {
	max-width: 100%;
	padding: 0.5em 0.6em;
}

ul {
	list-style-position: inside;
	list-style-type: none;
}

main div:nth-child(5) {
	display: flex;
	flex-flow: column nowrap;
	gap: .5em;
	text-align: justify;
}

main div:nth-child(6) {
	display: flex;
	justify-content: right;
}

footer {
	position: relative;
	background-image: url("https://easypiecefrance.fr/img/Worker_Forklift.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 2em 1.5em;
}

footer div:first-child {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: hsl(181, 9%, 19%);
	opacity: 0.8;
}

footer div:nth-child(2) {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 82.5rem;
	min-height: 18.75rem;
	gap: 1rem;
	margin: auto;
	color: white;
	font-weight: 600;
}

footer h3 {
	color: hsl(27, 70%, 60%);
	font-size: 2rem;
	margin-block-start: 0;
	margin-block-end: 0;
}

footer a {
	box-sizing: content-box;
	background-color: hsl(27, 70%, 60%);
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 700;
	text-align: center;
	border-radius: 2rem;
	padding: 0.75em 1.5em;
	max-width: 10rem;
	color: inherit;
	text-decoration: inherit;
}

@media (max-width: 900px) {
	main {
		grid-template-columns: 1fr;
	}

	main h3 {
		grid-column: span 1;
	}
	
	main div:nth-child(6) {
		justify-content: left;
	}
}