@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

/* général */
body {
	background-color: rgb(31, 31, 31);
	font-family: "Roboto", sans-serif;
	font-style: normal;
	color: white;
}
html {
	scroll-behavior: smooth;
}
ul {
	list-style-type: none;
}
a {
	text-decoration: none;
	color: white;
}
.container {
	/* max-width: 1080px; */
	margin: 0 auto;
}
h1,
h2 {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 1em;
	color: pink;
	text-align: center;
}
p {
	text-align: justify;
	padding: 1em;
}
img {
	width: 100%;
	height: 100%;
}

/* navigation */
nav {
	position: sticky;
	top: 0;
	left: 0;
}
nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	background-color: rgb(31, 31, 31);
	padding: 1em;
}
nav ul li a:hover {
	color: pink;
}

/* header */
header {
	display: flex;
	padding: 2em;
	gap: 2em;
}
header p {
	line-height: 2em;
}
@media (max-width: 720px) {
	header {
		flex-direction: column;
	}
}
#featured {
	flex: 1 1 100%;
}

@media (max-width: 720px) {
	#featured {
		order: 1;
	}
}
header aside {
	display: flex;
	flex-direction: column;
	gap: 1em;
	flex: 0 0 30%;
}
@media (max-width: 720px) {
	header aside {
		flex-direction: row;
	}
}
@media (max-width: 480px) {
	header aside {
		display: none;
	}
}

/* Dernière nouveauté  */
#lastnews {
	overflow: hidden;
}

/* section  */
section {
	display: flex;
	justify-content: center;
	margin-bottom: 2em;
	padding: 2em;
	gap: 2em;
}
section article {
	flex: 0 0 40%;
	padding: 1em;
	box-shadow: 0px 5px 7px 1px rgb(179, 178, 178);
	line-height: 1.3em;
}
section iframe {
	width: 100%;
	height: 85%;
}

/* footer  */
footer {
	background-color: rgb(31, 31, 31);
	padding: 2em;
	text-align: center;
}
footer p {
	text-align: center;
}
footer a {
	color: pink;
}
footer a:hover {
	color: red;
}
