/* font */
@import url('https://fonts.googleapis.com/css?family=Bree+Serif');

/* Globla */
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
}
html {
	font-size: 62.5%;
}
body {
	max-width: 1100px;
	margin: 0 auto;
	background: url("../img/fond.png") repeat;
	font-family: "Bree Serif";
	font-weight: normal;
}
.between::before, .between::after, #secondH1::before, #secondH1::after { 
	content: " - ";
}
body p {
	color: #989898;
	font-size: 1.8rem;
}
.between {
	width: 80%;
	margin: auto;
	margin-bottom: 6rem;
	border-bottom: solid 2px rgba(94, 95, 96, 0.1);
	text-align: center;
	color: #f32a5e;
	font-size: 8rem;
	font-weight: normal;
	padding-bottom: 7rem;
}
.rose {
	color: #f32a5e;
}
article p {
	font-size: 4rem;
	line-height: 5rem;
}


/* entête de la page */
header {
	margin: 10rem 0;
	text-align: center;
	font-size: 5rem;
} 
header img {
	width: 14rem;
	transition: transform 2s;
}
header h1 {
	color: #989898;
	font-weight: normal;
}
header section:hover h1 {
	color: #f32a5e;
}
header img:hover, header section:hover img {
	transform: scale(1.5);	
}
nav {
	text-align: center;
}
nav a {
	display: block;
	vertical-align: middle;
	color: #989898;
	text-decoration: none;
	font-weight: normal;
	line-height: 15rem;
	transition: all 1s;
}
nav .fas {
	display: block;
}
nav a:hover {
	color: #f32a5e;
	margin-top: 1rem;
}

/* corps de la page */
/* Premiere section */
#firstSection {
	background: url("../img/bg_header.png");
	filter: contrast(100%) opacity(100%) brightness(150%);
	background-color: black;
	text-align: center;
	padding: 9rem 0;
}
#firstSection article {
	margin: 0 5rem;
} 
#firstSection article h1 {
	color: white;
	font-size: 10rem;
	font-weight: normal;
}
#firstSection article p {
	color: white;
	font-size: 4rem;
	padding: 6rem 0;
	line-height: 200%;
}
#firstSection article a {
	background-color: #f32a5e;
	border-radius: 10px;
	padding: 1rem 3rem;
	text-decoration: none;
	color: white;
	font-size: 3rem;
}

/* Deuxieme section */
#secondSection {
	margin-top: 25rem;
	color: #989898;
	text-align: center;
}
#secondSection article {
	margin-bottom: 20rem;
}
#secondSection img {
	width: 50%;
}
#secondSection h3 {
	margin: 0;
	font-size: 5rem;
	font-weight: normal;
}
/* troisieme section */
#thirdSection {
	text-align: center;
}
#thirdSection article {
	margin: auto;
	width: 65%;
	margin-bottom: 10rem;
}
#thirdSection i {
	background-color: rgba(196, 196, 196, 0.2);
    border: solid rgba(85, 85, 85, 0.1) 5px;
    border-radius: 100%;
	color: #989898;
	font-size: 5rem;
    width: 20rem;
    height: 20rem;
	padding-top: 6.5rem;
}
#thirdSection i:hover {
	animation: bounce 0.35s ease infinite alternate;
}
#thirdSection h4 {
	font-size: 5rem;
	font-weight: normal;
}
#thirdSection p {
	line-height: 200%;;
}
@keyframes bounce {
	from {
		transform: translateY(0);
	}
	to   {
		transform: translateY(-20px);
	}
}

/* quatrieme section */
#fourSection article {
	margin: auto;
	width: 85%;
}
#fourSection h4 {
	font-size: 5rem;
	font-weight: normal;
}
#fourSection a {
	text-decoration: none;
	font-size: 4rem;
	padding-left: 6rem;
}
#fourSection img {
	width: 100%;
}
#fourSection p {
	line-height: 200%;
}

/* pied de page */
#footSection {
    margin: auto;
    width: 70%;
    
}
#footSection h2 {
	margin-top: 10rem;
	font-size: 7rem;
}
#footSection p {
    font-size: 4rem;
	line-height: 200%;
}
form {
	margin: auto;
	text-align: center;
}
#footSection .typing {
	margin-bottom: 1.5rem;
    background-position: 1.5rem 0.7rem;
    background-size: 10rem;
    border: solid rgba(152,152,152, 0.5) 2px;
    border-radius: 10rem;
    font-size: 3rem;
    width: 100%;
    height: 12rem;
    color: rgba(152,152,152, 1);
    text-align: center;
}
.typing1{
	margin-top: 1rem;
    background: url("../img/bg_form_name.svg") no-repeat;
}
.typing2 {
	background: url("../img/bg_form_mail.svg") no-repeat;
}
.typing3 {
	background: url("../img/bg_form_message.svg") no-repeat;
}
#footSection input::placeholder {
    text-align: center;
    font-size: 3rem;
    color: rgba(152,152,152, 1);
}
#footSection .buttonSub {
	margin-top: 7rem;
    background-color: #f32a5e;
    font-size: 4rem;
    padding: 3rem 5rem;
    color: white;
}
#footSection .buttonRez {
	margin-left: 1rem;
    background-color: rgba(152,152,152, 1);
    font-size: 4rem;
    padding: 3rem 5rem;
    color: white;
}


