/** _______________________________________________________________________
  * Body.
  **/

@font-face{
	font-family:Droid Sans;
	src:url(fonts/DroidSans.ttf);
}

body{
	font-family: Droid Sans, sans serif;
	top:0 !important;
	background-color: #FFF;
	overflow-x:hidden; 
}

.main{
	min-height: calc(100vh - 120px);
	transition:all 400ms;
}

/** _______________________________________________________________________
  * Navbar.
  **/

#cornerLogo{
	height: 100%;
}

.navbar-default{
	position:fixed;
	margin-bottom:;
	background:rgba(0,0,0,0.8);
	top:0px;
	z-index: 100;
	width: 100%;
	height:50px;
	border:none;
	border-radius:0px;
}

.dropdown-link{
	color: #fff;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 60;
	border: solid;
	padding:4px;
	border-width: 3px 0px 3px 0px;

	-webkit-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(-15deg, 0deg);
	   -moz-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(-15deg, 0deg);
	    -ms-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(-15deg, 0deg);
	     -o-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(-15deg, 0deg);
	        transform: scale(1) rotate(0deg) translate(0px, 0px) skew(-15deg, 0deg);
}

.navbar-default .navbar-nav>.active>a{
	background-color: #F7AD77;
	transition: all 150ms;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li.open>a:hover,
.dropdown-menu li:hover{
	background-color: #F57A20;
	transition:all 150ms;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a:focus,
.dropdown-menu li:focus{
	background-color: #F57A20;
	transition:all 150ms;
}

.navbar-default .navbar-nav>li>a:active,
.navbar-default .navbar-nav>li.open>a:active,
.dropdown-menu li:active{
	background-color: #FFFFFF;
	transition:all 150ms;
}

.navbar-default .navbar-nav>li>a:active>.dropdown-link,
.navbar-default .navbar-nav>li.open>a:active>.dropdown-link,
.dropdown-menu li:active>a{
	transition:all 150ms;
	color: #F57A20;
}

#google_translate_element{
	position:fixed;
	top:10px;
	right:10px;
	z-index: 1;
}

.goog-te-banner-frame{
	position:static 	!important;
	margin-top:0px		!important;
	margin-bottom:-6px 	!important;
}

.page-header-container{
	margin-top:40px;
	height:59px;
}

.page-header{
	position:static;
	margin-top:0px;
	height:59px;
}

.page-header h1{
	margin-top:0px;
}

.fixed-header{
	height:99px;
	position:fixed;
	top:0px;
	left:0px;
	padding-top:40px;
	padding-left:120px;
	width:100vw;
	background-color:rgba(255,255,255, 0.8);
	z-index:1;
}

/** _______________________________________________________________________
  * Carousel.
  **/

#carousel-homepage{
	height:100vh;
}

#carousel-homepage .carousel-background{
	width:100%;
	height:100vh;
}

.carousel-caption{
	position:absolute;
	top:15%;
	text-transform: uppercase;
	font-weight: 700;
	font-size:28px;
	font-family: Droid Sans, sans serif;
}

.carousel-caption>p{
	font-weight: 300;
	font-size:18px;
	text-transform: initial;
}

.carousel-caption>.space-between-letters{
	letter-spacing: 0.6em; 	
}

.btn-in-carousel{
	border-radius:0px;
	border-color:#F57A20;
	background-color: transparent;
	z-index:100000;
}

.btn-in-carousel:hover{
	border-radius:0px;
	border-color:#FFF;
	background-color: #F7AD77;
	color: #FFF;
	transition:all 200ms;
	outline-color: white;
}

.btn-in-carousel:focus{
	border-radius:0px;
	border-color:#FFF;
	background-color: #F7AD77;
	color: #FFF;
	transition:all 200ms;
	outline-color: white;
}

.carousel-caption>a>.btn-in-carousel:active{
	border-radius:0px;
	border-color:#FFF;
	background-color: #F57A20;
	color: #FFF;
	transition:all 200ms;
	outline-color: white;
}

