@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

/*---------------------------------------------------------------
----------------------- COMMON ----------------------------------
---------------------------------------------------------------*/
body {
   font-family: 'Comfortaa', cursive;
   overflow: hidden;
}
h1{
    color: white;
    font-size: 32pt;
    margin-bottom: 46px;;
}
.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.colNav a {
    color: white;
}
.colNav a:hover {
    text-decoration: none;
    
}
.ytp-popup {
   display: none !important;
}
.ytp-panel-menu {
    display: none !important;
}
/*---------------------------------------------------------------
----------------------- FORM ----------------------------------
---------------------------------------------------------------*/

div.main-wrapper{
    display: flex;
    height: 85vh;
    justify-content: center;
    align-items: center;
}

.nav{
    width: 100vw;
    height: 14vh;
}

div.container.bannir{
    text-align: center;
    font-size: 100px;
    padding-top: 50px;
}

form#loginForm{
    border-radius: 8px;
    display: flex;  
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    width: 985px;
    padding: 30px 0;
}

div#form{
    display: flex;
    font-family: 'Space Grotesk', sans-serif;
    height: 650px;
    
}

.askQuestionForm.up {
    transform: translateY(-120%);
}

.askQuestionForm {
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.tchat-field.hide {
    transform: translate(0px, 80px);
}

.chat-question {
    display: flex;
    flex-direction: column-reverse; /* Reverse the order of the child elements */
    background-color: #E5E5E5;
}

.question-field {
    order: 2; /* Set the order of the question field to 2 to move it to the bottom */
}


/*---------------------------------------------------------------
----------------------- INPUTS ----------------------------------
---------------------------------------------------------------*/

form#loginForm input{
    display: block;
    border-radius: 8px;
}

form#loginForm input:focus{
    outline: none;
}

form#loginForm input#login, form#loginForm input#password, form#loginForm input#login2, form#loginForm input#login3{
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    height: 100%;
    color: white;
    font-size: 18px;
    text-align: center;
    border-radius: 50px;
}

form#loginForm input#login::placeholder, form#loginForm input#password::placeholder, form#loginForm input#login2::placeholder, form#loginForm input#login3::placeholder{
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
}

div.input-wrapper{
    margin-bottom: 38px;
    height: 60px;
    width: 525px;
}

form input#submit{
    font-size: 22px;
    font-weight: bold;
    background-color: #11396F;
    border: none;
    color: white;
    padding: 10px 35px;
    font-family: 'Space Grotesk', sans-serif;
    margin: auto;
    margin-top: 23px;
    width: 100%;
    height: 60px;
    border-radius: 50px;
    transition: ease-in-out 0.2s;
}






/*---------------------------------------------------------------
----------------------- ICONS ----------------------------------
---------------------------------------------------------------*/


i.fa-user, i.fa-lock{
    color: #11396F;
    z-index: 9;
    top: 50%;
    left: 33px;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

/*---------------------------------------------------------------
----------------------- ERRORS ----------------------------------
---------------------------------------------------------------*/

.error{
    text-align: center;
    color: rgb(194, 22, 22)!important;
}

/*---------------------------------------------------------------
----------------------- LIVE ----------------------------------
---------------------------------------------------------------*/

/*---------------------------------------------------------------
----------------------- LIVE ----------------------------------
---------------------------------------------------------------*/

.video-player{
    padding-left: 0;
    padding-right: 0;
    height: 86vh;

}

.tchat-column{
    padding-left: 0;
    padding-right: 0;
    height: 86vh;
}

.height-player{
    height: 86vh !important;
}

.height-player-full{
    height: 86vh !important;
}

iframe#live-video{
    width: 100%;
    height: 95%;
}
.hide {
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   z-index: 99;
}
.control {
   width: 100%;
   height: 40px;
   bottom: 0;
   left: 0;
   z-index: 998;
   background-color: #101010 !important;
}
.control i {
   font-size: 17px;
   margin-left: 15px;
   color: white;
}
.fa-solid {
   cursor: pointer;
}
.tchat{
    height: calc(100% - 79px);
    max-height: calc(100% - 79px);
    background-color: #f7f7f7;
    padding: 20px 40px 80px 20px;
    overflow-y: auto;
}

