body {
    margin: 0 !important;
    height: 100vh;
    overflow-y: hidden;
    font-family: sans-serif;
}

.a-canvas,
a-scene {
    display: none !important;
}

#arjs-video {
    display: none;
}

.screen {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    color: white;
}

.back,
.next,
.continue {
    z-index: 1;
    position: absolute;
    /*bottom: 12px;
    padding: 6px;
    border: 2px solid white;*/
}

.back:hover,
.next:hover,
.continue:hover,
article:hover {
    cursor: pointer;
}

.back {
    left: 12px;
}

.continue {
    left: 48%;
}

.next {
    right: 12px;
}

.active {
    border-color: white !important;
}

.hidden {
    display: none;
}

#movies {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}


article>img {
    width: 100%;
}

#team-count {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
/*
#team-count span {
    margin: 0;
    padding: 6px 12px 6px 12px;
    border: solid 6px black;
    border-radius: 6px;
    font-size: 48px;
}
*/

#team-names input {
    margin: 24px;
}
 
#scr5 video {
    width: 640px;
}

#scr6 section {
    display: flex;
    flex-direction: column;
}

#scr6 article {
    display: flex;
    flex-direction: row;
}

#scr6 .samples {
    flex-grow: 2;
    display: flex;
    flex-direction: row;
}

#scr7 video {
    width: 640px;
}

.onair {
    color: red !important;
    border-color: red !important;;
}

/* --------------------- olivier B ------------------ */
body{
    background: white;
    overflow-x: hidden;
    font-family: 'ashby_mediumregular';
}


img{
    display: block;
}

div{
    box-sizing: border-box;
}

nav{
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 9999;

    visibility: hidden;
}

nav div{
    display: flex;
}

nav a{
    display: block;
    margin: 0 0.5vw;
    margin-top: -2vw;
    transition: all 0.3s;
}

nav a:hover{
    margin-top: -8px;
}


nav img{
    width: 8vw;
    height: auto;
}

h1{
    position: absolute;
    z-index: 10;
}

.centrerH{
    left: 50%!important;
    transform: translateX(-50%);
}

.centrerV{
    top: 50%!important;
    transform: translateY(-50%);
}

.centrerHV{
    left: 50%!important;
    top: 50%!important;
    transform: translate(-50%, -50%);
}

.fadeOut{
    transition:all 0.5s;
    opacity: 0!important;
}

.fadeIn{
    transition:all 0.5s;
    opacity: 1!important;
}

.overlay{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
    top:0;
    left: 0;
}


/* ------------------------- HOME -------------------- */
#scr1{
    background: black;
}
#bgHome{
    position: relative;
}

#bgHome #logosContainer{
    position: absolute;
   top: 47.8vw;
    width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 2vw;
  align-items: center;
}

#bgHome #logosContainer img{
    width: 3.5vw;
    height: auto;
}

#bgHome #logo{
    position: absolute;
    width: 54vw;
    top:4vw;
}

#bgHome #credits{
    position: absolute;
    top:45vw;
    left:5vw;
    width: 15vw;
}

#bgHome #credits2{
    position: absolute;
    width: 100%;
    text-align: left;
    color:white;
  padding: 0 3vw;
  font-size: 0.7vw;
  padding: 0 5vw;
  top: 48.5vw;
}

#bgHome #entrer{
    position: absolute;
    width: 54vw;
    top:22vw;
    background: none;
}

#bgHome #entrer #entrerHover{
    position: absolute;
    top:0;
    left: 0;
    opacity: 0;
     transition:all 0.5s;
}

#bgHome #entrer #btnEntrer{
    position: absolute;
    width:12vw;
    top:6vw;
    left: 19vw;
    opacity: 0;
     transition:all 0.5s;
}

i.next{
    position: absolute;
    /*right:0;*/
}

#bgScr2 header img,
#bgScr3 header img,
#bgScr4 header img,
#bgScr5 header img,
#bgScr6 header img,
#bgScr7 header img,
#bgScr8 header img,
#bgVideotheque header img,
#bgAide header img,
#bgRegle header img,
#bgEnd header img{
    position:absolute;
    width:41vw;
    top:1vw;
    left:1vw;

}

#bgScr2,
#bgScr3,
#bgScr4,
#bgScr5,
#bgScr6,
#bgScr7,
#bgScr8,
#bgVideotheque,
#bgAide,
#bgRegle,
#bgEnd{
    position: relative;
    /*padding: 1.5vw;*/
}