.carousel-scroll{
    top: 85%;
    left: 42.5%;
    font-size: 30px;
}
.carousel-scroll:visited{
	color:#fff;
}
.carousel-scroll:hover{
	color:#fff;
}
.carousel-scroll:active{
	color:#fff;
}

/** _______________________________________________________________________
  * Cities.
  **/

.city-row{
	height:calc(100vh + (100vh / 6));
	width: 100%;
}

.img-in-index{
	position:absolute;
	z-index:-2;
	height:100vh;
	width:100vw;
	margin-left:calc(-100vh / 6);
}

.fixed-img{
	position:fixed;
	top:0;
	left:calc(100vh / 6);
}

.city-desc{
	padding:2vh;
	z-index:-1;
	width:100vw;
	height:calc(100vh / 6);
	margin-left:calc(-100vh / 6);
	text-align:center;
	background:white;
	box-shadow: 0px -5px 5px rgba(0,0,0,0.5);
}

.city-desc-container{
	height:calc(100vh / 6);
}

.city-desc h1{
	margin-top:0;	
}

.btn-in-city-desc{
	/*position:relative;
	top:75vh;
	left:50%;
	transform:translate(-50%,0);*/
	min-width:30%;
	min-height:10vh;
	border:solid 2px;
	border-radius:0px;
	background-color:#333;
	border-color:#333;
	color:#FFF;
	font-size:3vh;
	font-weight:bold;
	box-shadow:rgba(0, 0, 0, 0.8) 0px 0px 3px;
	transition:background-color 200ms, border-color 200ms;
}

.btn-in-city-desc:hover{
	background-color:#FFF;
	border-color:#FFF;
	color:#333;
	box-shadow:rgba(0, 0, 0, 0.8) 0px 0px 6px;
	transition:background-color 200ms, border-color 200ms;
}

.btn-in-city-desc:focus{
	border-radius:0px;
	border-color:#F7AD77;
	background-color: #F7AD77;
	color: #FFF;
	transition:background-color 200ms, border-color 200ms;
	outline-color: #F7AD77;
}

.btn-in-city-desc:active{
	border-color:#F57A20 !important;
	background-color: #F57A20 !important;
	outline-color: #333 !important;
}

/** _______________________________________________________________________
  * Page Career.
  **/

li{
	list-style:none;
}

.section{
	padding-top:50px;
}

.section p{
	font-size:16px;

}

#formation p, #experience p, #experience li{
	font-size:16px;
}

#experience{
	background-color: #333;
	color:#FFF;
}

.career-row{
	margin-top:20px;
	margin-bottom:20px;
}

.career-row h3{
	margin-left:15px;
	margin-bottom:20px;
}


.img-container{
	overflow: hidden;
	height: 350px;
	text-align: center;
	z-index:1;
}

.img-in-career{
	height:300px;
	width:300px;
	border-radius:100%;
	overflow: hidden;
	box-shadow: inset 0px 0px 10px rgba(0,0,0,0.8);    
	margin-left: auto;
    margin-right: auto;
	z-index:1;
}

.img-in-career>img{
	z-index:-1;
	position: relative;
	height:300px;
	width:300px;
	border:none;
	border-radius:100%;
	transition: all 2000ms;	
    background-color: white;
} /* Hover function stored in js/effects.js */

.skills-desc{
	display:flex;
    justify-content: center;
    flex-direction: column;
}

.skills-column{
	overflow: hidden;
	text-align: center;
	color:#337ab7;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	margin-bottom:20px;
}

.skills-column h2{
	margin-top:8px;
	margin-bottom: 0px;
	display:inline-block;
	text-transform: uppercase;
	padding:2px;
	font-size:18px;
	width:100%;
}

.skills-column i{
	font-size:45px;
	margin:15px;
}

