/* CSS Document */

body {
	font-size: 15px;
	font-family: 'Rubik', sans-serif;
}

#cover {
	background: url("img/cover.jpg") no-repeat center;
	background-size: cover;
	max-height: 762px;
}

header img {
	width: 250px;
	display: block;
	margin: auto;
	padding: 30px;
}

.container {
	width: 1140px;
	margin: auto;
}

#intro {
	width: 830px;
	margin: auto;
}

header {
	color: white;
}

#menu ul {
	display: flex;
	justify-content: center;
}

#menu li {
	text-transform: uppercase;
	margin: 20px 0;
	font-weight: lighter;
	border-right: 1px solid;
	padding: 0 22px 0;
}

#menu li:last-child {
	border-right: none;
	font-weight: bold;
}

#cover h1 {
	text-transform: uppercase;
	font-size: 55px;
	padding-top: 70px;
	line-height: 67px;
}

#cover p {
	font-weight: lighter;
	line-height: 20px;
}

#cover a {
	text-decoration: none;
	color: white;
	transition: all 0.2s linear;
}

#cover a:hover {
	color: #78b119;
}

#numbers {
	display: flex;
	margin-top: 280px;
}

#numbers p {
	font-size: 80px;
	font-weight: 400;
}

#legend p, #numbers p {
	width: 70%;
}

#legend {
	display: flex;
	padding: 30px 0;
}

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

h2 {
	font-family: 'Calligraffitti', cursive;
	padding: 75px 0 50px;
	font-size: 40px;
	color: #555454;
}

#ethic, #skills, #humanity, #evolution, #solidarity, #quality {
	height: 250px;
	width: 310px;
	margin: 25px 0;
}

#ethic {
	background: url("img/ethic.svg") no-repeat center;
}

#skills {
	background: url("img/skills.svg") no-repeat center;
}

#humanity {
	background: url("img/humanity.svg") no-repeat center;
}

#evolution {
	background: url("img/evolution.svg") no-repeat center;
}

#solidarity {
	background: url("img/solidarity.svg") no-repeat center;
}

#quality {
	background: url("img/quality.svg") no-repeat center;
}

#valeurs p {
	margin: 117px 57px 0;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 8px;
}

.col2 {
	width: 45%;
}

#news {
	display: flex;
	justify-content: space-evenly;
}

#news img {
	width: 100%;
	height: 78%;
}

#news h2 { 
	text-align: center;	
}

#services p {
	margin: 20px 0;
}

#services p:last-child {
	font-style: italic;
	line-height: 21px;
	color: #555454;
}

#services p:nth-child(3) {
	font-size: 22px;
	color: #78b119;
}

#services p:nth-child(2) {
	width: 56%;
	text-align: center;
	margin: auto;
	padding-bottom: 5px;
	line-height: 20px;
}

#services p span {
	font-weight: bold;
}

footer {
	background-color: #555454;
	color: white;
}

footer a {
	text-decoration: none;
	color: white;
	padding: 0 24px;
	text-transform: uppercase;
}

footer li:hover {
	transform: scale(1.05);
}

footer li {
	transition: 0.3s all;
}

#footer {
	padding-top: 20px;
	text-align: center;
}

#footer img {
	margin-top: 50px;
}

#footer p {
	font-weight: 201;
	padding: 15px 0 65px 0;
	font-size: 14px;
}

#footer p:last-child {
	padding-bottom: 15px;
}

#partners img {
	padding-bottom: 100px;
	width: 15%;
	filter: grayscale(100%);
	transition: all 0.2s linear;
}

#partners img:hover {
	filter: none;
}

#logop {
	display: flex;
	justify-content: space-around;
align-items: center;
}

#carte {
	width: 100%;
}

#contact h2 {
	text-align: center;
	color: white;
}

#contact label {
	width: 24%;
	display: block;
	text-align: right;
	margin-right: 12px;
}

.case {
	display: flex;
	padding: 10px 0;
	align-items: baseline;
}

#contact input[type="text"] {
	width: 65%;
	background-color: transparent;
	border: 1px solid white;
	padding: 13px;
	border-radius: 9px;
	color: #d5ffc9;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 15px;
}

