/* règles css de la page des mentions légales */
/* règles générales */

nav {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

section {
	padding: 80px;
}

h3 {
	padding: 20px;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
}

ul {
	list-style: none;
}

/* styles pour le header et la navigation */

.header-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 80px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 50px;
	padding-right: 50px;
	width: auto;
	background: #d1d1d1;
    background: -webkit-linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
    background: linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

header li, footer li {
	float: left;
	padding-left: 10px;
}

.nav-container, .nav-content, .footer-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-left: 50px;
	margin-right: 50px;
}

.logo {
	width: auto;
	height: 150px;
}

.logo:hover {
	opacity: 0.8;
}


nav a {
	color:#2b2b2b;
	text-align: center;
	font-size: 2em;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
	font-family: 'AlegreyaSansSC-Black';
}

nav a:hover {
	color: #f25c05;
}

.nav ul {
	font-weight: 800;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.social-icons a {
	color: #3b3b3b;
}

.social-icons svg {
	width: 26px;
	fill: #2b2b2b;
}

.social-icons svg:hover {
	fill: #f25c05;
}

/* styles pour le main */

.section-notice {
	height: 100%;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	position: relative;
}

.section-notice h2 {
	color: #cc00ff;
	font-size: 3em;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
	font-family: 'Satisfy';
	background: -webkit-linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
    background: linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	border-radius: 0px 0px 0px 18px;
	width: 100vw;
}

.section-notice p {
	display: inline-block;
	text-align: justify;
	width: 40%;
	margin-left: 160px;
}


.box {
	display: flex;
	justify-content: space-evenly;
}

.last {
	justify-content: flex-start;
	margin-left: 160px;
}

.table {
	color: #f25c05;
	font-size: 1em;
	text-align: justify;
	font-family: 'AlegreyaSansSC-Medium';
	padding: 40px;
	border-radius: 10px 10px 10px 10px;
	background: -webkit-linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
    background: linear-gradient(140deg, #3b3b3b 70%, #9c9997 100%);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

caption {
	color: #cc00ff;
	font-size: 2em;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
	font-family: 'Satisfy';
}

tr, td, th {
	padding-left: 20px;
	padding-right: 20px;
}

/* styles pour le footer */

.footer-container {
	margin: 40px;
	font-family: 'AlegreyaSansSC-Bold';
}

.footer-container ul {
	font-size: 1.2em;
}

.footer-top a, .footer-top-alt a {
	color: #2b2b2b;
	font-size: 18px;
}

.footer-top a:hover, .footer-top-alt a:hover {
	color: #f25c05;
}

.footer-top-alt {
	display: none;
}

/* media queries pour l'affichage mobile */

@media screen and (max-width: 1024px) {

	/* règles d'adaptations générales */

	section {
		height: 100%;
	}

	section {
		padding: 10px;
	}

	table {
		margin: 10px;
		font-size: 12px;
		text-align: left;
	}

	caption {
		font-size: 22px;
	}

	/* adaptations pour le header et la navigation */

	.header-container {
		flex-flow: column wrap;
		padding: 0;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.header-content {
		width: 80vw;
		height: auto;
	}

	.nav-container, .footer-container { /* règles adaptatives pour le footer également */
		width: 100%;
		margin: auto;
	}

	.nav-content, .footer-container { /* règles adaptatives pour le footer également */
		display: flex;
		flex-direction: column;
	}

	.nav-content {
		width: 100%;
		margin-left: 30px;
		justify-content: center;
	}

	.logo {
		margin: 0;
		height: 120px;
	}

	.social-icons svg {
		width: 16px;
	}

	.nav, .social-icons {
		margin: 0;
		padding: 0;
	}

	.nav ul li, .social-icons ul li {
		display: inline-block;
		margin-right: 1px;
	}

	.nav ul li:last-child, .social-icons ul li:last-child {
		margin-right: 0;
	}

	.nav a, footer a {
		font-size: 12px;
	}

	/* adaptations pour le main */

	section, .table {
		padding: 0;
	}

	.section-notice h2 {
		font-size: 1.8em;
		margin-left: 10px;
		width: auto;
	}

	.section-notice p {
		width: auto;
		margin: 20px;
	}

	.box {
		flex-direction: column;
		overflow: auto;
		width: auto;
		margin: 10px;
		padding: 10px;
		gap: 10px;
	}

	/* adaptations pour le footer */

	.footer-top {
		display: none;
	}

	.footer-top-alt {
		display: contents;
	}

	.footer-top-alt a {
		padding: 20px;
	}

	.footer-bot nav {
		display: none;
	}

	.footer-bot p {
		padding: 40px;
		padding-top: 0;
		text-align: center;
	}
}