:root { /* Généré sur colormind.io */
  --JBMcolor1: #F5F5F5;
  --JBMcolor2: #C2A56A;
  --JBMcolor3: #E99067;
  --JBMcolor4: #AC8BA4;
  --JBMcolor5: #57495C;
  
  --white: #FFF;
  --black: #000;
  
  --LineHeight:1.8em;
  --PCwidth:90%;
  --font1:'PT Sans';
  --font3:'Unna';
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
	cursor:pointer;
	text-decoration:none;
}
ul{
	list-style:none;
}

body{
	margin:0;
	padding:0;
	background-color:black;
	font-family: var(--font1), 'sans-serif';
	font-size:1.2rem;
	font-weight:300;
}
strong{
	font-weight:700;
}
article h2{
	font-size:2.3em;
	font-family: var(--font3), 'sans-serif';
	margin:20px auto 50px auto;
	padding:0 2%;
	text-align:center;
}
article p{
	width:min(100%,800px);
	margin:auto;
	text-align:center;
	line-height:1.7em;
	font-size:0.95em;
}
article h3{
	text-align:center;
	margin:40px 0 20px 0;
}
h2{
	
}
.iframe_container{
	position:relative;
	overflow:hidden;
	width:100%;
	padding-top:56.25%;
	margin:40px 0;
}
iframe{
	position:absolute;
	border:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	width:100%;
	height:100%;
}
.iframeVideo iframe {
	display:none;
}
article a.liens{
	text-decoration:underline;
	color:#427FDB;
}

/* Menu nav */

nav#myNav{
	width:100%;
	background-color:rgba(0,0,0,0);
	position:fixed;
	top:0;
	z-index:10;
}
nav#myNav div{
	
	display:flex;
	flex-direction:row;
	flex:1;
}
nav#myNav div #logo{
	background-image:url('img/svg/mjp_logo.svg');
	background-size:100% 100%;
	/*animation: rotate 1s linear infinite;
	animation-play-state: paused;
	animation-delay: calc(var(--scroll) * -1s);*/
}
nav#myNav div #logo a{
	height:100%;
	width:100%;
}
nav#myNav div > ul{
	display:flex;
	flex:3;
	flex-direction:row;
	justify-content:center;
	
}

nav#myNav div > ul li{
	padding:20px 0;
}
nav#myNav div ul li a{
	display:flex;
	padding:20px;
	color:var(--white);
	font-weight:700;
	text-align:center;
	transition:0.3s;
	text-shadow:2px 2px 15px #000;
}
nav#myNav div ul li a:hover{
	color:var(--JBMcolor2);
}

nav#myNav div ul li ul{
	position:absolute;
	flex-direction:column;
	list-style:none;
	justify-content:center;
	border-radius:5px;
}
.m_1 ul, .m_2 ul{
	display:none;
}
nav#myNav div ul li ul li{
	padding:0;
}
nav#myNav div ul li ul li a{
	padding:10px 20px;
}

#bouton_topmenu p.bouton{
	display:block;
	margin:auto;
}

/* ANIMATION MENU BURGER */
/* Menu burger pris ici : https://codepen.io/himalayasingh/pen/mNOJPM */
/* adapté à une certaine height/width. Pour changer, modifier height de "label div" puis margin-bottom */

#smartphone_nav{
display:none;
font-size:2em;
z-index:5;
position:fixed;
top:0;
left:0;
width:100%;
min-height:100%;
font-size:1.5rem;
background-color:#151515;
}
#smartphone_nav > ul{
	list-style-type:none;
	padding:12% 12% 0 12%;
}
#smartphone_nav > ul li{
	margin-bottom:20px;
}

#smartphone_nav ul li a{
	color:white;
}

#smartphone_nav ul li ul{
	display:none;
	flex-direction:column;
	margin:30px 20px 20px 20px;
}
#smartphone_nav ul li ul li{
	font-size:0.8em;
}
#smartphone_nav .homelink:hover{
	color:white;
}
#logo_menu_smartphone{
	display:flex;
	height:200px;
	background-image:url('img/svg/mjp_logo.svg');
	background-position:center;
	background-size:70% 70%;
	background-repeat:no-repeat;
}
#logo_menu_smartphone a{
	height:100%;
	width:100%;
}

#menu_checkbox
{
    display: none;
}

label#burger
{
    display: none;
	z-index:10;
    width: 60px;
    height: 60px;
    cursor: pointer;
	padding:5px;
	box-sizing:border-box;
}

