html,
body {
    user-select: none;
    height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
    font-size: 14px;
    border: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a {
    color: #FFF;
}

*{
    box-sizing:border-box;
    touch-action: none;
}

.codeaccess{
    font-size: 2.8em;
}
.yellow{
    color:#FCB322;
}

.btn-demo{
        background-color: #FFC107;
        color: #222;
    }
.btn-demo:hover{
    background-color: #222;
    color: #FFC107;
}

#appplication{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


#firstload{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 1.8em;
    background: rgb(30,30,30);
    background: linear-gradient(180deg, rgba(20,20,20,1) 0%, rgba(49,49,49,1) 100%);
    cursor: pointer;
}
#firstload img.logo{
    width: 30%;
    height: 30%;
    margin: 0 35% 5% 35%;
}
#firstload span{
    width: 100%;
}


img.pagebackground {
      position: fixed;
      left: -50%;
      top: -25%;
      z-index: -1;
      width: 200%;
      aspect-ratio: 16 / 9;
      filter: blur(6px);
}

#container{
    position: relative;
    width: 960px;
    /*aspect-ratio: 16/9;*/
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: auto;
    align-content: start;
    margin: auto;
}

@media (min-width: 300px) {
    #container {aspect-ratio: 1.95;}
}
@media (min-width: 960px) {
    /*#container {aspect-ratio: 16/9;}*/
}


#header{
    width: 100%;
    height: 12%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

#headertext{
    margin-left: 1%;
    width: 100%;
    text-align: center;
    font-size: 1.7em;
}

.titleplayed{
    font-size: 1.2em;
    font-weight: 600;
    color: #FFF;
}

.smallcover{
    position: absolute;
    z-index: 1;
    left: 3%;
    top: 15%;
    height: 25%;
}
.songtime{
    color:#FCB322;
    font-size: 1em;
    font-weight: 700;
}


.duration {
    width: 100%;
    text-align: center;
    color: #000;
    position: absolute;
}

#main{
    position: relative;
    width: 100%;
    height: 76%;
    z-index: 1;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: auto;
    align-content: start;
}

#video,#animate{
    position: absolute;
    z-index: 2;
    width: 80%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    left:0%;
/*    zoom: 4;*/
}


#animate{
    z-index: 3;
}

#animate video{
    zoom: 1.5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#animate img{
    position: absolute;
    margin-top: -5%;
}

#animate .yellow{
    filter: invert(40%) sepia(103%) saturate(644%) hue-rotate(333deg) brightness(105%) contrast(200%);
}

#pannel{
    position: absolute;
    z-index: 2;
    width: 20%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    right: 0;   
}

#pannel .pannelbackground{
    background-size: cover;
    background-position: center;
    height: 100%;
}

#playerbackground {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 200%;
    min-height: 200%;
    transform: translateX(-50%) translateY(-50%);
    zoom: 2.5;
}


#overlay {
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#video img{ /* loader */
    position: absolute;
    width:33%;
    height:33%;
    z-index: 5;
}

#player0,#player1{
    position: relative;
    pointer-events: none;
    width: 0%;
    height:0%;
    top: -20%;
    z-index: 3;
    /*transform: scale(1.4);
    transform-origin: center;*/
}

#footer{
    width: 100%;
    height: 12%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: auto;
    align-content: start;
}

#bottomplayer {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: 140%;
    margin-top: -10%;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}
.bottomleft{
    display: inline-flex;
    width: 80%;
    padding: 0 3%;
}

#timeremaning{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 18%;
    height: 100%;
    padding-left: 3%;
}

#commands { 
    position: relative;
    width: 78%;
    height: 98%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #000000;
    border-radius: 50px 0px 50px 0px;
    border: 3px solid #FFF;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
@media (max-width: 860px) {
    #commands { 
        border-radius: 25px 0px 25px 0px;
        border: 2px solid #FFF;
    }
}

.bottomright{
    display: inline-flex;
    width: 20%;
}

#qrcode {
    display: flex;
    flex-direction: column;
    justify-content: center;    
    text-align: center;
    padding: 0 4%;
    margin-top: -10%;
}
#qrcode img{
    margin: 0 18% 14%;
}
#qrcode span{
    font-size: .9em;
    font-weight: 700;
    margin-bottom: 4%;
    text-transform: uppercase;
    color: #FFCA07;
}

