/* Generals css */
html {
	scroll-behavior: smooth;
}

body {
	color: rgb(105, 105, 105);
	font-family: "Poppins", sans-serif;
}

/* Header */

header {
	height: 100vh;
	background: url("../img/65.jpg") no-repeat;
	background-size: cover;
	background-position: center;
}


/* Navigation */

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	color: #fff;
}

nav ul {
	width: 100%;
	order: 1;
	text-align: center;
}

nav li {
	line-height: 2rem;
	border-bottom: 1px solid rgb(122, 122, 122);
}

nav li:hover {
	background-color: rgba(170, 167, 164, 0.5);
}

nav a {
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
}

nav h1 {
	color: #ff0051;
	font-size: 1.4rem;
	text-transform: uppercase;
}

nav div:last-child {
	padding: 0.8rem;
	font-size: 1.6rem;
}

/* Slider */
.slider {
	display: flex;
	height: 75vh;
	flex-direction: column;
	justify-content: center;
}

.slider div {
	width: 70%;
	margin-left: 10%;
	color: #fff;
}

.slider p:first-child {
	padding-left: 0.7rem;
	text-transform: uppercase;
	font-size: 1.5rem;
	border-left: 4px solid #ea1d5e;
}

.slider h2 {
	padding-left: 0.8rem;
	text-transform: uppercase;
	font-size: 2rem;
}

.slider span {
	color: #ff0051;
}

.slider p:last-of-type {
	padding: 1rem 0 2rem 0.9rem;
	width: 50%;
}

.button {
	padding: 1rem;
  	border: 1px solid #ea1d5e;
  	border-radius: 50px;
  	font-size: 0.9rem;
	color: inherit;
}

.button-full {
	background-color: #ff0051;
}

.slider a {
	margin: 1rem;
	text-decoration: none;
}

/* Sections */

section {
	margin: 1.6rem 0;
	padding: 2.4rem;
}

section h2 {
	padding: 2rem 0;
	text-align: center;
	font-size: 3rem;
	font-weight: 100;
}

section h3 {
	padding-bottom: 2rem;
	/*color: #ff0051;*/
	text-align: center;
	font-size: 3rem;
}

/* Motivation */

.motivation {
	padding: 0 2rem;
	text-align: center;
	line-height: 1.8rem;
}

.motivation p:last-of-type {
	padding: 3rem 0;
	font: 2rem "Reenie Beanie" cursive;
	color: rgb(161, 161, 161);
	/*transform: rotate(-10deg);*/
}

.motivation i {
	font-size: 1.8rem;
	color: rgba(170, 167, 164, 0.5);
}

/* About */

.about {
	background-color: rgb(247, 247, 247);
}

.about h4 {
	margin-top: 1rem;
	padding-left: 1rem;
	font-weight: 200;
	font-size: 1.2rem;
	border-left: 3px solid #ff0051;
}

.about p {
	margin-left: 1.2rem;
	padding-bottom: 1rem;
	font-size: 0.8rem;
	border-bottom: 1px solid rgb(228, 228, 228);
}

.about div:last-child {
	padding: 2rem;
	text-align: center;
}

.about img {
	width: 90%;
	height: auto;
}

/* Models */

.models p {
	
	font-size: 1.2rem;
	/*padding-left: 1rem;*/
	text-align: left;
	line-height: 2rem;
	font-weight: 200;
	/*border-left: 3px solid #ff0051;*/
}

.models-container {
	display: flex;
	flex-wrap: wrap;
	/*justify-content: space-between;*/
}

.models-container div {
	width: 33.3%;
	padding: 1px 1px;
}

.models-container img {
	width: 100%;
	filter: grayscale(100);
	vertical-align: bottom; /* suppression espace bas image */
}

.models-container img:hover {
	filter: grayscale(0);
}

.models-container p {
	background-color: #353535;
	color:lightgrey;
	font-size: 1rem;
	text-align: center;
	line-height: 2rem;
}