#bgScr2 h1,
#bgScr3 h1,
#bgScr4 .title,
#bgScr5 .title,
#bgScr7 .title,
#bgScr8 .title,
#bgVideotheque .title{
    position:absolute;
    width: 90vw;
    top: 12vw;
    color: black;
    font-size: 2.3vw;
    text-align: center;
}

#bgScr2 h1:before,
#bgScr3 h1:before,
#bgScr4 .title:before,
#bgScr5 .title:before,
#bgScr7 .title:before,
#bgScr8 .title:before,
#bgVideotheque .title:before{
    content:url("../assets/img/hand.svg");
    display: inline-block;
    width: 6vw;
    margin-right: 1vw;
    vertical-align: sub;
}


/* ------------------------- CHOIX FILMS SRC2 -------------------- */
#bgScr2{
    background: white;
    padding-bottom: 0;
}



#bgScr2 #movies{
    position: absolute;
    width: 63vw;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    top:18vw;

}

#bgScr2 #movies img{
    width: 14vw;
    margin: 0.8vw;
    transition: all 0.3s;
}

#bgScr2 #movies img:hover{
    transform: scale(1.05);
    cursor: pointer;
}

#bgScr2 #movies .active img{
    transform: scale(1.1);
    filter: brightness(160%);

}

/* ------------------------- CHOIX EQUIPE SRC3 -------------------- */
#bgScr3{
    background: #E5E5E5;
}


#bgScr3 .continue{
    width: 14vw;
  top: 41vw;
  display: none;
}


#bgScr3 .continue img:last-of-type{
    opacity:0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

#bgScr3 .continue img:last-of-type:hover{
    opacity: 1;
}

#team-count {
    position: absolute;
    top: 18vw;
    width: 31vw;
}

#team-count img{
    width: 4vw;
}

#team-count img:hover{
    cursor: pointer;
}

#team-names {
    position: absolute;
    top:27vw;
    width: 64vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    visibility:hidden;
}

#team-names input{
    border: none;
    background: none;
    position: absolute;
   width: 13vw;
  top: 1.2vw;
  left: 4vw;
  margin: 0;
  color: black;
  font-size: 1.5vw;
}

#team-names input:focus-visible, #team-names input:active, #team-names input:focus-within, #team-names input:focus{
    border:none;
}

#team-names span{
    position: relative;
    margin: 0 1vw;
}

#team-names span img{
    width: 18vw;
    margin-bottom: 1vw;
}

/* ------------------------- SCANNING SRC4 & SCR5 & SCR7-------------------- */
#bgScr4,
#bgScr5,
#bgScr7,
#bgScr8{
    background: #E5E5E5;
}

#scr4 .bgTeamName,
#scr5 .bgTeamName,
#scr7 .bgTeamName,
#scr8 .bgTeamName{
    position: absolute;
    top:12vw;
    width: 31vw;
}

#scr4 h1,
#scr5 h1,
#scr7 h1,
#scr8 h1{
    color:black;
    top:0;
    left: 2vw;
    font-size: 2.1vw;
    margin-top: 1.2vw;
}

#bgScr4 .title,
#bgScr5 .title,
#bgScr7 .title,
#bgScr8 .title{
    position:absolute;
    top: 18vw;

}

.tvScreen{
    position: absolute;
    width: 44vw;
    height: 27vw;
    top: 22vw;
}

.tvScreen .tvScreenImg{
    position: absolute;
    z-index: 10;
}

.tvScreen #waiting{
  position: absolute;
  width: 95%;
  z-index: 1;
}

#scr5 video{
    width: 86%;
    position: absolute;
    z-index: 11;
}
#scr7 video{
    width: 94%;
    position: absolute;
}

#scr5 .tvScreen p{
    position: absolute;
    bottom: -5vw;
    color: black;
    text-align: center;
    width: 150%;
    font-size: 2vw;
    margin: 0;
    font-family: 'ashby_extra_boldregular';
}

#bgScr5 .continue{
    width: 10vw;
    position: absolute;
    top: 49vw;
    left: 70vw;
}

.continue img:last-of-type{
    opacity:0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.continue img:last-of-type:hover{
    opacity: 1;
}

/* ------------------------- SCR6-------------------- */
#bgScr6{
    background: white;
}

#scr6 section{
    position: absolute;
    top: 11vw;
    max-width: 95vw;
    overflow: auto;
}

#scr6 section article{
    margin-bottom: 1vw;
}

#scr6 section article .teamNum{
    width: 6vw;
    position: relative;
}
#scr6 section article .teamNum img{
    width: 5.9vw;
    height: auto;
}
#scr6 section article .teamNum span{
    position: absolute;
    font-size: 3vw;
    width: 100%;
    text-align: center;
    top:1vw;
}