.skills-column .logo{
    background-image: url(../img/logo.png);
    background-size: 100px;
    opacity: 0.05;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.skill-level-row{
	border-top:solid 2px;
	border-color:#337ab7;
	margin-top:3px;
	padding:3px;
}

.stars{
	display: block;
}

.stars i{
	font-size:20px;
	margin:3px;
	color: #F7AD77;
}

/** _______________________________________________________________________
  * Page projects.
  **/

.img-project{
	max-width:100%;
	margin:10px;
}

/** _______________________________________________________________________
  * Page games.
  **/

@font-face{
	font-family:pokemongb;
	src:url(fonts/Pokemon_GB.ttf);
}

.game-title{
	font-family:pokemongb;
	font-size: 18px;	
}

.btn-playgame{
	border:solid 2px;
	border-radius:0px;
	border-color:#337ab7;
	background-color: transparent;
	z-index:100000;
	color:#337ab7;
	text-decoration:blink;
}

.btn-playgame:hover{
	border-color:#337ab7;
	background-color:#337ab7;
	color: #FFF;
}

.btn-playgame:focus{
	border-color:#337ab7;
	background-color: #337ab7;
	color: #FFF;
	outline-color: #337ab7;
}

.btn-playgame:active{
	border-color:#333;
	background-color: #236Ab7;
	color: #FFF;
	outline-color: white;
}

#dot-green{
	width:30px; 
	height:30px; 
	border-radius:100%; 
	background-color:green; 
	cursor:pointer; 
	position:absolute;
	top:135px;
	left:285px;
	display:flex;
	align-items:center;
	justify-content:center;
	z-index:100;
}

.dot-red{
	width:30px; 
	height:30px; 
	border-radius:100%; 
	background-color:red; 
	cursor:pointer; 
	position:absolute;
}

.colordot{
	width:30px; 
	height:30px; 
	border-radius:100%;  
	cursor:pointer; 
	position:absolute;
	background-color:#CCC; 

}

#colordot-green{
	background-color:#00b359; 
}

#colordot-red{
	background-color:#990000; 
}

#colordot-yellow{
	background-color:#ffff4d; 
}

#colordot-blue{
	background-color:#004d99; 
}

#colordot-black{
	background-color:#333333; 
}

#click-area{
	z-index: 100;
}

.game-row{
	text-align:center;
}

.game-info{
	font-size:18px;
	font-weight:700;
}

.game-area{
	width:600px;
	height:300px;
	border:solid 2px #337ab7;
	position:relative;
	margin: 20px auto 20px auto;
	padding:20px;
}

#pong-area{
	padding:0px;
}

#pong-init{
	margin-top:20px;
}

/** _______________________________________________________________________
  * ID card.
  **/

#id-card{
	background-color:transparent;
	padding: 0px;
	height:70vh;
	text-align:center;
	font-size: 1.5em;
	cursor:pointer;
}

.city-card{
	background-color:transparent;
	padding: 0px;
	height:70vh;
	text-align:center;
	font-size: 1.5em;
	cursor:pointer;
	margin-bottom: 30px;
}

.id-front, .id-back{
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	height:100%;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.id-back.card-back{
	justify-content: center;
}

.card-back-title{
	margin-left: 10px;
	margin-right: 10px;
}

.card-back-text{
	margin: 0px 20px;
	font-size:14px;
}

.id-pic-container{
	position:relative;
	height:80%;
	overflow:hidden;
	color:white;
}

.id-pic{
	width:100%;
	height:100%;
	background-size: cover;	
}

.id-name{
	position:absolute;
	bottom:10px;
	left:50%;
	transform:translate(-50%,0);
}

.turn-id{
	position:absolute;
	top:10px;
	right:10px;
}

.id-front-infos{
	height:20%;
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	border-top:solid 2px #EEE;
}

.id-back, .contact-card{
	height:70vh;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5); 
}

.id-home{
	font-size:0.7em;
	color:#BBB;
}

.contact-card{
	padding:5vh;
	margin-bottom:30px;
	overflow:hidden;
}

.logo{
    background-image: url(../img/logo.png);
    background-size: 100px;
    opacity: 0.05;
    height: 200%;
    position: relative;
    width: 200%;
    top: -100%;
    left: -50%;
    z-index: -1;
}

/** _______________________________________________________________________
  * Iframe.
  **/

#music iframe{
	width:100%;
	height:70vh;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5); 
}