.tchat-field{
    background-color: white;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    width: 100%;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease-in-out;
    order: 1;
    transform: translateY(-90%);
}

.tchat-field input{
    border-radius: 31px;
    border: none;
    height: 45px;
    width: 80%;
    background-color: #E5E5E5;
    padding-left: 20px;
}

.tchat-field input:focus, input#question:focus{
    outline: none;

}

.mute-chat{
    background-color: white;
    height: 79px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    width: 100%;
}

.mute-chat input{
    border-radius: 31px;
    border: none;
    height: 45px;
    width: 80%;
    background-color: #E5E5E5;
    padding-left: 20px;
}

.mute-chat input:focus, input#question:focus{
    outline: none;

}

i.sendChat{
    font-size: 35px;
    margin-left: 20px;
}

i.sendChatSilence{
    font-size: 35px;
    margin-left: 20px;
}

.hideLink1 {
    bottom: 0;
    right: 50px;
    width: 70px;
    height: 38px;
    background: none;
}
.hideLink2 {
   top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: none;
}

.play-pause-controls{
    padding: 2px;
    background-color: red;
    border-radius: 100%;
    width: 28px;
    height: 28px;
    margin-left: 15px;
    cursor: pointer;
}

.play-pause-controls i{
    margin-left: 6px;
    line-height: 25px;
}

.volume-controls{
    right: 30px;
    margin-top: 4px;
}
.titreLive {
   font-size: clamp(14px, 2.5vw, 8em);
}

/*---------------------------------------------------------------
----------------------- QUESTION ----------------------------------
---------------------------------------------------------------*/

.askQuestionForm {
	display: flex;
    width: 100%;
    padding: 0 3em;
    justify-content: flex-start !important;
}

.askQuestionForm h3{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: normal;
    color: white;
    margin-right: 35px;
    display: flex;
    align-items: center;
}

.askQuestionForm textarea{
    margin-right: 18px;
    width: 25vw;
    font-size: 20px;
    padding-left: 15px;
    height: 80px;
}

.askQuestionForm textarea:focus{
    outline: none;
}

.askQuestionForm textarea::placeholder{
    font-size: 20px;
}

.askQuestionForm input{
    background-color: #11396F;
   color: white;
   width: 153px;

   border-radius: 6px;
   border: none;
   font-size: 26px;
   font-weight: bold;
   margin-left: 10px;
   font-weight: 300;
}

.askQuestionForm p{
    color: white;
    font-weight: 200;
}

.askQuestionForm :nth-child(1) { order: 1; }
.askQuestionForm :nth-child(2) { order: 2; }
.askQuestionForm :nth-child(3) { order: 3; }
.askQuestionForm :nth-child(3) {

    }
.envoyer{
    transform: translate(0px, 20px);
}

.askQuestionLive{
    text-align: center;
}
.askQuestionLive:hover{
    cursor: pointer;
}
.question-field{
    transform: translate(0, 20%);
}


/*---------------------------------------------------------------
----------------------- NAME USER ----------------------------------
---------------------------------------------------------------*/

.name-wrapper{
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 99;
}

.name-wrapper input, .name-wrapper p{
    width: 65%;
    text-align: center;
    margin-top: 2vh;
    font-size: 18px;
}

.name-wrapper input{
    margin-top: 2vh;
    height: 50px;
    border: none;
    background-color: #dddddd;
    border-radius: 8px;
}

.name-wrapper input:focus{
    outline: none;
}

.name-wrapper input.nameSubmit{
    background-color: #11396F;
    color: white;
    font-weight: 400;
    margin-bottom: 2vh;
}

