html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    background: #eae7e2;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    flex-wrap: wrap;
}

body {
    background: #eae7e2;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.remplissage span:hover {
    color: #3e4436;
}

.main-index {
    background: #3e4436;
    height: 1000px;
    padding-bottom: 100px;
    width: 100%;
}


.icone {
	fill: #3e4436;
	cursor: pointer
}

label.icone{
	z-index: 10;
	position: relative;
}

nav input, .nav-menu {
	display: none;
}

[id=acocher]:checked + ul{
	display: block;
	list-style: none;
	padding: 70px;
	width: 100%;

}


.nav-menu{
	position: absolute;
	background-color: #eae7e2;
	left: 0;
	right: 0;
	top: 60px;
	width: 100%;
}

.nav-item a{
	color: #3e4436;
	text-decoration: none;
	/*line-height: 70px;*/
}

@media screen and (min-width: 1230px){
	.icone{
		display: none;
	}
	.nav-menu{
		display: initial;
		position: static;
		width: 100%;
		/*padding-right: 20px;*/
	}

	.nav-item{
		display: inline-block;
	}

}

@media screen and (max-width: 1020px){
	.en-tete span strong{
		font-size: 15px;
	}

	header{
		width: 100%;
	}

	.droit{
		font-size: 20px;
	}

	#portrait {
		left: 20%;
		top: 0px;
    	padding: 20px;
    	max-width: 600px;
    	max-height: 300px;
    	width: 100%;
    	height: 100%;
	}

	#portrait h1, #portrait span,
	a.formater1, a.formater, #portrait p {
		font-size: 20px;
	}

	span#presentation p {
    	padding-bottom: 0px;
	}

	img#image-fond {
		max-height: 500px;
	}

	.main-index {
		padding-bottom: 0px;
		height: 800px;
	}



}

@media screen and (max-width: 1230px){

	#portrait {
		position: relative;
		left: 20%;
    	padding: 30px;
    	max-width: 870px auto;
    	max-height: 450px auto;
    	width: 100%;
    	height: 100%;
	}

	#portrait h1, #portrait span, a.formater1, h1#nom-activite {
		font-size: 30px;
	}


}

@media screen and (max-width: 720px){
	.en-tete span strong{
		font-size: 10px;
	}

	.droit{
		font-size: 8px;
	}

	footer {
    	font-size: 5px;
    	width: 100%;
    	background: #eae7e2;
	}

	footer nav a svg{
    	width: 20px;
    	height: 20px;
	}

	nav.liens-bas a{
		font-size: 15px;

	}

	.nav-menu{
		top: 50px;
	}

	[id=acocher]:checked + ul{
		padding: 25px;
	}

	li.nav-item a{
		font-size: 20px;
	}

	rect.rect1 {
		width: 50px;
		height: 10px;
	}

	rect.rect2 {
		width: 50px;
		height: 10px;
		y: 20;
	}

	rect.rect3 {
		width: 50px;
		height: 10px;
		y:40;
	}

	.icone svg{
		width: 40px;
		height: 30px;
	}

	img#image-fond {
		display: none;
	}

	.en-tete span, .en-tete span strong{
		font-size: 8px;
		padding: 5px;
	}


	#portrait {
		/*left: 20%*/
		top: 200px;
    	padding: 10px;
    	max-width: 320px;
    	max-height: 200px;
    	width: 100%;
    	height: 100%;
    	flex-direction: column;

	}

	h1#nom-activite {
		display: none;
	}

	a.formater1, #portrait p {
		font-size: 80%;
	}

	/*a.formater1 {
    	font-size: 80%;
    	width: min-content;
    	height: min-content;
    	padding: 5px;
	}*/

	.main-index {
		height: 600px;
	}

	p.succes {
    	font-size: 13px;
	}

	p.erreur {
		font-size: 13px;
	}
}



.menu, .menu strong {
    font-size: 25px;
    color: #3e4436;
    align-items: center;
	display: flex;
	justify-content: flex-end;
	/*position: relative;*/
    text-align: center;
    padding: 20px;
    cursor: pointer;
}

.menu a, .liens-bas a {
    color: #3e4436;
    font-size: 25px;
    text-decoration: none;
    padding: 13px;
    /*margin: 5px;
    border: 2px solid #3e4436;
    border-radius: 45px;*/
}

.menu a:hover, .liens-bas a:hover {
    background: #3e4436;
    color: #eae7e2;

    padding: 10px;
    border-radius: 25px;
}



header {
    background: #eae7e2;
    width: 100%;
    min-height: 80px;
    color: #eae7e2;
    position: fixed;
    top: 40px;
    z-index: 1000;

    position: relative;
    /*
    position: fixed
    */

}

/*header nav {
    float: right;
}*/

#intro-projets {
    font-size: 30px;
    width: max-content;
    max-width: 100%;
    height: 100%;
    margin: 100px;
    margin-top: 150px;
    padding: 30px;
    background: #eae7e2;
	opacity: 70%;
	border-radius: 30%;
}

#intro-projets p {
	margin-left: 10%;
}

.en-tete {
    width: 100%;
    display: flex;
    justify-content: space-between;
}



#portrait {
    display: flex;
    float: right;
    padding: 50px;
    justify-content: center;
    width: 870px;
    height: 450px;
    margin-bottom: 100px;
    background: #3e4436;
    transform: translate(-40%, -80%);
    opacity: 90%;
}

#presentation {
    width: 100%;
    height: 100%;
    font-size: 30px;
    color: #eae7e2;
    padding-left: 20px;
}

#presentation p {
    padding-bottom: 10px;
}

#nom-activite {
    float: left;
    color: #eae7e2;
}

#image-fond {
    max-width: 1510px;
    max-height: 600px;
    width: 100%;
    height: 100%;
}


.liens-bas {
    width: 100%;
    background: #eae7e2;
    align-items: center;
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

p a strong:hover {
    font-size: 1.2em;
}

.formater {
    color: #3e4436;
    background: #eae7e2;
    font-size: 30px;
    width: max-content;
    height: max-content;
    padding: 10px;
    text-decoration: none;
    margin-top: 30px;
}

.formater a:hover {
    display: inline-block;
    transform: scale(1.2);
    transition: transform 0.3s ease;

}

/*.formater1 {
    color: #3e4436;
    background: #eae7e2;
    font-size: 30px;
    width: max-content;
    height: max-content;
    padding: 5px;
    text-decoration: none;
}*/

.formater1 {
	text-decoration: none;
	color: #eae7e2;
}



#nom {
    float: left;
    font-size: 25px;
    color: #3e4436;
    padding: 20px;
}

footer {
    font-size: 20px;
    color: #3e4436;
    width: 100%;
    height: 250px;
    background: #eae7e2;

    display: flex;
    flex-direction: column;
    align-items: center;
}

footer nav {
    text-align: center;
    padding: 30px;
}

footer nav a svg:hover {
    transform: scale(1.2);
}

footer a{
	text-decoration: none;
}

.droit {
    padding: 5px;
    text-align: center;
}

.erreur {
    color: red;
    font-size: 20pxs;
    list-style: none;
}

.succes {
    color: #3A7734;
    font-size: 20px;
}

.projets-recents {
   display: flex;
    align-items: center;
    text-align: center;
}

.projets-recents a img {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    padding: 20px;
}

.rect1 {
	width: 80px;
	height: 10px;
}

.rect2 {
	width: 80px;
	height: 10px;
	y: 20;
}

.rect3 {
	width: 80px;
	height: 10px;
	y:40;
}