/* règles css pour l'en-tête et le pied de page */
/* règles générales */

header {
	height: 100vh;
}

nav {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

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;
	height: auto;
	background: -webkit-linear-gradient(140deg, #585455 10%, #222222 30%);
	background: linear-gradient(140deg, #585455 10%, #222222 30%);
}

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;
}

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: #AC75E8;
}

.nav ul {
	font-weight: 800;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.social-icons a {
	color: azure;
}

.social-icons svg {
	width: 40px;
	margin-left: 8px;
	fill: azure;
}

.insvg {
	fill: azure;
}

.social-icons svg:hover, .cta svg:hover {
	fill: #AC75E8;
}

/* styles pour le contenu header de l'accueil */

.main-title {
	color: azure;
	font-size: 4em;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
	font-family: 'AlegreyaSansSC-Medium';
}

.main-item {
	display: flex;
	padding-top: 40px;
	padding-bottom: 40px;
	font-family: 'AlegreyaSansSC-Medium';
}

.main-item iframe, .item {
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.cta-container {
	display: flex;
	gap: 40px;
	height: 100px;
}

.cta {
	background: -webkit-linear-gradient(140deg, #585455 40%, #222222 90%);
    background: linear-gradient(140deg, #585455 40%, #222222 90%);
	width: 100px;
	height: 80px;
	padding: 30px;
	border-radius: 10px 10px 10px 10px;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	text-align: center;
	font-size: 2em;
	font-weight: 800;
	font-family: 'AlegreyaSansSC-ExtraBold';
}

.cta a {
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.cta a:hover {
	font-weight: bold;
	color: #AC75E8;
}

/* 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: azure;
	font-size: 18px;
}

.footer-top a:hover, .footer-top-alt a:hover {
	color: #AC75E8;
}

.footer-top-alt {
	display: none;
}

/* media queries pour l'affichage mobile */

@media screen and (max-width: 1024px) {

	/* adaptations pour le header et la navigation */

	header {
		height: 100%;
	}
	
	.nav-container, .footer-container {
		width: 100%;
		margin: auto;
		flex-direction: column;
	}

	.nav-content, .footer-container {
		display: flex;
		flex-direction: column;
	}

	.nav-content {
		width: 100%;
		margin-left: 30px;
		justify-content: center;
	}

	.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;
	}

	.social-icons svg {
		width: 30px;
	}

	.header-container {
		flex-flow: column wrap;
		padding: 0;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.cta-container {
		flex-direction: column;
	}

	.main-title {
		display: none;
	}

	.main-text-alt {
		display: contents;
		padding-bottom: 40px;
	}

	.header-content, .main-text, .cta-container {
		width: 80vw;
		height: auto;
	}

	.cta {
		width: auto;
	}

	.header-object {
		display: none;
	}

	/* adaptations pour le footer */

	footer {
		display: flex;
		position: relative;
	}

	.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;
	}
}