/*---------------------------------------------------------------
----------------------- FLUX LIVE -------------------------------
---------------------------------------------------------------*/
.flux_live {
   height: 100vh;
   width: 100vw;
   overflow: hidden;
}
.bandeau {
   max-width: 500px;
   top: 40vh;
   padding: 20px 30px;
   right: -100%;
   color: white;
}
.bandeau-ppt {
   padding: 20px 30px;
    opacity: 0;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bandeau-ppt .from-ppt {
   font-size: 2.5vw;
}
.bandeau-ppt .message-ppt {
   font-size: 1.5vw;
   text-align: center;
}
.bandeau .top {
   width: 100%;
   display: flex;
   align-items: center;
}
.bandeau-ppt .top {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center
}
.logo_flux {
   width: 60px;
   margin-bottom: 20px;
}
.bandeau .top p{
   margin-left: 20px;
   display: inline;
}
.container-moderateur iframe#live-video {
    width: 100%;
    height: 100%;
}
/*---------------------------------------------------------------
----------------------- POPUP LANG -------------------------------
---------------------------------------------------------------*/

.popUpLang h1, .popUpLang h2{
    color: black;
}

.popUpLang{
    position: absolute;
    z-index: 999;
    width: 700px;
    height: 500px;
    top: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: white;
   left: -100vw;
    border-radius: 20px;
}

.popUpLangFilter{
    width: 100vw;
    height: 100vh;
    background-color:rgba(59, 59, 59);
    opacity: 0;
    position: absolute;
    z-index: 999;
    transition: all 0.2s ease-in-out;
}

.separator{
    content: '';
    height: 2px;
    width: 70%;
    background-color: rgb(71, 71, 71);
    margin: 30px 0;
}

.popup-title-wrapper-fr, .popup-title-wrapper-de{
    margin-top: -200px;
}


.popUpLang h1{
    margin: 0;
}

.popUpLang h2{
    padding: 25px 0;
    font-size: 24px;
}


.popUpLang img{
    padding: 5px;
}

.french-lang{
    left: 30%;
    top: 50%;
}

.dutch-lang{
    right:   30%;
    top: 50%;
}

.lang-text{
    padding-top: 14px;
}

.french-lang:hover p{
    text-decoration: underline;
}

.french-lang:hover{
    cursor: pointer;
}

.french-lang:hover img{
    padding: 0;
    transition: all 0.2s ease-in-out;
}

.dutch-lang:hover p{
    text-decoration: underline;
}

.dutch-lang:hover{
    cursor: pointer;

}

.dutch-lang:hover img{
    padding: 0;
    transition: all 0.2s ease-in-out;
}

.valider-lang{
    width: 130px;
    height: 40px;
    background-color: red;
    box-shadow: 1px 1px 4px lightgrey;
    color: white;
    border: none;
    top: 83%;
}

.valider-lang:focus{
    outline: none;
}

@media only screen and (max-width: 760px){
    .popUpLang{
        width: 100vw;
        height: 100vh;
        border-radius: 0px;
    }

    .popUpLang h2{
        font-size: 20px;
        width: 80%;
    }
}
@media only screen and (max-width: 590px){
   .french-lang {
      left: 25%;
   }
   .dutch-lang {
      right: 25%;;
   }
}
@media only screen and (max-width: 414px){
   .french-lang {
      left: 15%;
   }
   .dutch-lang {
      right: 15%;
   }
}
/*---------------------------------------------------------------
----------------------- MEDIA QUERIES LOGIN ----------------------------------
---------------------------------------------------------------*/

@media screen and (max-width: 1200px){

h1{
    font-size: 20px;
    transform: translateY(-22px);
}

form{
    width: 350px;
}

div#form{
    height: 500px;

}

form#loginForm{
    width: 700px;
}

form input#login, form input#password, form input#login2{
    font-size: 16px;
    padding-left: 50px;
    
}
    #nav > div > div.col-xl-2.col-0.colNav.d-xl-flex.align-items-center.pr-5.justify-content-end{
        display: none;
    }

div.input-wrapper{
    margin-bottom: 20px;
    height: 54px;
    width: 450px;
}

form input#submit{
    font-size: 20px;
}

form input#login::placeholder, form input#password::placeholder, form input#login2::placeholder{
    font-size: 16px;

}

.question-wrapper{
    flex-direction: column;
}

.askQuestionForm{
    flex-wrap: wrap;
    padding: 0 3em;
}

.askQuestionForm textarea, .askQuestionForm .question-field{
    width: 100%;
    height: 100px !important;
    margin-left: 6px;
    padding: 0px;
}

