@font-face {
font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.eot');
    src: url('../fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Raleway-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

/* Ecraser style */

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

a,p,h1,h2,h3,h4,h5,h6,strong,li,em{
	font-family: 'Raleway', sans-serif;
}

/* Bg partie paire */
.bg-beige{
	background-color: #AE8964;
}

.bg-brun{
	background-color: #89725B;
}

/* Titres qui s'adaptent à la résolution de l'écran */

.title{
	font-size: 3rem;
}

/* put margin top 60 */
.margin-top70{
	margin-top: 70px;
}

section{
	padding : 4rem 0;
}

section.paire hr{
	max-width: 50px;
	border-width: 3px;
	border-color: #7E5835;
}

section.impaire hr{
	max-width: 50px;
	border-width: 3px;
	border-color: #7E5835;
}

/* Part menu */

.menu .navbar-brand{

font-weight: bold;
font-size: 2em;
letter-spacing: 1px;
color: #7E5835;
}

.menu div a.navbar-brand:hover{
	color:#DEB887;
}

.menu div a.nav-link{
	font-size: 1.25em;
	color: white;
}

.menu div a.nav-link:hover{
	color:#DEB887;
}

/*End of menu */

/*partie présentation */

header.presentation{
	background: url("../images/bg.jpg");
	background-size: cover;
	background-position: center center;
}

header hr{
	max-width: 50px;
	border-width: 3px;
	border-color: #FFEBCD;
}

header.presentation .intro{
	font-size: 3.2rem;
}

header.presentation #name{
	display: block;
	font-size: 3.5rem;
}

/* formations */

#formations img{
	width: 220px;
	height: auto;
}

/* End of formations */

/* End of partie présentation */


/*Part experiences */

#experiences img{
	width: 100px;
	height: auto;
}

#experiences img.big-image{
	width: 150px;
	height: auto;
}

ul.task-experience{
	padding-left: 0;
	list-style: circle;
	list-style-position: inside;
}

/* End of experiences */

/*Part competences */

.each-competence{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.each-competence-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.progress-very-high{
	width: 90%;
}

.progress-medium-high{
	width: 60%;
}

.progress-high{
	width: 75%;
}

.progress-medium{
	width: 50%;
}

.progress-low{
	width: 35%;
}

/* End of competences */

/* Part project */

.img-wrapper{
	max-height: 440px;
	overflow: hidden;
}

.each-projet{
    margin-bottom: 20px;
}

.portfolio-box {
    position: relative;
    display: block;
    max-width: 650px;
    margin: 0 auto;
}

.portfolio-box .project-name{
	font-size: 1.2em;
	font-weight: bold;
}

.portfolio-box .portfolio-box-caption {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: rgba(240,95,64,.9);
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 0 15px;
    transform: translateY(-50%);
    text-align: center;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

/* End of project */

/* Part valeurs */

#valeurs ol {
	list-style: none; 
	counter-reset: li;
	width: 100%;
	padding-left: 0;
}

#valeurs li::before {
	content: counter(li); 
	color: black;
	font-size: 2em;
  	display: inline-block; 
  	/*width: 1em;
  	margin-left: -1em;*/
}

#valeurs li {
	counter-increment: li;
	display: inline-block;
	font-size: 2em;
}

/* End of valeurs */

/* Part interest */

#interet i{
	font-size: 5em;
}

#interet p{
	color: rgba(0,0,0,1);
	font-size: 1.25em;
}

/* End of interest */

/* Part contact */

#contact i{
	font-size: 5em;
}

#contact a,.mobile{
	color: rgba(0,0,0,1);
	font-size: 1.25em;
}

#contact a:hover{
	color: rgba(255,255,255,1);
	text-decoration: none;
}


/* End of contact */

/*Media queries */
@media screen and (max-width: 992px) {

	nav.navbar{
		background-color: #AE8964 !important;
	}

	.title{
		font-size : 2rem;
	}

	.text-experience{
		margin: 20px 0;
	}

}
@media screen and (max-width: 1048px) {
	
	.menu div a.nav-link{
		font-size: 1.15em;
		color: white;
	}
}