label#burger div
{
    position: relative;
    top: 3px;
    height: 2px;
    background-color: white;
    margin-bottom: 9px;
    transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
    border-radius: 2px;
}

label#burger div:first-child
{
    transform-origin: 4px;
}

label#burger div:last-child
{
    margin-bottom: 0;
    transform-origin: 27px;
}

label#burger div:nth-child(2)
{
    right: 0;
}

#menu_checkbox:checked ~ #smartphone_nav
{
    display:block;
}

#menu_checkbox:checked + label#burger div:first-child
{
    top: 3px;
    transform: rotateZ(45deg);
}

#menu_checkbox:checked + label#burger div:last-child
{
    top: 4px;
    transform: rotateZ(45deg);
}

#menu_checkbox:checked + label#burger div:nth-child(2)
{
    width: 40px;
    top: 3px;
    right: 5px;
    transform: rotateZ(-45deg);
}

/* Contenu */

article{
	display:flex;
	flex-direction:column;
	padding:80px 10px;
	
}

#message_accueil{
	background : radial-gradient(#000, #555);
	background-repeat: no-repeat;
	background-size: cover;
	background-position:center 20%;
	min-height:110vh;
	display:flex;
	align-items:center;
	text-align:center;
	
}

#video-wrapper{
	width:100%;
	min-height:inherit;
	position:relative;
	text-align:center;
	overflow:hidden;
	display:flex;
	align-items:center;
	justify-content:center;
	flex-direction:column;	
}

video#bg_video, video#bg_video_phone{
	object-fit:cover;
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
}
video#bg_video{
	display:block;
}
video#bg_video_phone{
	display:none;
}
#video-wrapper h1{
	position:relative;
	color:var(--JBMcolor1);
	font-size:3em;
	font-weight:300;
	text-shadow:2px 2px 5px #000;
	font-family: var(--font3), 'sans-serif';
}
#video-wrapper h2{
	position:relative;
	color:var(--JBMcolor1);
	font-size:1.3em;
	font-style:italic;
	font-weight:300;
	padding-top:30px;
	text-shadow:2px 2px 5px #000;
	font-family: var(--font3), 'sans-serif';
	
}

.section_photo{
	color:var(--white);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-attachment:fixed;
	
}

.color1{
	background-color:var(--JBMcolor1);
}

.color2{
	background-color:var(--white);
}

.txt_et_photo_1 article div{
	display:flex;
	flex-direction:row;
}
.txt_et_photo_1 article div p{
	order:1;
	padding:5%;
	width:50%;
}
.txt_et_photo_1 article div img{
	order:2;
	object-fit:cover;
	width:min(500px, 50%);
	box-shadow:4px 4px #ddd;
	border-radius:5px;
}

section p.bouton, li.bouton{
	display:flex;
	justify-content:center;
	padding:30px 0 0 0;
}

p.question{
	display:block;
	background-color:var(--JBMcolor2);
	border-radius:5px;
	color:white;
	margin-top:20px;
	cursor:pointer;
}
p.reponse{
	display:none;
	background-color:#f4efe4;
	border-radius:0 0 5px 5px;
	width:min(98%, 790px);
}
p.question, p.reponse{
	padding:5px 15px;
	text-align:left;
	
}

.repertoire article > div{
	font-size:0.8em;
	display:flex;
	flex-wrap:wrap;
	flex-direction:row;
	justify-content:space-evenly;
}
.repertoire article > div div a{
	text-decoration:none;
}
.repertoire article > div div a:hover{
	color:var(--JBMcolor2);
}
.repertoire h3{
	text-align:left;
}

p.bouton a, li.bouton a{
	text-transform:uppercase;
	background-color:var(--JBMcolor2);
	padding:15px 20px;
	border-radius:3px;
	transition:0.3s;
}
p.bouton a:hover, li.bouton a:hover{
	background-color:var(--black);
}


p.bouton a span{
	letter-spacing:1px;
	font-weight:700;
	color:var(--white);
	padding:30px;
	font-size:0.9em;
	
}

/* Responsive classes */

.responsive_width{
	width:min(1200px,100%);
	margin:0 auto;
}

/* Footer */
footer{
	display:flex;
	flex-direction:column;
	color:var(--white);
	min-height:300px;
	background-color:#111;
	font-size:0.75em;
	padding:20px 0 60px 0;
}
footer > div{
	width:min(800px,97%);
	margin:0 auto;
	display:flex;
	flex-direction:row;
	justify-content:center;
	
	
}
footer > div:first-child{
	margin-top:20px;
	font-family: var(--font3), 'sans-serif';
	font-size:1.7em;
	font-weight:700;
	text-shadow:2px 2px 0px #535353;
	text-align:center;
}