.askQuestionForm input{
    width: 170px;
    height: 60px;
    font-size: 14px;
}


    .container-fluid.live-page{
        transform: translateY(-7%);
    }
    .tchat-column{
        transform: translateY(10%);
    }
    .video-player{
        height: 50vh;

    }
    form.askQuestionForm{
        height: 40vh;
    }
    .askQuestionForm.up {
        transform: translateY(-112%);
    }
    .question-field{
        top: 8vh!important;
        position: absolute;
    }
    .askQuestionLive{
        background-color: #E5E5E5;
        position: absolute;
        top: 0px;
    }
    .envoyer{
        width: 100%;
        position: absolute;
        top: 215px;
    }
    #nav > div > div.col-xl-2.col-0.colNav.d-xl-flex.align-items-center.pr-5.justify-content-end{
        position: absolute;
        font-size: 12px;
        text-align: right;
        top: 7vh;
        left: 16px;
        height: 0px;
    }


    .addMessage{
        transform: translateY(-7%);
    }
    .tchat-field {
        transform: translateY(-10.5vh)!important;
    }
    div.mute-chat{
        transform: translateY(-5.5vh)!important;
    }
    .wrapper-silence{
        transform: translateY(-10%);
    }

.askQuestionForm :nth-child(1) { order: 1; }
.askQuestionForm :nth-child(1) {     
    width: 95%;
    text-align: center;
    position: absolute; }
.askQuestionForm :nth-child(2) { order: 3; }
.askQuestionForm :nth-child(3) { order: 2; }


}
.deleteButton{
    border: none;
}
.banButton{
     border: none;
 }
.silenceButton{
    border: none;
}


@media screen and (max-width: 800px){

    h1{
        font-size: 28px;
    }
    h2{
        font-size: 24px;
    }

    form{
        width: 350px;
    }
    
    div#form{
        height: 500px;
    
    }
    
    form#loginForm{
        width: 500px;
    }
    
    form input#login, form input#password, form input#login2{
        font-size: 16px;
        padding-left: 50px;
        
    }
    
    div.input-wrapper{
        margin-bottom: 20px;
        height: 54px;
        width: 350px;
    }
    
    form input#submit{
        font-size: 20px;
    }
    
    form input#login::placeholder, form input#password::placeholder, form input#login2::placeholder{
        font-size: 16px;
    
    }

    .askQuestionForm :nth-child(1) { order: 1; }
    .askQuestionForm :nth-child(2) { order: 2; }
    .askQuestionForm :nth-child(3) { order: 3; }

    .askQuestionForm input{
        font-size: 16px;
    }
    .deleteButton{
        margin-right: 10px;
    }

}

    @media screen and (max-width: 800px){

    form{
        width: 350px;
    }
    
    div#form{
        height: 500px;
    
    }
    
    form#loginForm{
        width: 500px;
    }
    
    form input#login, form input#password, form input#login2{
        font-size: 16px;
        padding-left: 50px;
        
    }
    
    div.input-wrapper{
        margin-bottom: 20px;
        height: 54px;
        width: 350px;
    }
    
    form input#submit{
        font-size: 20px;
    }
    
    form input#login::placeholder, form input#password::placeholder, form input#login2::placeholder{
        font-size: 16px;
    
    }}
    