/* LICENCE */
#licence {
	margin: auto;
	margin-top: 13rem;
	width: 90%;
    display: block;
    text-align: center;
    padding: 25px;
	font-size: 3rem;
	color: #989898;
}

#licence img {
    width: 13rem;
}

#licence a {
	font-size: 3rem;
	color: #f32a5e;
}

/* Tablette */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	header {
		margin-top: 5rem;
		margin-bottom: 7rem; 
	}
	header h1 {
		font-size: 4rem;
		margin-top: 1.5rem;
		margin-bottom: 3rem;
	}
	nav a {
		display: inline-block;
		font-size: 2.5rem;
		line-height: 6rem;
	}
	nav a  {
		margin: 0 8rem;
	}
	.between {
		font-size: 6rem;
	}
	#firstSection article h1 {
		font-size: 5rem;
	}
	#firstSection article p {
		margin: auto;
		width: 95%;
	}
	#secondSection article {
		margin: auto;
		width: 75%;
	}
	#thirdSection h4 {
		font-size: 4rem;
	}
	#thirdSection article {
		width: 90%;
	}
	article p {
		font-size: 3rem;
	}
	#thirdSection i {
		width: 15rem;
		height: 15rem;
		font-size: 4rem;
		padding-top: 4.5rem;
	}
	#fourSection {
		margin-top: 15rem;
	}
	#fourSection .between {
		font-size: 5rem;
	}
	#fourSection h4 {
		font-size: 3.5rem;
	}
	#fourSection img {
		width: 50%;
		float: right;
	}
	#fourSection a {
		font-size: 3rem;
		padding-left: 3rem;
	}
	#footSection {
		width: 85%;
	}
	#footSection p {
		font-size: 3rem;
	}
	#footSection input.typing {
		background-size: 8rem;
		height: 10rem;
	} 
	#footSection input.typing1 {
		margin-right: 1%;
		width: 49%;
		display: inline-block;
	}
	#footSection input.typing2 {
		display: inline-block;
		margin-left: 1%;
		width: 49%;
	}
	#footSection .buttonSub, #footSection .buttonRez {
		padding: 2rem 4rem;

	}
}

/* Desktop */
@media all and (min-width: 1025px) {
	/* Global */
	html {
		line-height: normal!important;
	}
	body {
		max-width: 100%;
	}
	p {
		font-size: 1.8rem!important;
	}
	nav {
		font-size: 2rem!important;
	}
	header h1, .titleLogo img {
		font-size: 4rem!important;
	}
	h2 {
		font-size: 4.2rem!important;
	}
	h3 {
		font-size: 3rem!important;
	}
	i {
		font-size: 2.5rem!important;
	}
	input, textarea {
		font-size: 1.6rem!important;
	}

	/* Header */
	header {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		margin: 5rem 0;
	}
	#titleLogo {
		display: flex;
		flex-direction: row;
		justify-content: start;
	}
	header a img {
		width: 7rem;
	}
	header h1 {
		margin: 0;
		font-size: 4.5rem;
		vertical-align: middle;
		padding-left: 1rem;
	}
	header nav {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		font-size: 2rem;	
	}
	header nav a {
		line-height: 7rem;
		padding-right: 10rem;
	}

	/* Main */
	p, h1, h2, a {
		color: red;
	}
	/* première section */
	#firstSection {
		padding: 28rem 0 28rem 0;
	}
	#firstSection article h1 {
		font-size: 5rem;
		margin: 0;
	}
	#firstSection p {
		margin: auto;
		width: 80%;
		line-height: 200%;
	}
	#firstSection article a {
		font-size: 2rem;
	}

	/* seconde section */
	#secondSection {
		margin-top: 10rem;
	}
	#secondSection article {
		width: 25%;
		display: inline-block;
		padding: 0 11rem;
		margin-bottom: 10rem;
	}
	#secondSection img {
		width: 100%;
	}

	/* Troisième section */
	#thirdSection {

	}
	#thirdSection article {
		width: 28%;
		display: inline-block;
		padding: 0 8rem;
	}
	#thirdSection h4 {
		font-size: 3.5rem;
	}
	#thirdSection i {
		border: solid rgba(85, 85, 85, 0.1) 2px;
		width: 10rem;
		height: 10rem;
		padding-top: 3.5rem;
	}
	
	/* quatrième section */
	#fourSection {	
	}
	#fourSection h4 {
		font-size: 3.5rem;
	}
	#fourSection img {
		width: 35%;
		float: right;
	}
	#fourSection a {
		font-size: 2.5rem;
	}
	#fourSection article {
		width: 80%;
	}

	/* Footer */
	#footSection h2 {
		width: 100%;
	}
	#footSection .typing {
		width: 49%;
		height: 8rem;
		background-size: 6rem;
		background-position: 1.2rem 0.8rem;
	}
	#footSection .typing1 {
		margin-right: 2rem;
		margin-top: 3rem;
		margin-bottom: 2.5rem;
	}
	#footSection .typing3 {
		width: 100%;
	}
	#footSection .buttonSub, #footSection .buttonRez {
		padding: 2rem 4rem;
		margin-top: 4rem;
	}
	#licence {
		margin-top: 4rem;
	}
	#licence, #licence a {
		font-size: 1.6rem;
		line-height: 200%;
	}
	#licence img {
		width: 7rem;
	}
}