/* Enlever les ecart et faire un scroll doux -----------------------------------------------------------------------*/
*{
    margin: 0px;
    padding: 0px;
    font-family: "Gotham","Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif,"Helvetica Neue",Arial,sans-serif;
}

body {
    background-color: rgba(229, 231, 235, 0.1);
    overflow-x: hidden;
}

#logoSub{
    height: 2.5rem;
    left: 2.5%;
    top: 2%;
    position: absolute;
    z-index: 90;
}

.links:hover{
    cursor: pointer;
} 

/* L'intro ---------------------------------------------------------------------------------------------------------*/
#theIntro, #theEnd{
    width: 70%;
    margin-left: 15%;
    border-radius: 1rem;
    border: solid 1px rgb(209 209 209);
    display: flex;
    flex-direction: column;
    margin-top: 7vh;
    padding-top: 2%;
    background-color: white;
    min-width: 650px;
    margin-bottom: 5%;
}

#theIntro{
    margin-bottom: 7vh;
}

#intro, #theEnd > p{
    text-align: justify;
    color: rgb(76 76 76);
    width: 90%;
    margin-left: 5% ;
}    

#theEnd > a{
    text-decoration: none !important;
}

#intro{
    width: 90%;
}

t{
    background-color: #FFEB3B;
    /* font-weight: bold; */
    border-radius: 0.4rem;
    padding: 0 1%;
}

#score{
    text-align: justify;
    margin: 3%;
    align-self: center;
    color: rgb(76 76 76);
    display: flex;
    flex-direction: row;
}


#score > div > p{
    min-width: 20ch;
    width: 35ch;
    width: auto;
    
}

#score_title_1, #score_title_2{
    text-align: center;
    margin-bottom: 5%;
}

#score_shown_1, #score_shown_2{
    padding: 3%;
    border-radius: 1rem;
    border: solid 1px rgb(4, 178, 217);
    flex : 1;
}

#borderSpace{
    flex : 0.1;
}

#mail{
    width: 45%;
    margin-top: 3%;
    align-self: center;
    font-size: 1em;
}


#button-quest{
    margin-top: 2%;
    margin-bottom: 1%;
    font-size: 1.2em;
    line-height: 1.3em;
    color: white;
    background-color: rgb(4, 178, 217);
    font-weight: bold;
}

#button-end, #button-end-leave{
    margin-top: 2%;
    margin-bottom: 3%;
    line-height: 0em;
}

#button-end{
    color: white;
    background-color: rgb(4, 178, 217);
    font-size: 1em;
    font-weight: bold;
}

#button-end-leave{
    color: rgb(4, 178, 217);
    font-size: 0.8em;
}

#button-quest, #button-end, #button-end-leave{
    width: 25%;
    border: none;
    cursor:pointer;
    align-self: center;
    text-align: center;
    border-radius: 2px;
    text-decoration: none;
    padding: 0.5% 2%;
}


#btn-ending{
    margin-top: 3%;
    text-align: center;
    margin-bottom: 1%;
}

/* La page contenue ------------------------------------------------------------------------------------------------*/
#content{
    /*display: flex;              */
    display: none;
    flex-direction: row;
    margin-top: 1%;
    width: 100%;
    height: 80vh;
    margin-bottom: 5%;
}

/* Le questionnaire ------------------------------------------------------------------------------------------------*/
#surveyElement{
    
    display:inline-block;
}

#page_quest{
    margin-left: 2%;
    width: 27%;
    min-width: 360px;
    margin-top: 1.3%;
}

#page_quest > a{
    float: right;
    text-decoration: none;
    text-align: center;
    color: white;
    background-color: rgb(4, 178, 217);
    font-size: .85em;
    font-weight: bold;
    line-height: 2em;
    min-width: 100px;
    cursor: pointer;
    padding: 0 1em;
    border-radius: 2px;
    
}

/* La ligne --------------------------------------------------------------------------------------------------------*/
#line{
    border-left: 3px solid rgb(180 180 180);
    display: inline-block;
    height: 91.5vh;
    margin-top :0.5vh;
    margin-left: 15vw;
}

/* Le texte --------------------------------------------------------------------------------------------------------*/
#page_txt{
    margin-left: 3%;
    font-size: 1.1rem;
    width: 62%;
    text-align: justify;
    margin-bottom: 5%;
    height: 80vh;
    min-width: 60%;
}

#theText{
    background-color: white;
    padding: 3%;
    margin-left: 3vw;
    border-radius: 0.3rem;
    border: 1px solid rgba(209, 209, 209, 0.3);
    width: 50ch;
    min-width: 50ch;
    max-width: 50ch;
    max-height: 85vh;
    overflow-y: scroll; 
    overflow-x: hidden;
    word-break: keep-all;
}

#iframe{
    
    padding: 2%;
    border-radius: 1rem;
    background-color: white;
    border: 1px solid rgb(209 209 209);
    width: 100%;
    height: 100%;
}



/* Le questionnaire perso ------------------------------------------------------------------------------------------*/
#quest-perso{
    width: 70%;
    margin-left: 15%;
    margin-top: 1%;
    min-height: 80vh;
}

/* Liens de partage pages ------------------------------------------------------------------------------------------*/
#p-link{
    display: flex;
    flex-direction: row;
    align-self: center;
    width: 30%;
}

.links {
    text-decoration: none;
    font-size: 2rem;
    height: 2rem;
    width: 2rem;
    margin: 1rem;
    background-size: 2rem 2rem;
    background-repeat: no-repeat;
    flex: 1;
}

#share-facebook{
    background-image: url(../imgs/icone-facebook.png);    
}

#share-linkedin{
    background-image: url(../imgs/icone-linkedin.png);    
}

#share-twitter{
    background-image: url(../imgs/icone-twitter.png);
} 


/* utilisation du important pour l'emporter sur la librairie */
.sv_row {
    clear: both;
    min-width: 80px !important;
}

.sv_row > div{
    min-width: 100px !important;
}

input:invalid {
    border: 2px solid red;
}

input:valid {
    border: 2px solid black;
}

div.index-form
{
    display: block;
    text-align: center;
}


/* loader & Co*/


#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #04B2D9;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}
