/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


body {
	background:linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url(../img/com.jpg);
	background-repeat: no-repeat;
	background-size: cover;

}


#image {
    max-width: 339px;
    width: 25%;
}

#carou {
    margin-top: 88px;
}

#leo {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 50%;
}

header {
    font-family: 'Open Sans', sans-serif;
    font-size: x-large;
    font-variant: small-caps;
    font-weight: bold;
    color:#fefefe !important;
}

footer a {
	color: white;
}

footer a:hover {
    color:#fff;
    text-decoration: none;
}

#footerlink li {
	margin-top: 2.55rem;
}

header p {
	margin-top: 3%;
}

header a {
    color: white;
}

header a:hover {
    color:#fff;
    text-decoration: none;
}

footer {
    background-color: #242526;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding:1%;
    text-align: center;
    text-transform: uppercase;
}

#footerlink {
    text-align: end;
}

#footerright {
    text-align: start;
}

ul {
    margin-top: 2%!important;
}

#qr {
    width: 50%;
}

#mainNav {
	padding-bottom: 2%;
	    max-height: 113px;
}

#link1 {
	border-bottom:0px;
	transition: 0.5s;
}

#link1:hover {
	border-bottom: 3px solid #CF5F47;
}

#link2 {
	border-bottom:0px;
	transition: 0.5s;
}

#link2:hover {
	border-bottom: 3px solid #60E456;
}

#link3 {
	border-bottom:0px;
	transition:0.5s;
}

#link3:hover {
	border-bottom: 3px solid #349AC2;
}

#link4 {
	border-bottom:0px;
	transition: 0.5s;
}

#link4:hover {
	border-bottom: 3px solid #F6F149;
}

#btncv {
    box-shadow: 10px 10px 8px #888888;
}


#leo:hover {opacity: 0.7;}

#CV {
	font-size: 2.2rem;
	line-height: 4rem;
	margin-top: 5%;
}

#textimg h2{
	border-bottom-color: #CF5F47;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    display: inline-block;
}


#CV h2{
	border-bottom-color: #60E456;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    display: inline-block;
}

#Galerie h2{
	border-bottom-color: #349AC2;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    display: inline-block;
}

#Contact h2{
	border-bottom-color: #F6F149;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    display: inline-block;
}

.section {
/*    background-color: #b1a9a4;*/
    margin-top: 10%;
    font-family: 'Roboto', sans-serif;
    font-size: large;
    margin-bottom: : 1%;
}

.anchors {
	padding-bottom: 1%;
}

.Myname {
	font-family: 'Amatic SC', cursive;
	font-size:3.8rem;
	font-weight:bold;
	
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 50%;
    max-width: 700px;
}

.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}


.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

#textimg img {
    vertical-align: middle;
    width: 140%;
}

#Galerie img {
	width: 98%;
}

button {
	border: none;
}

.form-horizontal {
	margin-left: 15px;
}



.carousel-indicators {
	bottom: -41px!important;
    background-color: #a59d9d;
    width: 100%!important;
    left: 0px!important;
    margin-left: 0px!important;
}

.btn-default {
    border: none;
    border-radius: 300px;
    font-size: 1.9rem;
    text-transform: uppercase;
    padding:1%;
    background-image: linear-gradient(to bottom,#d6d6d6 0,#3e3d3d 100%);
    color: white;
}
	@media screen and (max-width: 770px){
			#mainNav{
				max-height:700px;
			}
	}
	@media screen and (min-width: 1062px) and (max-width:1142px){
			.navbar-nav.nav > li > a{
				padding: 15px 5px;
			}
	}
	@media screen and (max-width:1061px){
			.navbar-nav.nav > li > a{
				font-size:0.8em;
			}
	}
	@media screen and (min-width: 768px) and (max-width:1018px){
			.navbar-brand{
			float:none !important;
			margin-top:10px;
			height:auto!important;
			}
			.navbar-header{
				max-width:27%;
			}
			.navbar-nav.navbar-right{
				float:none !important;
			}
			#mainNav{
				max-height:140px;
			}
			#Texte{
			margin-top:60px;
			}
	}

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

		.Myname {
			font-size: 2.8rem;
		}

		#link1 {
		border-bottom:0px;
		transition: 0.5s;
		background-color: #272727;
		}

		#link2 {
		border-bottom:0px;
		transition: 0.5s;
		background-color: #272727;
		}

		#link3 {
		border-bottom:0px;
		transition: 0.5s;
		background-color: #272727;
	}

		#link4 {
		border-bottom:0px;
		transition: 0.5s;
		background-color: #272727;
		}
		#Texte{
		margin-top:45px;
		}

		}
	@media screen and (max-width: 420px){
		.navbar-brand{
			float:none !important;
			margin-top:10px;
			height:auto!important;
			}
			#Texte{
			margin-top:80px;
			}
			ul.navbar-right{
				margin-top:0;
			}
			#mainNav{
				max-height:700px;
			}
	}
	@media screen and (max-width: 320px){
		/*.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a {
			display:none;
		}*/


	}