html,body
{
	margin:0;
	padding:0;
	font-family:Avenir Next;
}

header
{
	width:70%;
	height:auto;
	margin:auto;
	margin-bottom:0em;
	margin-top:1em;
	text-align:center;
}

#logo
{
	width:25%;
	margin:auto;
}

#logo-art
{
	width:25%;
	margin:auto;
	margin-left:-5%;
}

#back
{
	width:5%;
	float:left;
	margin-top:-0.2%;
}

main
{
	width:70%;
	margin:auto;
	margin-top:0em;
}

a
{
	text-decoration:none;
	color:black;
}

figure
{
	width:100%;
	margin:auto;
	text-align:center;
}

figure img
{
	width:100%;
	/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

blockquote
{
    color:white;
}

h1
{
	text-align:center;
}

h2
{
	color:white;
	font-size:1.5em;
	font-weight:450;
	margin-top:-150px;
}

h3
{
	color:white;
	font-size:1.3em;
	font-weight:350;
	margin-top:-10px;
}

article
{
	font-size:1.2em;
	width:70%;
	margin:auto;
}

p
{
	width:90%;
	margin:auto;
	padding:1em;
	text-align:center;
	color:#AAA;
}

.block
{
	width:100%;
	margin:auto;
	padding-top:0em;
	display:inline-block;
}

.block figure 
{
	width:50%;
	/*margin:1% 1% 1%;*/
	float:left;
}

.block figure img
{
	/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

#bloc
{
	width:100%;
	margin:auto;
	margin-top:-5em;
	display:inline-block;
}

#bloc figure 
{
	width:48%;
	margin:2% 1% -6em;
	float:left;
}

#bloc figure img
{
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#home
{
	text-align:center;
	padding-top:5em;
	padding-bottom:5em;
}

#home img
{
	width:50%;
}

#home a
{
	width:25em;
	padding:1em;
	margin:auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-shadow: 0 0 5px black;
	text-align:center;
	display:block;
	text-decoration:none;
	margin-top:10px;
	font-family:Avenir Next;
	color:white;
}

#home a:hover
{
	background:white;
	color:black;
	text-shadow: 0 0 5px white;
}

#slide
{
	height:570px;
    overflow:hidden;
    position:relative;
    width:100%;
}

#slide ul 
{
    list-style:none;
    position:relative;
    margin:0;
}

#slide ul li {
    opacity:0;
    position:absolute;
    top:0;
    left:0;
    /* css3 animation */
    -webkit-animation-name: anim_slides;
    -webkit-animation-duration: 24.0s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-name: anim_slides;
    -moz-animation-duration: 24.0s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;
}

#slide ul  li:nth-child(2) 
{
    -webkit-animation-delay: 6.0s;
    -moz-animation-delay: 6.0s;
}

#slide ul  li:nth-child(3) 
{
    -webkit-animation-delay: 12.0s;
    -moz-animation-delay: 12.0s;
}

#slide ul  li:nth-child(4) 
{
    -webkit-animation-delay: 18.0s;
    -moz-animation-delay: 18.0s;
}

#slide ul li img 
{
    display:block;
}

@-webkit-keyframes anim_slides {
    0% {
        opacity:0;
    }
    6% {
        opacity:1;
    }
    24% {
        opacity:1;
    }
    30% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

/* Acordeon styles */
.tab 
{
  	position: relative;
  	margin-bottom: 1px;
  	width: 100%;
  	color: black;
  	overflow: hidden;
  	text-align:center;
  	margin:auto;
  	margin-bottom:1em;
}

input 
{
	position: absolute;
  	opacity: 0;
  	z-index: -1; 
  	text-align:center;
  	margin:auto;	
}

label 
{
  	position: relative;
  	display: inline-block;
  	padding: 1em;
  	font-size:2.5em;
  	font-weight: 700;
  	line-height: 1;
  	cursor: pointer;
  	text-align:center;
  	margin:auto;
  	margin-top:1em;
}

.tab-content 
{
  	max-height: 0;
  	overflow: hidden;
  	-webkit-transition: max-height .35s;
  	-o-transition: max-height .35s;
  	transition: max-height .35s;
  	text-align:center;
  	margin:auto;
}

/* :checked */
input:checked ~ .tab-content 
{
  	max-height: 100em;
  	text-align:center;
  	margin:auto;
  	padding-top:4em;
}

/* Icon */
label::after 
{
  	position: absolute;
  	display: block;
  	-webkit-transition: all .35s;
  	-o-transition: all .35s;
  	transition: all .35s;
  	text-align:center;
  	margin:auto;
}

input[type=checkbox] + label::after 
{
  	content: "+";
  	text-align:center;
  	margin:auto;
}

input[type=checkbox]:checked + label::after 
{
  	transform: rotate(315deg);
  	text-align:center;
  	margin:auto;
}

#bg { 
    position: fixed;
    top:25em;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -200;
    transform: translateX(-50%) translateY(-50%);
  background-size: contain;
  transition: 1s opacity;
}

#vid-art
{
	width: 100%;
    height: auto;
    margin:auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#adv
{
	color:white;
	font-size:8em;
}

svg
{
	top:3em;
	left:0%;
	position:relative;
	visibility: hidden;
}

figure:hover svg
{
	visibility: visible;
}

#share
{
	position:relative;
	float:right;
	top:0em;
}

.block svg
{
	left:0%;
}

footer
{
	text-align:center;
	padding:1em;
}

@media only screen 
    and (min-device-width : 375px)
    and (max-device-width : 1024px)
{
	#home{margin:auto;}
	#home img {width:100%;}
	#home a{width:90%;padding:0.5em;}
	html {background-attachment:scroll;fixed;}
	#bg{top:0;background-size: auto;height:100%;width:auto;transform: translateX(-50%) translateY(0%);}
	header{width:100%;margin-bottom:0;height:auto;text-align:center;}
	#back{width:10%;margin-top:-1.5%;}
	#logo{width:40%;}
	#logo_bbw{width:90%;}
	#logo-art{width:40%;margin-left:-10%;}
	main{width:100%;margin:auto;margin-top:2em;}
	h2{font-size:1.3em;font-weight:600;margin-top:-90px;}
	h3{color:white;font-size:1em;font-weight:400;margin-top:-15px;}
	article{width:85%;margin:auto;font-size:0.9em;}
	label{margin-top:-1em;}
	p{margin:auto;text-align:justify;padding:1em;color:#AAA;width:95%;}
	.block{padding-top:0em;}
	.block figure{width:100%;margin:0;}
	#bloc{margin-top:0em;}
	#bloc figure{width:100%;margin:0;margin-top:-6em;}
	#adv{font-size:4em;}
	svg{left:0%;}
	.block svg{left:0%;}
	#share{top:-1.5em;}
	#slide{height:300px;overflow:hidden;width:100%;top:-60px;padding-top:-50px;}
	#slide ul li{top:0em;}
}