.nexttitle{
    position: absolute;
    z-index: 5;
    color: white;
    font-size: 1.3em;
    line-height: 1.1;
    margin: 0 15%;
    text-align: center;
    letter-spacing: -0.5;
    margin-top: -35%;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
@media (min-width: 1024px) {
    .nexttitle {
        margin: 0 12%;
    }
}
.nexttitle span{
    display: flex;
    font-size: .7em;
    font-weight: 700;
    color: #FFC107;
    justify-content: center;
    margin-bottom: 4%;
}
@media (min-width: 1024px) {
    .nexttitle span{
        display: flex;
        margin-bottom: 12%;
    }
}

.nexttitle::before{
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 600 !important;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    content: "\F292";
    color: #FCB322;
    font-size: 2em;
    width: 100%;
    margin-bottom: 6%;
}
.nexttitle::after{
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    content: "\F22C";
    color: #FFF;
    font-size: 1.5em;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .nexttitle::after{
        margin-top: 10%;
        margin-bottom: 4%;
    }
}


i.zap::before{
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.15em;
    -webkit-font-smoothing: antialiased;
    content: "\F231"; /*F417*/
    color: #FFC107;
}

i.vote::before{
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.15em;
    -webkit-font-smoothing: antialiased;
    content: "\F415"; /*F417*/
    color: #FFC107;
}

#pub{
    position: absolute;
    width:80%;
    height:100%;
    left: 0;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index: 10;
    pointer-events: none;
}


#pub .message{
    position: relative;
    justify-content:center;
    align-items:center;
    text-align: center; 
    color: #FFF;/*rgba(255, 255, 255, 0.5);*/
    text-shadow: 1px 1px 2px black;
    font-weight: 700;
    line-height: 1;
    padding: 0 2%;
    margin: 0 10%;
}

#pub .message img{
    max-height: 120px;
    margin-top: -30px;
}


#contextmenu,#contextsubmenu{
    position: absolute;
    left: 0%;
    width:30%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index: 10;
    background:black;
    z-index: 10;
}

#contextmenu .choices, #contextsubmenu .subchoices{
    position: relative;
    justify-content:center;
    align-items:center;
    text-align: center; 
    font-weight: 700;
    font-size: 1.8em;
    line-height: 1.8;
    color: white;
    padding: 0 2%;
    margin: 0 5%;
}

#contextsubmenu{
    z-index: 11;
}

#contextsubmenu .subchoices{
    margin: 0 1%;
    font-size: 1.3em;
    line-height: 1.8;
    height: 80vh;
    overflow-y: scroll;
}


.visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s linear;
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1s, opacity 1s linear;
}


/* COMPTEUR ***********************  */
.rs-control{
    margin-top: 5%;
}
.rs-range-color {
  background: #FCB322;
}
.rs-path-color {
  background: #FFF;
}
.rs-bg-color {
  background: rgba(0, 0, 0, 1);
}
.rs-border {
  border: none;
}
.rs-handle {
  display: none;
}
.rs-tooltip-text {
  font-size: 1.3em;
  letter-spacing: -1;
  color: #FFF;
  font-weight: bold;
  width: 75%;
  -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* NEXT PLAYS INFO ***********************  */

.nextPlaysinfo{display: inline-flex; width:100%; height:45px; margin-left: 3%; position:relative; border:none; overflow:hidden;}
.nextPlaysinfo>.bn-title {display: flex;flex-direction: column;justify-content: center;width: 3%;height: 45px;position: relative;text-align: center;color: #FCB322;font-weight:700;font-size: 2.4em; margin-left: 1%; margin-right: 4%}

#commands .lgd{
    position: absolute;
    color: #FFC107;
    font-size: .9em;
    bottom: 8%;
    left:12%;
}
.scroll {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    user-select: none;
    width: 88%;
    line-height: 45px;
}

.scroll div {
    font-weight: 700;
    font-size: 1.5em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #FFF;
}

.scroll span {
    color: #FCB322;
    margin-left: 5px;
}
.scroll small {
    font-size: .7em;
    font-weight: 700;
}


/* VUMETRE */

.vumeter{
    display: inline;
    height: 30px;
    filter: invert(40%) sepia(103%) saturate(644%) hue-rotate(333deg) brightness(105%) contrast(200%);
    margin-top: -10px;
    margin-right: 5px;
}


*:focus {
    outline: none;
}

@media (min-width: 360px) {
    body {font-size: 8px;}
}
@media (min-width: 400px) {
    body {font-size: 9px;}
}
@media (min-width: 480px) {
    body {font-size: 10px;}
}
@media (min-width: 540px) {
    body {font-size: 12px;}
}
@media (min-width: 960px) {
    body {font-size: 14px;}
}
@media (min-width: 1280px) {
    body {font-size: 16px;}
}
@media (min-width: 1680px) {
    body {font-size: 19px;}
}