.pedal p {
	
	font-size: 1.2rem;
	/*padding-left: 1rem;*/
	text-align: left;
	line-height: 2rem;
	font-weight: 200;
	/*border-left: 3px solid #ff0051;*/
}


.pedal-container {
	display: flex;
	flex-wrap: wrap;
	/*justify-content: space-between;*/
}


.pedal-container div {
	width: 25%;
	padding: 1px 1px;
}

.pedal-container img {
	width: 100%;
	filter: grayscale(100);
	vertical-align: bottom; /* suppression espace bas image */
}

.pedal-container img:hover {
	filter: grayscale(0);
}

.pedal-container p {
	background-color: #353535;
	color:lightgrey;
	font-size: 1rem;
	text-align: center;
	line-height: 2rem;
}



/* Contact */

.contact {
	
	margin-bottom: 0;
	padding: 0;
}

.contact-container {
	display: flex;
	height: 300px;
	width: 100%;
	justify-content: center;
	align-items: center;
	background: rgb(180, 180, 180) url("../img/imgfooter.jpg") no-repeat;
	background-size: cover;
}

.contact-container form {
	width: 100%;
	text-align: center;
}

.contact-container input {
	width: 70%;
	height: 40px;
	margin-bottom: 1rem;
	border: none;
	background-color: transparent;
	border-bottom: 1px solid #fff;
	color: black;
}

.contact-container input::placeholder {
	color: black;
}

.contact-container input:focus {
	outline: none;
}

.contact-container button {
	margin-top: 1rem;
	color: #fff;
}

/* Footer */

footer {
	padding: 1rem 1rem 2rem 1rem;
	background-color: rgb(41, 41, 41);
	color: #fff;
	font-size: 0.8rem;
	text-align: center;
}

footer {
	padding: 1rem;
}

footer div {
	padding: 1rem;
}

footer div:not(:last-of-type) {
	border-bottom: 1px solid rgb(117, 117, 117);
}

footer ul {
	display: flex;
	justify-content: center;
}

footer a {
	padding: 1rem;
	color: inherit;
	text-decoration: none;
}

footer div:first-child {
	color: #ff0051
}

@media (min-width: 962px) {
	nav {
		height: 10vh;
	}

	nav ul {
		display: flex;
		width: 50%;
		order: 0;
	}

	nav li {
		padding: 1rem;
		border-bottom: none;
	}

	nav div:nth-child(2) {
	 	width: 30%;
	 	padding: 1rem;
 	}

	nav div:nth-child(3) {
		width: 20%;
		text-align: right;
	}
	
	section {
		margin: 3rem 0;
		padding: 3rem 5rem;
	}

	section h2 {
		font-size: 4rem;
	}

	section h3 {
		font-size: 2.2rem;
	}

	/* Motivation */
	.motivation {
		padding: 0 10rem;
	}

	.motivation p {
		font-size: 1.2rem;
	}

	/*About */
	.about {
		display: flex;
	}

	.about div:first-child {
		width: 60%;
	}

	.about div:last-child {
		width: 40%;
	}

	.about h4 {
		font-weight: 200;
		font-size: 2rem;
	}

	.about p {
		margin-left: 1.2rem;
		padding: 1rem 0;
		font-size: 1.2rem;
		font-weight: 200;
	}

	.about img {
		width: 80%;
		height: auto;
	}

	/* Models */
	.models-container p {
		font-size: 1rem;
	}

	/* Contact */
	.contact-container {
	
		height: 400px;
		background-image: none;
		background-color: rgb(160, 160, 160);
	}

	.contact-container form,
	.contact-container div {
		width: 50%;
		height: 400px;
	}

	.contact-container form {
		height: 200px;
	}

	.contact-container div {
		height: 300px;
		background: url("../img/imgfooter.jpg") no-repeat;
	}
	
	/* Footer */
	footer {
		display: flex;
		justify-content: space-between;
		text-align: left;
	}

	footer div:not(:last-child) {
		border: none;
	}
}