/** _______________________________________________________________________
  * Contact card.
  **/

#contact h4{
	text-align:center;
	font-size:40px;
}

#contact p{
	text-align:center;
	font-size:30px;
}

#contact small{
	text-align:center;
	font-size:14px;
}

.contact-modal-content{
	border:none;
	border-radius:0px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

#contactModal .form-control{
	border:solid 1px #f5f5f5;
	border-radius:0px;
	margin-bottom:5px;
	box-shadow:none;
}

#contactModal .form-control:hover{
	box-shadow:0px 0px 3px rgba(0,0,0,0.8);
}

#confirmMessage{
	position:fixed;
	left:30vw;
	width:40vw;
	padding:10px;
	text-align:center;
	box-shadow: 0px 0px 6px rgba(0,0,0,0.8);
	background:#CCC;
	color:white;
}

#confirmMessage:hover{
	box-shadow: 0px 0px 10px rgba(0,0,0,0.8);	
}

#confirmMessage i{
	color:white;
}


/** _______________________________________________________________________
  * Footer.
  **/

footer{
	min-height:50vh;
	padding:25px;
	background-color: #333;
	color:#FFF;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.footer-icons{
	margin-top:20px;
	flex-direction:row;
	justify-content:space-around;
}

.footer-icons i {
	display:inline-block;
}

.footer-links{
	margin-top:10px;
}

footer a>i, .footer-links a{
	color:#FFF;
	transition: all 200ms;
	font-size:14px;
}

footer a>i:hover, a>i:focus, .footer-links a:hover, .footer-links a:focus{
	color:#CCC;
	transition: all 200ms;
}

footer a>i:active, .footer-links a:active{
	color:#999;
	transition: all 200ms;
}

.copyright{
	font-size:10px;
	text-align: center;
	margin-top:10px;	
}

.send-mail{
	cursor:pointer;
}

/** _______________________________________________________________________
  * Media queries.
  **/

@media (min-width:435px){
	.container{
		width:calc(100vw - (100vh / 6));
		margin-left:calc(100vh / 6);
	}

	#experience{
		width:100vw;
		margin-left:calc((-100vh / 6) - 15px);
	}

	#experience>div{
		margin-left:calc((100vh / 6));
	}

}

@media (max-width:435px){
	.page-header h1{
		text-align: center;
	}
}

@media (orientation:landscape){
	.container{
		width:calc(100vw - (200vh / 6));
		margin-left:calc(100vh / 6);
		margin-right:calc(100vh / 6);
	}
}

@media (min-width:768px){
	.screen-too-small{
		display:none;
	}

	#experience>div{
		width:calc(100vw - (200vh / 6));
	}
}

@media (max-width:768px){

	.city-desc-container{
		margin-left:calc(100vh / 6);
	}

	.img-in-index{
		margin-left:auto;
	}

	.card-back-text{
		font-size: 12px;
	}

	.big-screen-only{
		display: none;
	}
}

@media (min-width:992px){
	.skills-main-row{
		display:flex;
	}
}

@media (max-width: 768px){

	h1{
		font-size: 24px;
	}

	.city-desc h4{
		display:none;
	}

	footer{
		text-align: center;
	}

	.footer-icons{
		margin-left:-15px;
	}

	.footer-icons i{
		margin:0px;
		width:initial;
	}

	.img-container{
		height: 250px;
	}

	.img-in-career{
		height:200px;
		width:200px;  
	}

	.img-in-career>img{
		height:200px;
		width:200px;
	}

	.skills-column{
		height:200px;
		width:200px;
	    margin-left: auto;
	    margin-right: auto;
	}

	.skills-column h2{
		margin-top:8px;
		font-size:10px;
		width:100%;
	}

	.skills-column i{
		font-size:18px;
	}

	#contact h4{
		font-size:22px;
	}
	#contact p{
		font-size:18px;
	}
	#contact{
		margin-bottom: 5px;
	}

}

@media (max-height: 350px){

	.fa-3x{
		font-size:2em;
	}

}

@media (max-height: 220px){

	.fa-3x{
		font-size:1em;
	}

}