<!-- css de Maroc2019 par Arnauld-->
html {
    width: 100%;
	margin: auto;
}
body {
    margin: auto;
    background-color: #fafafa;
    text-align: justify;
    font-family: Comic Sans MS, 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
main {
		width: auto;
	}
#main
{
    width: 1024px;
	margin: auto;
	padding: 30px;
	min-height: 100%;
	border: 2px solid black;
}
h2, h3 {
    font-family: Comic Sans MS, 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: blue;
}
.partPhotos {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
}
.partPhotos img {
	max-width: 300px;
	max-height: 300px;
}
#partie1 img, #partie2 img, #partie3 img {
	display: block;
	margin: auto;
	margin-top: 10px;
	text-align: center;	
}
.elements1 {
    margin: auto;
    text-align: center;
}
#titre_principal h1 {
    text-align: center;
}
.esperluet {
    text-align: center;
    color: blue;
    font-weight: bold;
}
.fleche {
    display: flex;
    justify-content: space-around;
	margin: 20px 0;
	text-align: center;
}
.fleche img
{
	vertical-align: middle;
}
.fleche h4
{
  	vertical-align: middle;
	color : green;
	font-size : 20px;
}
.fleche a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px;
}
#fin {
    text-align: center;
    font-size: 20px;
}
.paragSuivant {
	width: 100%;
	margin: auto;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	margin: 20px 0;

}
.prec, .suiv {
	width: 170px;
	border: none;
	border-radius: 10px;
	padding: 5px;
} 
.prec  {
	width: 170px;
	background-color: rgb(216, 207, 207);
} 
.prec:hover  {
	background-color: rgb(221, 214, 214);
}
.suiv {
	width: 170px;
	background-color: rgb(114, 210, 54);
}
.suiv:hover {
	width: 170px;
	background-color: rgb(184, 245, 146);
}
.prec a {
	text-decoration: none;
}
.suiv a{
	text-decoration: none;
}
audio {
	display: block;
	border-radius: 45px;
	text-align: center;
	margin: auto;
	border: 2px solid blue;
}
.alert-info {
	display: block;
	margin: 10px;
	padding: 10px;
	color: rgb(72, 72, 209);
	background-color: rgb(212, 212, 228);
}
.alert-info em {
	display: inline;
}
#partie1 .alert-info img {
	display: inline;
}
/*----navbar------*/
*,
::before,
::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
nav {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 15px 25px;
	background: #fafafa;
	box-shadow: inset 0px -1px 0px #c5c5c6;
}

.nav-icon {
	display: flex;
	align-items: center;
	text-decoration: none;
	margin-right: 20px;
}

.nav-icon span {
	display: flex;
	align-items: center;
	font-family: kaushan_scriptregular, sans-serif;
	font-size: 25px;
	margin-left: 10px;
	font-weight: 400;
	color: #333;
}
.nav-icon img {
	display: flex;
	width: 100px;
	transform: rotate(-10deg) translateX(5px);
}
.hamburger {
  	display: none;
}
.navlinks-container a {
	margin: 0 10px;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	color: #414141;
	display: inline-block;
	position: relative;
}
.navlinks-container a::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -3px;
	width: 100%;
	height: 1px;
	transform: scaleX(0);
	transform-origin: left;
	background: #333;
	transition: transform 0.3s ease-out;
}

.navlinks-container a:hover::after {
  	transform: scaleX(1)
}
/*--fin header hamburger--*/
/*-----début footer-----*/
footer {
	width: 1024px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 20px;
	padding: 10px;
	border: 2px solid black;
}
input {
	width: 300px;
}
textarea {
	width: 950px;
}
button {
	width: 100px;
	margin-bottom: 15px;
}
/*-----Fin footer-----*/
@media screen and (max-width: 900px) {
	
	.diapo {
		display: none;
	}
	body {
		width: auto;
	}
	#main {
		width: auto;
		padding: 5px;
		border: none;
	}
	#titre_principal h1 {
		width: auto;
		font-size: 22px;
	}
	/*--header hamburger--*/
	nav {
		padding: 15px 20px;
		position: relative;
	}
	.nav-icon {
		order: 2;
		margin: 0 auto;
	}
	.nav-icon img {
		width: 100px;
	}
	.nav-icon span {
		font-size: 22px;
	}
	.main-navlinks {
		order: 1;
	}
	  /* Hamburger */
	  .hamburger {
		width: 30px;
		height: 30px;
		cursor: pointer;
		border: none;
		display: flex;
		background: #fafafa;
		align-items: center;
		position: relative;
	}
	.hamburger span {
		display: block;
		width: 100%;
		height: 5px;
		border-radius: 10px;
		background: #333;
		position: absolute;
		pointer-events: none;
		transition: opacity 0.3s 0.15s ease-out;
	}
	.hamburger span:nth-child(1),
	.hamburger span:nth-child(3) {
		transition: transform 0.3s ease-out;
	}
	.hamburger span:nth-child(1) {
		transform: translateY(8px);
	}
	.hamburger span:nth-child(3) {
		transform: translateY(-8px);
	}
	.hamburger.open span:nth-child(1) {
		transform: translate(0) rotate(135deg);
		background: red;
	}
	.hamburger.open span:nth-child(2) {
		opacity: 0;
		transition: opacity 0s ease-out;
	}
	.hamburger.open span:nth-child(3) {
		transform: translate(0) rotate(-135deg);
		background: red;
	}
	
	.navlinks-container {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		position: absolute;
		background: #fafafa;
		top: 100%;
		left: -5px;
		height: auto;
		padding: 15px 50px 15px 20px;
		border-right: 1px solid #c5c5c6;
		border-bottom: 1px solid #c5c5c6;
		transform: translate(-100%);
	}
	  .open {
		transform: translate(0%);
	}
	  .navlinks-container a {
		font-size: 18px;
		margin: 10px 0
	}
	
/*---------- Fin header hamburger-----------*/
.fleche a {
    display: block;
    text-align: left;
}
/*-----début footer-----*/
footer {
	width: 100%;
}
.comment {
	width: auto;
}
input {
	width: 100%;
}
textarea {
	width: 100%;
}
button {
	width: 25%;
	height: 30px;
}
/*-----Fin footer-----*/
}	