/* CSS pour la page du docu Circulez */

/* Fonts */

@font-face {
  font-family: 'The Bold Font';
  src: url('../fonts/theboldfont.ttf');
}

#circulezhome {
    
}


/* Loader */

#preloaderdocu {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:#fff; /* change if the mask should have another color then white */
	z-index:99; /* makes sure it stays on top */
}
#loaderdocu {
    position: absolute;
    display: block ;
    top:50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-image: url(../img/roueloader.svg);
    margin:-150px 0px 0px -150px;
    -webkit-animation:spin 1.5s linear infinite;
    -moz-animation:spin 1.5s linear infinite;
    animation:spin 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }



.imgbackground {
    background-image: url(../img/paille.png) ;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    height: 100% ;
   background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
    display : none ;
    
        
}

.introdocu {
    background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
    min-height:100% ;
    position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
    
}

.titreintro {
    
    font-family: 'The Bold Font' ;
    text-align: center ;
    color: #fff ;
    position:relative; 
    font-size: 6.5em ;
    margin: 230px 0px 0px 0px;
    z-index: 300 ;
    background: linear-gradient(#e6646500, #70000066, #e6646500) ; 
    background: linear-gradient(rgba(230, 100, 101, 0), rgba(112, 0, 0, 0.4), rgba(230, 100, 101, 0)) ; 
}

.roueintro {
    
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -245px;
    width: 231px;
    position: relative ;
    z-index: 1 ;
}

.texteintro {
    
    position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
    background-color: #700000b0 ;
    background-color: rgba(112, 0, 0, 0.6901960784313725) ;
    text-shadow: 5px 3px 10px #00000017;
    text-shadow: 5px 3px 10px rgba(0, 0, 0, 0.09019607843137255);
}

.soustitreintro {
    text-align: center;
    color: #fff;
    margin-left: 18px;
    margin-right: 18px;
    font-family: 'Quicksand', sans-serif ;
    font-size: 1.7em ;
}


.fleche {
    color: #fff ;
    font-size: 4em ;
    margin-top: 8% ;
    margin-bottom: 20px; 
}

/* Video Background */

* { box-sizing: border-box; }
.video-background {
  background: #000;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -99;
}
.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
  .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
.vid-info { width: 50%; padding: .5rem; }
.vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
.vid-info .acronym { display: none; }
}

/* Video Background fin */




/* Partie 1 détails docu */

.titredetail {
    
    font-family: 'The Bold Font' ;
}

.detaildocu {
    border-top: 1px solid #e7e7e7;
    padding: 38px 0;
    background-color: white;
    position: absolute;
    top: 100%;
    width: -webkit-fill-available;
}

.pitch {
    text-align: justify ;
}

.titreteaser {
    text-align: center ;
   font-family: 'The Bold Font' ;
   font-size: 5em;
}


/* Video integration */

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
    min-width: 18em;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    padding: 4px ;
}
/* Video integration FIN */


/* Partie 2 informations */

.informations {
    margin-top: 20px;
}

.informations p {
    text-align: right;
    display: inline-block ;
}
.informations h1 {
   font-family: 'The Bold Font' ;
   text-align: center ;
}

.diffuseurs ul li{
   
}

.facebook {
    
 margin-left: 30px;
 margin-right: 30px;
}



/* Media Queries */

@media all and (max-width : 540px ) {
    
    .titreintro {
        font-size: 3.5em ;
        margin-top: 270px ;
    }
    
    .roueintro {
        width: 180px ;
        margin-top: -185px ;
    }
    
    .soustitreintro {
        font-size: 1.14em ;
    }
    
    .fleche {
        font-size: 3em ;
        margin-top: 20% ;
    }
    
    .titredetail {
        text-align: center ;
        font-size: 3.3em ;
    }
    
    .titreteaser {
        font-size : 3.8em ;
    }
    
    .diffuseurs {
        margin-top: 15px;
    }
    
    #loaderdocu {
        width: 200px ;
        height: 200px;
        margin: -100px 0px 0px -100px ;
    }
    .video-background {
        display: none ;
    }
    
    .imgbackground {
        display: block ;
    }
}