#contact textarea {
	background-color: transparent;
	border: 1px solid white;
	padding: 13px;
	border-radius: 9px;
	width: 65%;
	height: 280px;
	color: #d5ffc9;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 15px;
}

#contact textarea::placeholder {
	color: #D9D9D9;
}

#messagetext {
	display: flex;
	justify-content: space-between;
}

#cover button {
	background-color: #daffc2;
	color: #555454;
	padding: 20px 100px;
	font-size: 15px;
	border-radius: 30px;
	font-weight: 700;
	box-shadow: -3px 4px 6px -3px #474747;
	margin: 60px auto auto;
	display: block;
	border: none;
	cursor: pointer;
	transition: all .2s linear;
}

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

#intro > p {
	margin-top: 30px;
}

.slicknav_menu {
	display: none;
}

.contact #cover {
	padding-bottom: 50px;
}

footer p a {
	padding: 0;
}

@media (max-width: 1199.98px) { 
	
	.container, #intro {
		width: 100%;
	}

	#services p:nth-child(3), #services p:last-child, #intro h1, h2, #legend, #numbers {
		text-align: center;
	}
	
		#intro > p {
		margin: 50px 125px;
	}

}

@media (max-width: 991.98px) {
	
	#ethic, #skills, #quality, #humanity, #evolution, #solidarity {
		width: 50%;
	}
	
	#menu ul {
		display: none;
	}
	
	.slicknav_menu {
		display: block;
	}
	
		#logop img:first-child {
		display: none;
	}

}

@media (max-width: 767.98px) {

	#intro h1 {
		text-align: center;
		font-size: 47px;
		line-height: 49px;
	}
	
	ul {
		font-size: 12px;
	}

	#services p:last-child {
		margin: 0 130px;
	}
	
	#news .col2 {
		width: 70%;
	}
	
	#news {
		flex-wrap: wrap;
	}
	
	#footer ul {
		display: none;
	}
	
	#footer img {
		margin-top: 0;
	}
	
	#numbers {
		margin-top: 120px;
	}
	
	#numbers p {
		font-size: 55px;
	}
	
	#legend {
		padding-top: 20px;
		font-size: 12px;
	}
	
	header img {
		width: 190px;
	}
	
		
	#messagetext {
		flex-wrap: wrap;
	}
	
		.contact .col2 {
		width: 100%;
			text-align: center;
	}
	
	#contact label {
		font-size: 12px;
		text-align: center;
		width: 100%;
	}
	
	#contact textarea {
		margin: auto;
		width: 49.1%;
		height: 150px;
	}
	
	#contact input[type="text"] {
		width: 50%;
		padding: 10px;
	}
	
	.case {
		display:block;
	}
	
	.contact h2 {
		padding: 50px 0 20px;
	}
	
	#cover button {
		margin: 30px auto auto;
	}

}

@media (max-width: 575.98px) {

	#logop img:last-child {
		display: none;
	}
	
	#partners img {
		padding-bottom: 58px;
		width: 22%;
	}
	#ethic, #skills, #quality, #humanity, #evolution, #solidarity {
		width: 100%;
	}
	
	#intro > p {
		text-align: center;
		margin: 50px 35px;
	}
	
	#intro h1 {
		font-size: 40px;
	}
	
	#services {
		font-size: 12px;
	}
	
	#services p:last-child {
    	margin: 0 90px;
	}
	
	h2 {
		padding: 53px 0 18px;
	}

}

@media (max-width: 492.98px) {
	
	#cover h1 {
		padding-top: 30px;
	}
	
	#numbers {
		margin-top: 60px;
	}
	
	#ethic, #skills, #humanity, #evolution, #solidarity, #quality {
    	height: 180px;
	}
		
	#valeurs p {
    	margin: 83px 57px 0;
	}
	
	#services p:last-child {
   	 	margin: 0 40px;
	}
	
	header img {
		width: 160px;
	}
	
	footer p {
		padding: 15px 0 15px 0 !important;
	}
	
	#services p:nth-child(2) {
		width: 76%;
	}

}