@font-face { /* Définition d'une nouvelle police nommée CAC Champagne */
    font-family: 'note_kids_school';
    src: url('note_kids_school.eot');
    src: url('note_kids_school.eot?#iefix') format('embedded-opentype'),
         url('note_kids_school.woff') format('woff'),
         url('note_kids_school.ttf') format('truetype'),
         url('note_kids_school.svg#note_kids_school') format('svg');
}

html{
	font-family: Arial;
}
@media (min-width: 0px) and (max-width: 390px) {
	html{
		font-size: max(0.1em, 7px);
	}

	#cv{
		width: 100%;
	}

	#photo{
		width: 75%;
	}

	#right{
		width: 50vw;
	}

	#left{
		width: 25vw;
	}

	.barrefont{
		height: max(0.1em, 2px);
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size: 150%;
	}

	.flex{
		flex-direction: column-reverse;
		marg
	}

	.date p{
		text-align: left;
	}

	.form div{
		margin-left: -5em;
	}
}
 
/* http://www.mydevice.io/devices/ -5- common phablets et tablets */
@media (min-width: 391px) and (max-width: 500px) {
	html{
		font-size: max(3%, 9px);
	}

	#photo{
		width: 80%;
	}

	#right{
		width: max(10em, 220px);
	}

	#left{
		width: max(1em, 90px);
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size: 150%;
	}
}
 
/* http://www.mydevice.io/devices/ -6- tablets et vieux PC */
@media only screen 
and (min-width : 501px) and (max-width: 710px){
	html{
		font-size: 55%;
	}

	#photo{
		width: 85%;
	}

	#right{
		width: 65%;
	}

	#left{
		width: 30%;
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size: 150%;
	}
}
 
/* http://www.mydevice.io/devices/ -7- tablets et vieux PC */
@media only screen 
and (min-width : 711px) and (max-width: 1026px){
	html{
		font-size: 90%;
	}

	#photo{
		width: 90%;
	}

	#right{
		width: max(10em, 65%);
	}

	#left{
		width: 32%;
		font-size: 110%;
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size:135%;
	}

	#popup-box .content{
		margin-top: -10%;
	}
}
 
/* http://www.mydevice.io/devices/ -8- vieux PC */
@media only screen 
and (min-width : 1027px) and (max-width: 1400px){
	html{
		font-size: 110%;
	}

	#photo{
		width: 90%;
	}

	#right{
		width: 60%;
	}

	#left{
		width: 40%;
		font-size: 150%;
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size:110%;
	}

	#popup-box .content{
		margin-top: -10%;
	}
}
 
/* http://www.mydevice.io/devices/ -9- PC actuels */
@media only screen 
and (min-width : 1401px) and (max-width: 1695px) {
	html{
		font-size: 150%;
	}

	#photo{
		width: 90%;
	}

	#right{
		width: 57%;
		margin-left: 0.5em;
		margin-right: 3em;
	}

	#left{
		width: 40%;
		font-size: 130%;
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size:110%;
	}

	#popup-box .content{
		margin-top: -10%;
	}
}
 
/* http://www.mydevice.io/devices/ -10- pc high tech et plus */
@media only screen 
and (min-width : 1696px) {
	html{
		font-size: 160%;
	}

	#photo{
		width: 90%;
	}

	#right{
		width: 57%;
		margin-left: 0.5em;
		margin-right: 3em;
	}

	#left{
		width: 40%;
		font-size: 130%;
	}

	#right > header > p{
		text-align: justify;
	}

	#popup-box{
		width: 60%;
		margin-left: 5%;
		font-size:110%;
	}

	#popup-box .content{
		margin-top: -10%;
	}

}
.max1100{
	max-width: 1100px;
	margin: auto;
}

#main{
	width: 100%;
	height: 100%;
	background-color: #0008;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: none;
}

#popup-box{
	background-color: #fff;
	background-image:url("Files/frame.jpg");
	box-sizing: border-box;
	position: relative;
	margin: auto;
	padding-bottom: 2%;
	box-shadow: 0px 0px 15px 0px #DDD;
}