#scr6 section article:nth-child(2n) .teamNum span{
    color:black;
}

#scr6 section .samples{
    margin: 0 0.2vw;
}

#scr6 section .samples div{
    width: 9vw;
    position: relative;
    text-align: center;
    margin: 0 0.1vw;
}

#scr6 section .samples img{
    position: absolute;
}

#scr6 section .samples video{
    width: 82%;
    position: relative;
    margin-top: 0.2vw;
    margin-bottom: -0.3vw;
}

#scr6 section .samples p{
    margin: 0;
    position: relative;
    line-height: 100%;
    font-size: 0.8vw;
}

#scr6 section .record{
    display: none;
}

#scr6 section .play img,
#scr6 section .record img{
    transition: all 0.3s;
    width: 6vw;
    margin: 0 0.1vw;
}

#scr6 section .play img:hover,
#scr6 section .record img:hover{
    transform: scale(0.95);
}


#scr6 .btnBack{
    display: none;
}

/* -------------------------- SCR7 -------------------------- */
#bgScr7 .continue{
    width: 10vw;
    position: absolute;
    top: 49vw;
}

#scr7 .tvScreen p{
    position: absolute;
    top: -4vw;
    color: black;
    text-align: center;
    width: 90vw;
    font-size: 1.5vw;
    margin: 0;
    font-family: 'ashby_extra_boldregular';
}


/* -------------------------- SCR8 -------------------------- */

#scr8 p{
    position: absolute;
    top:17vw;
    width: 90vw;
    color: black;
    text-align: center;
}

#surface{
    position: absolute;
    top: 22vw;
    left: 31vw;
    width: 37vw;
}
.overlayCanvas{
    top: 22vw;
    width: 36vw;
    height: 23.5vw;
    position: absolute;
    background: rgba(0,0,0,0.8);
    display: none;

}

.overlayCanvas img{
    position: absolute;
    width: 14vw;
}

#record{
    width: 5vw;
    top: 50.4vw;
}

#record img{
    position: static;
    opacity: 1;
    transition: all 0.3s;
}

#record img:hover{
    transform: scale(0.97);
}



#scr8 #bravo{
    position: absolute;
    width: 50vw;
    z-index: 1000;
    display: none;
}

#scr8 #bravo:hover{
    cursor: pointer;
}

/* --------------------------------------- REGLE DU JEU --------------------------------------- */

#regle{
    z-index: 999;
}

#bgRegle{
    background: #E5E5E5;
}

#bgRegle .pageRegle{
    position: absolute;
    top: 9vw;
  width: 42vw;
}

#bgRegle .text{
    position: absolute;
    width: 87%;
  height: 90%;
  top: 3vw;
  left: 2.5vw;
  transition: ro;
  transform: rotate(-4deg);
  overflow: auto;
  color: black;
}

#bgRegle .text p, #bgRegle .text li, #bgRegle .text h1, #bgRegle .text h2, #bgRegle .text h3{
    color:black;
    font-family: Calibri, sans-serif;
    font-size: 1.3vw;
    position: static;
}

#bgRegle .text p{
    margin-bottom: 1.3vw;
}

#bgRegle .text ul{
    list-style: disc;
    padding-left: 15px;
    margin-bottom: 1.3vw;
}

#bgRegle .text ul ul{
    list-style: square;
}

#bgRegle .text ol{
    list-style: decimal;
     padding-left: 15px;
 }
 #bgRegle .text h1{
    font-weight: bold;
    font-size: 2vw;
    margin-bottom: 1.3vw;
    text-align: center;
 }
  #bgRegle .text .baseline{
    font-weight: bold;
    font-size: 1.7vw;
    margin-bottom: 1.3vw;
    text-align: center;
  }

 #bgRegle .text h2{
    font-weight: bold;
    font-size: 1.5vw;
    margin-bottom: 1.3vw;
    margin-top: 2.5vw;
 }

  #bgRegle .text h3{
    font-weight: normal;
    text-decoration: underline;
  }


/* --------------------------------------- AIDE --------------------------------------- */

#aide{
    z-index: 999;
}

#bgAide{
    background: #E5E5E5;
}

#aide .listIcon{
    position: absolute;
    top:17vw;
    width: 50vw;
    display: flex;
}
.col2{
    width: 50%;
}

.col2 ul{
    height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
    padding: 0;
}

#aide .col2 li{
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#aide li img{
   width: 3vw;
  margin-right: 1vw;
}

#aide .col2 li p{
    color: black;
    font-size: 1.4vw;
}



/* --------------------------------------- VIDEOTHEQUE --------------------------------------- */


