header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 8em;

	a {
		text-decoration: none;
		color: black;
	}

	img {
		width: 7em;
		height: 7em;
		margin-left: 5em;
		margin-top: 1em;
	}

	.links {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		width: 50%;
		margin-top: 3em;
	}

	p , label {
		text-align: center;
		color: black;
		font-family: 'Poppins';
		font-size: 1.3em;
		font-weight: 400;
		padding: 0.5em;
		margin: 0;
		cursor: pointer;
	}

	.aSites {
		width: 7.1em;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: start;
	}

	.under {
		height: 0.15em;
		background: #9F3367;
		width: 0;
		transition: width 0.5s ease;
	}

	.page + .under {
		width: 100%;
	}

	p:hover + .under , label:hover + .under {
		width: 100%;
	}

	ul {
		display: none;
		position: relative;
		right: 50%;
	}

	li {
		font-family: 'Poppins';
		font-size: 1.5em;
		list-style-type: none;
		text-align: center;
		padding: 0.3em;
		background-color: white;
		transition: color 350ms ease, background-color 350ms ease;
		border: 0.01em rgb(200,200,200) solid;
	}

	.sites:checked ~ .aSites {
		ul {
			display: block;
			z-index: 10;
		}
	}

	li:hover  {
		color: white;
		background-color: #9F3367;
		span {
			color: white;
		}
	}

	.nuit {
		background: none;
		border: none;
		width: 2em;
		font-size: 2em;
		padding-bottom: 2em;
		color: yellow;
	}
}

html {
	font-size: clamp(0.5em, 0.5vw + 0.5em , 1vw + 0.5em);
}

body {
	margin: 0;
	p {
		text-align: justify;
	}
}

main {
	h1 {
		font-family: 'Poppins';
		color: #9F3367;
		font-size: 2em;
		font-weight: 600;
		display: inline-block;
		padding: 0 2em 1em 2em;
		border-bottom: 3px solid #9F3367;
		margin: auto;
		margin-top: 1em;
	}

	p {
		font-family: 'Poppins';
		font-size: 1.5em;
		font-weight: 600;
		margin: 2em 0.2em 2em 0.2em;
		padding-right: 1em;
		text-indent: 7em;
		text-decoration: underline;
	}
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.menu {
	background-color: rgb(200,200,200);
	border-radius: 2em;
	margin: auto;
	margin-top:3em;
	width: 60%;

li {
	font-family: 'Poppins';
	font-size: 1.4em;
	display: inline-block;
	width: 100%;
	li { font-size: 0.9em; li{font-size:0.9em;} }
	cursor: pointer;
	li:hover {
		background-color: rgb(160,160,160);
	}
	li{ li:hover {
		background-color: rgb(140,140,140);
	}}
}
li:hover {
	background-color: rgb(180,180,180);
}
li:checked {
	list-style-type: "▼ ";
}

li::before {
	content: "▶";
	display: inline-block;
	transition: transform 250ms ease;
	width: 3%;
}

li.open::before {
	transform: rotate(90deg);
}
}


.chapitreMenu {
	margin: 1.5em 1em 1.5em 0;
}

span {
	color: #9F3367;
	font-weight: 600;
	transition: color 350ms ease;
	width: 95.5%;
	display: inline-block;
	text-indent: 1.5%;
}

em {
	display: inline-block;
	width: 95.5%;
	text-indent: 1.5%;
}

h2 {
	font-size: 1.2em;
	font-style: italic;
	text-decoration: none;
	margin: auto;
	margin-top: 1em;
	a { color: rgb(33,33,255); }
}

.modeNuit {
	background-color: #3C3C3C;

	p , li , .sites , .VP {
		color: white !important;
	}

	li {
		background-color: #3C3C3C;
	}
}

.copyright {
	background-color: #9F3367;
	color: white;
	font-family: 'Poppins';
	text-align: center;
	width: 100%;
	padding: 0.3em 0 0.3em 0;
}

.teamInfo {
	background: black;
	color: rgba(255,255,255,0.7);
	font-family: 'Poppins';
	text-align: center;
	width: 100%;
	font-size: 0.7em;
	padding: 0.2em 0 0.4em 0;
}

footer {
	margin-top: 10em;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
	header { 
		flex-direction: row-reverse;
		justify-content: center;
		.links {
			width: 250% !important;
			position: relative;
			left: 10%;
			margin-left: 1em;
		}
	}
	.logoHeader {
		width: 0;
		height: 0;
	}
	footer {
		margin-top: 17em;
	}
	li::before {
		width: 10% !important;
	}
	span {
		width: 90% !important;
	}
	em {
		width:90% !important;
	}
	.menu {
		width: 85% !important;
	}
}

@media screen and (max-width: 1200px)  and (min-width: 767px) {
	footer {
		margin-top: 22em;
	}
	li::before {
		width: 7% !important;
	}
	span {
		width: 93% !important;
	}
	em {
		width: 93% !important;
	}
}
