*{
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}
@font-face{
    font-family: "Bree Serif";
    font-weight: normal;
    font-style: normal;
    font-size: 18px; 
}
header{
	padding: 50px;
}

header > a{
	color: #999;
	font-size: 4rem;
}

header a:hover{
	-webkit-transform: translate(0, 10px);
	-ms-transform: translate(0, 10px);
	transform: translate(0, 10px);
}

header a:hover{
	color: rgba(246, 36, 89,1);
}

header img{
	width: 50px;
	margin-right: 10px;
	display: inline-block;
	vertical-align: middle;
	transition: transform 0.3s ease 0s;
}

header > a:hover img {
	-webkit-transform: scale(1.3);
	-ms-transform: scale(1.3);
	transform: scale(1.3);
}

nav{
	float: right;
}

nav a{
	display: inline-block;
	color: #999;
	padding: 0 50px;
	text-align: center;
	font-size: 2rem;
}

nav a i{
	display: block!important;
	padding: 10px;
}

#portfolio{
    font-family: "Bree Serif";
    display: block;
    padding-top: 80px;
    text-align:center;
    background-image:url("../img/bg_header.png");
    background-size: cover;
    padding-bottom: 90px;
}
#portfolio h1{
    color: white;
}
#portfolio p{
    color: white;
    text-align: center;
    padding-bottom: 50px;
    font-size: 1.6em;
    line-height: 40px;

}
#portfolio a{
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    background-color: #e74c3c;
    padding: 10px;
    border-radius: 10px;
    width: 300px;
}
main{
    text-align: center;
    font-family: "Bree Serif";
}
h3{
    font-size: 30px;
    color: #e74c3c;
    padding-bottom: 20px;
}
#icon img{
    font-size: 25px;   
}
#icon p{
    color: grey;
    font-size: 1.2em;
    line-height: 40px;
}
#icon h4{
    color: grey;
    font-size: 1.8em;
}
.fas{
    color: grey;
    font-size: 25px;
    padding-bottom: 50px;
}
#service h4{
    color: #e74c3c;
    font-size: 15px;
}
#service p{
    color: grey;
    font-size: 1.6em;
    line-height: 40px;
}
#realisation{
    padding-top: 80px;
    text-align: left;
}
#realisation h2{
    color: #e74c3c;
    font-size: 30px;
    line-height: 80px;
}
#realisation h4{
    padding-top: 50px;
    color: #e74c3c;
    font-size: 15px;
}
#realisation img{
    max-width: 100%;
}
#realisation p{
    font-size: 1.6em;
    color: grey;
    text-align: left;
    line-height: 40px;
}
#realisation a{
    color: #e74c3c;
    font-size: 1.8em;
    text-decoration: none;
    padding-left: 50px;
}
#realisation .fas{
    color: #e74c3c;
}
#form{
    font-family: "Bree Serif";
    font-size: 1.6em;
    color: grey;
    border-radius: 15px;
    line-height: 40px;
}
form{
    text-align: center;
}
#form h2{
    color: #e74c3c;
    font-size: 30px;
}
label{
    font-size: 16px;
    color: grey;
}
input{
    width: 60%;
    margin: 1%;
}
input:nth-child(1){
    background-image: url(../bg_form_name.svg);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: 10px;
}
input:nth-child(2){
    background-image: url(../bg_form_mail.svg);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: 10px;
}
input, textarea{
    padding: 20px;
    padding-left: 70px;
    border-radius: 50px;
}
textarea{
    width: 60%;
    background-image: url(../bg_form_message.svg);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: 10px;
}
.button_1{
    background-color: #e74c3c;
    text-align: center;
    color: white;
    padding:15px;
    font-family: "Arial";
    font-size: 15px;
    margin-top: 20px;
}
.button_2{
    background-color: grey;
    text-align: center;
    color: white;
    padding:15px;
    font-family: "Arial";
    font-size: 15px;
    margin-top: 20px;
}
#licence{
    font-family: "Bree Serif";
    text-align: center;
    font-size: 15px;
    padding-top:10px;
    color: grey;
    margin-top: 50px;
}
#licence a{
    text-align: center;
    color: #e74c3c;
    text-decoration: none;
    line-height: 30px;
}
footer img{
    width: 50px;
}

/*VERSION DESKTOP*/

@media screen and (min-width:1025px){
header img{
    margin-left: 200px;
    margin-top: 50px;
    width: 150px;
    float: left;
  
}
header h1{
    text-align: center;
    margin-bottom: 150px;
    float: left;
    font-size: 100px;
    
}
header nav{
    text-align: right;
}
header > nav > a {
    display:inline-block;
    margin: 0 40px;
    font-size: 40px;
    margin-right: 200px;
}
header nav a i{
    padding: 10px;
    width: 60px;
}
#portfolio{
    margin-top: 80px;
    height: 1000px;
}
#portfolio p{
    font-size: 2.5em;
    display: inline-block;
    text-align: center;
    padding-bottom: 50px;
}
#portfolio a{
    vertical-align: middle;
    color: white;
    text-decoration: none;
    font-size: 2.5em;
    background-color: #e74c3c;
    padding: 20px;
    border-radius: 10px;
    width: 500px;
}
}