#videotheque{
    z-index: 999;
}

#bgVideotheque{
    background: white;
}

#videotheque #videoChoice{
    position: absolute;
    top: 0;
    width: 100%;
  height: 100%;
}


#videotheque #movies{
    position: absolute;
    width: 79vw;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    top:18vw;
    padding-top: 5vw;

}

#videotheque #movies img{
    height: 11vw;
    width: auto;
    margin: 0.5vw;
    transition: all 0.3s;
}

#videotheque #movies img:hover{
    transform: scale(1.05);
    cursor: pointer;
}

#videotheque .film{
    position:absolute;
    top:17vw;
    color: black;
    display: none;
    width: 67vw;
    height: 34vw;

}

#videotheque .btnPrevFilm{
    position: absolute;
    top:10vw;
    width: 5.5vw;
    left: -12vw;
    transition: all 0.3s;
    cursor: pointer;
}

#videotheque .btnPrevFilm:hover{
    transform: translateX(-10px);
}

#videotheque .btnNextFilm{
    position: absolute;
    top:10vw;
    width: 5.5vw;
    left: 73vw;
    transition: all 0.3s;
    cursor: pointer;
}

#videotheque .btnNextFilm:hover{
    transform: translateX(10px);
}

.film .col1{
    position: absolute;
  top: 0;
  left: 0;
  width: 33%;
}

.col1 img{
    max-width: 100%;
  height: auto;
}

.film .col1 .btnPlay{
    position: absolute;
    transition: all 0.3s;
    width: 5vw;
}

.film .col1 .btnPlay:hover{
    margin-left: 5px;
}

.film .col2{
    position: absolute;
  top: 0;
  left: 35%;
  width: 65%;
}

.film h3{
    font-size: 2vw;
    margin: 0;
}

.film h4{
    margin: 0;
}

.film .pays{
    margin: 0 0 0.3vw 0;
}

.film .real span{
    font-family: 'ashby_mediumregular';
    font-size: 1.3vw;
    font-weight: bold;
}
.film .real{
    margin-top: 0.8vw;
    font-family: Calibri, sans-serif;
}

.film .real:after{
    content:"";
    display: block;
    width: 20vw;
    height: 3px;
    background: black;
    margin: 1.2vw 0;
}

.film h4{
    margin-bottom: 0;
  font-size: 1.3vw;
}

.film p{
    font-family: Calibri, sans-serif;
    line-height: 125%;
    margin: 0.1vw 0;
    font-size: 1.3vw;
  letter-spacing: 0.05vw;
}

.film .keywords p{
    font-family: 'ashby_mediumregular';
    font-size: 1.3vw;
  line-height: 120%;
  margin-top: 1.5vw;
}

.film .doc p{
    font-family: 'ashby_mediumregular';
    font-size: 1.3vw;
  line-height: 120%;
  margin-top: 1.5vw;
  text-transform: uppercase;
}

.film .doc{
    position: relative;
}

.film .doc .btnDownload{
    position: absolute;
    top: -0.5vw;
  left: 19vw;
  width: 11vw;
  cursor: pointer;
}

.film .doc .btnDownload img{
    top:0;
    left: 0;
    position: absolute;
}

.film .doc .btnDownload img:last-of-type{
   opacity:0;
}



#videotheque .btnBackFilm{
    position: absolute;
  width: 5.5vw;
  height: 5.5vw;
  transition: all 0.3s;
left: inherit;
    top: -7vw;
    transform: rotate(90deg);
}

#videotheque .btnBackFilm:hover{
     cursor: pointer;
     transform: translateY(-10px) rotate(90deg);;
}

#videotheque .overlay video{
    width: 80vw;
    position: absolute;
}



/* --------------------------------------- ECRAN DE FIN --------------------------------------- */

#end{
    background: black;
    z-index: 100;
}

#end p{
    position: absolute;
}

#end #replay{
    position: absolute;
    top:35vw;
    width: 8vw;
    cursor: pointer;
}

#end #replay img:last-of-type{
    opacity:0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

#end #replay img:last-of-type:hover{
    opacity: 1;
}




.btnNext{
    position: absolute;
    right: 2vw;
    width: 5.5vw;
    height: 5.5vw;
    transition: all 0.3s;
    transform: rotate(-360deg);
}

.btnNext:hover{

    cursor: pointer;
     transform: rotate(0deg);
}

.btnBack{
    position: absolute;
    left: 2vw;
    width: 5.5vw;
    height: 5.5vw;
    transition: all 0.3s;
    transform: rotate(-360deg);
}

.btnBack:hover{

    cursor: pointer;
     transform: rotate(0deg);
}