#popup-box .top-bar{
	width: 100%;
	background: #000;
	position: relative;
}

#close-button{
	background-color: rgba(103, 0, 0, 1);
	border: 4px solid #670000;
	border-radius: 10rem;
	cursor: pointer;
	font-size: 1.5rem;
	overflow: hidden;
	margin-left:37%;
	margin-top: -3%;
	position: relative;
	transition: transform 600ms, background-color 300ms 200ms;
	width: 15vw;
	min-width: 25px;
	height: 5vw;
	min-height: 25px;
	
	color: rgba(255, 255, 255, 1);
	font-weight: bold;
}

#close-button:hover {
		transform: scale(0.80);
		background-color: rgba(103, 0, 0, 0.5);
		color: rgba(255, 255, 255, 1);
	}

#popup-box .content{
	font-family: note_kids_school;
	font-weight: bold;
	width: 100%;
	color: rgba(150, 0, 0, 0.80);
	font-size: 150%;
	text-align: center;
}

.content > h4{
	font-size: 200%;
	font-weight: bold;
	margin-bottom: -1vw;
	margin-top: 8vw;
}

#cv{
	display: flex;
	width: 90%;
	margin: 5%;
	margin-top: 3%;
	margin-bottom: 3%;
}

#left{
	background-color: #af0e15;
	display: block;
	color: #fff;
	padding-bottom: 7vw;
	word-wrap: break-word;
}

#photo{
	display: block;
	margin: auto;	margin-top: 1vw;
}

#nom{
	font-size: 120%;
	margin-left: 2vw;
}

.subtittle{
	padding-left: 2vw;
	padding-top: 0.5vw;
	background-color: #7f0e15;
	font-size: 110%;
}


.bold{
	font-weight: bold;
}

#left p{
padding-left: 5%;
margin-bottom: 0px;
margin-top: 0px;
}

.comp{
	padding-top: 2%;
}

.barrefont{
	background-color: #aaaa;
	height: 1vw;
	width: 15vw;
	border-radius: 1vw;
	margin-left: 2vw;
}

.level{
	background-color: #fff;
	height: 1vw;
	border-radius: 1vw;
	animation-name: slideout;
	animation-duration: 2s;
	animation-delay: 5s;
}

@keyframes slideout {
  from {
    width: 0%;
  }

  to {
    margin-right: 0%;
  }
}


#francais{
	width: 11vw;
}

#anglais{
	width: 9vw;
}

#adap{
	width: 10vw;
}

#poly{
	width: 10vw;
}

#infor{
	width: 12vw;
}

#auto{
	width: 11vw;
}

#equip{
	width: 11vw;
}


#right{
	display: block;
	word-wrap: break-word;
	padding-bottom: 2vw;
	box-shadow: 1vw 1vw 1vw #000;
	padding-left: 2em;
	padding-right: 2em;
}

#right > header > h1{
text-align: center;
font-weight: bold;
}

#right > header > p{
	text-align: justify;
}

.rsub{
	color: #af0e15;
	margin-left: auto;
	margin-right: auto;
}

.flex{
	display: flex;
}

.date{
	text-align: right;
	color: #af0e15;
	font-weight: bold;
	margin-right: 3vw;
	margin-left: 1vw;
}

.exp{
	font-weight: bold;

}

.flex p{
	margin-bottom: -1vw;
}

#right h3{
	font-weight: bold;
	margin-bottom: -1vw;
}

.nomexp{
	color: #af0e15;
	text-decoration: underline;
}


.arrow {
	width: 2vw;
	height: 1.5vw;
	float: left;
	margin-top: 2vw;
}


.form{
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.form div{
	display: flex;

}

.form p{
	text-align: justify;
	margin-bottom: 0px;
}

#perso{
	margin-left: 10vw;
}

#right h4{
	margin-left: 10vw;
}

#persotext{
	margin-left: auto;
	margin-right: auto;
}