footer div div{
	display:flex;
	flex-direction:column;
	flex:1;
	color:#888;
	padding-left:10%;
}
footer div div p:first-child{
	color:#d7d7d7;
	text-transform:uppercase;
	font-weight:700;
	padding:30px 0 10px 0;
}
footer div div p{
	padding:2px 0;
}
footer div div p a{
	color:inherit;
}
footer div div p a:hover{
	color:#d7d7d7;
}
footer > div:last-child{
	color:#888;
	text-align:center;
	padding-top:30px;
}

/* mél et tél */
span#test, span#test2, span#test3{
	cursor:pointer;
}
span#test:hover, span#test2:hover, span#test3:hover{
	color:white;
}
/* animations svg background */

section.svg_bg{	
	background-color:var(--JBMcolor1);
}
section.svg_bg > article{	
	width:min(1200px,97%);
	margin:0 auto;
}

#bgSVG_cercle{
	background-image:url('img/svg/cercle.svg');
	background-repeat:no-repeat;
	background-size:800px;
	background-position:0% 80%;
}
#bgSVG_conductor{
	background-image:url('img/svg/chef_orchestre.svg');
	background-repeat:no-repeat;
	background-size:auto;
	background-position:55% 0%;
}


/* Important mail (contre bots) */
.important_mail{
	display:none;
}
input, textarea,button{
	border-radius:6px;
	padding:10px 16px;
	font-family: var(--font1), 'sans-serif';
	font-size:1em;
	border:2px solid #ddd;
}
input:focus, textarea:focus{
	outline: none !important;
	border:2px solid var(--JBMcolor2);
}
input, textarea{
	width:90%;
}
button{
	background-color:var(--JBMcolor2);
	border:1px solid #a88640;
	color:white;
	text-shadow:0 1px 0 rgba(0,0,0,0.2);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.2);
	
}
button:hover{
	cursor:pointer;
	background-color:#a88640;
}
p.form_ok{
	font-weight:bold;
	padding:20px;
	color:var(--JBMcolor2);
}
p.form_ok span{
	color:black;
}
p.form_error{
	font-weight:bold;
	padding:20px;
	color:#ee4343;
}
p.form_rappelmessage{
	background-color:var(--JBMcolor2);
	border-radius:5px;
	padding:20px;
	color:white;
}

/* INTERACTIVE AUDIO */
.interactive_audio{
	visibility:hidden;
}
.songs_images{
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	margin-top:20px;
}
.songs_images div{
	width:max(250px, 22%);
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	border-radius:15px;
	opacity:0.3;
	border:5px solid #00000036;
	margin:5px;
	height:300px;
}
.songs_images div:hover, .songs_images div:focus, .songs_images div:active{
	opacity:1;
	cursor:pointer;
	font-size:2.5em;
	background-color:black;
}

.controls{
	border:5px solid #cf951f;
	display:flex;
	justify-content:space-evenly;
	margin:30px auto 0 auto;
	border-radius:70px;
	background-color:black;
	width:min(300px, 95%);
}

.controls div{
	opacity:0.5;
	height:100px;
	width:100px;
	background-repeat:no-repeat;
}
.controls div:first-child{
	background-image:url('img/icons_instrus/rewind.svg');
	background-position:center;
	background-size:contain;
}
.controls div:last-child{
	background-image:url('img/icons_instrus/play_pause.svg');
	background-position:left center;
	background-size:auto 100%;
}
.controls div:hover{
	opacity:1;
	cursor:pointer;
}

/* SMARTPHONES ! */

@media all and (max-width: 815px){
	
	#message_accueil{
	background : linear-gradient(to right, #00000096, #00000096);
	}

	article{
		width:100%;
		border-radius:0px;
	}
	nav#myNav{
		display:none;
	}
	label#burger {
    display: block;
	position:fixed;
	background-color:#151515;
	border-radius:30px;
	z-index:10;
	padding:15px;
	top:10px;
	right:10px;
	}
	
	video#bg_video{
		display:none;
	}
	video#bg_video_phone{
		display:block;
	}
	.txt_et_photo_1 article div{
		flex-direction:column;
	}
	.txt_et_photo_1 article div p{
		order:2;
		padding:5%;
		width:100%;
	}
	.txt_et_photo_1 article div img{
		order:1;
		object-fit:cover;
		width:min(400px,90%);
		margin:auto;
	}
	footer > div{
	flex-direction:column;
	}	
	footer div div p{
	padding:5px 0;
	}
	

}