@media screen and (max-width: 560px){

        form{
            width: 350px;
        }
        
        div#form{
            height: 500px;
        
        }
        
        form#loginForm{
            width: 300px;
        }
        
        form input#login, form input#password, form input#login2{
            font-size: 16px;
            padding-left: 50px;
            
        }
        
        div.input-wrapper{
            margin-bottom: 20px;
            height: 54px;
            width: 250px;
        }
        
        form input#submit{
            font-size: 20px;
        }
        
        form input#login::placeholder, form input#password::placeholder, form input#login2::placeholder{
            font-size: 16px;
        
        }

        .askQuestionForm p{
            font-size: 16px;
        }
    
        .askQuestionForm textarea{
            font-size: 15px;
        }

        .askQuestionForm textarea::placeholder{
            font-size: 15px;
        }
}
/*---------------------------------------------------------------
----------------------- Besoin d'aide ----------------------------------
---------------------------------------------------------------*/
.pop-up-help {
   position: fixed;
   background-color: white;
   padding: 50px;
   border-radius: 10px;
   right: -150%;
   bottom: 1em;
   z-index: 999;
   width: 400px;
   display: flex;
   flex-direction: column
}
.close-pop-up-help {
   position: absolute;
   font-size: 20px;
   color: black;
   right: -20px;
   top: -20px;
}
.pop-up-help .wrapper-help {
   width: 100%;
   height: 100%;
}
.pop-up-help input {
   width: 100%;
   margin-bottom: 15px;
   border: none;
   border-bottom: 2px solid black;
}
.pop-up-help textarea {
   width: 100%;
   margin-bottom: 15px;
   border: 1px solid black;
}
.pop-up-help button {
   border: none;
   color: white;
   background-color: black;
   width: 100%;
}
.send-help-nav {
   cursor: pointer;
}

.loader {
     border: 6px solid #f3f3f3;
     border-radius: 50%;
     border-top: 6px solid black;
     width: 20px;
     height: 20px;
     -webkit-animation: spin 2s linear infinite; /* Safari */
     animation: spin 2s linear infinite;
   }
   
   /* Safari */
   @-webkit-keyframes spin {
     0% { -webkit-transform: rotate(0deg); }
     100% { -webkit-transform: rotate(360deg); }
   }
   
   @keyframes spin {
     0% { transform: rotate(0deg); }
     100% { transform: rotate(360deg); }
   }

   .btn-connexion {
       background-color: #e1656f;
       border: 2px solid #e1656f;
     color: white;
     border: none;
     border-radius: 5px;
     padding: 10px 20px;
     font-size: 16px;
     font-weight: bold;
     cursor: pointer;
   }

   .btn-connexion:hover {
     background-color: white;
     color: #e1656f;
       text-decoration: none;
     border: 2px solid #e1656f;
   }
/*---------------------------------------------------------------
----------------------- MEDIA QUERIES LIVEPAGE ----------------------------------
---------------------------------------------------------------*/

@media screen and (max-width: 1645px){

    .askQuestionForm h3{
        font-size: 30px;
    }

    .askQuestionForm textarea{
        height: 65px;
    }

    .askQuestionForm input{
        height: 65px;
        font-size: 20px;
        width: 145px;
    }

}


@media screen and (max-width: 1200px){

.tchat{
    height: 55vh;
}

.tchat-column{
    height: 50vh;
}

.height-player{
    height: 45vh !important;
}

.height-player-medium{
    height: 65vh !important;
}

/* .toNone {
   
} */

.video-player iframe{
    height: 100%;
}

.askQuestionForm{
    height: calc(20vh - 100px);
}

.askQuestionForm h3{
    font-size: 24px;
    margin-right: 15px;
}

.askQuestionForm p{
    font-size: 18px;
}

.question-field{
    display: block;
}

.question-field textarea{
    height: 55px;
}

.askQuestionForm input{
    height: 40px;
}

}

@media screen and (max-width: 611px){
    .askQuestionForm h3{
        font-size: 20px;
    }

}


@media screen and (max-width: 435px){

    .askQuestionForm h3{
        font-size: 19px;
    }
    
}

/*---------------------------------------------------------------
----------------------- MEDIA QUERIES NAME USER -----------------
---------------------------------------------------------------*/

@media screen and (max-width: 1200px) {

    .name-wrapper input{
    width: 60%;
}

    .name-wrapper input::placeholder{
    font-size: 15px;
}

    .name-wrapper input.nameSubmit{
    font-size: 15px;
}
}

@media screen and (max-width: 545px) {

    .name-wrapper p{
    font-size: 15px;
}

}

@media screen and (max-width: 454px) {

    .name-wrapper p{
    width: 75%;
}

    .name-wrapper input::placeholder{
    font-size: 13px;
}

    .name-wrapper input.nameSubmit{
    font-size: 13px;
}

@media screen and (max-width: 394px) {

    .name-wrapper p{
        font-size: 14px;
    }
    
    }
}