@font-face {
    font-family: "Impact";
    src: url("../fonts/Impact/impact.ttf");
}
body {
    background: #5D2E8E;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 95vh;
    margin:0;
    padding: 20px 0;
    font: 200 30px 'Mali', cursive;
    color: #5D2E8E;
}

.side {
    max-height: 45px;
    height: 8%;
    width: 90vw;
    background: #FFFFFF;
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    outline: none;
    text-decoration: none;
    color: black;
}
#header{
    background: #FFFFFF url("../img/logo_header.svg") center no-repeat;
}
#footer{
    font: normal 0.8em "Impact";
    color: #434147;
}
#footer a{
    max-height: 45px;
    height: 100%;
    display: flex;
    align-items: center;
}
#footer img{
    height: 140%;
    margin-right: -5px;
    margin-left: -20px;
}

#main {
    margin: 20px 0;
    width: 90vw;
    height: 80vh;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 7px 15px black;
}
.main-login{
    background: url("../img/fonds/background_bonne_reponse.svg") center no-repeat;
    background-size: auto 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    position: relative;
    font: 700 3vh 'Mali', cursive;
}
.main-chargement{
    background: url("../img/fonds/background_chargement.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
}
.anim_hide{
    opacity: 0;
}
#pouleChargement{
    background: url("../img/poule_skate.svg") no-repeat;
    background-size: contain;
    background-position: -500px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45vh;
    animation: 4s ease-in infinite pouleChargement;
}
@keyframes pouleChargement {
    from {
        background-position: -500px 0;
    }
    to {
        background-position: calc(100% + 500px) 0;
    }
}
#car{
    background: url("../img/car.svg") no-repeat;
    background-size: contain;
    background-position: -800px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30vh;
    animation: 15s linear infinite car;
}
@keyframes car {
    from {
        background-position: -800px 0;
    }
    to {
        background-position: calc(100% + 800px) 0;
    }
}

#poule_bonneRep_haut{
    background: url("../img/poule_coeur_haut.svg") no-repeat;
    background-size: contain;
    background-position: 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 30vh;
    height: 100%;
}
.anim_poule_bonneRep_haut{
    opacity: 1;
    animation: 2s ease poule_bonneRep_haut;
}
@keyframes poule_bonneRep_haut {
    from {
        opacity: 1;
        background-position: 0 -31vh;
    }
    to {
        opacity: 1;
        background-position: 0 0;
    }
}
#poule_bonneRep_droite{
    background: url("../img/poule_coeur_droite.svg") no-repeat;
    background-size: contain;
    background-position: right 0 bottom 0;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45vh;
    height: 100%;
}
.anim_poule_bonneRep_droite{
    opacity: 1;
    animation: 2s ease poule_bonneRep_droite;
}
@keyframes poule_bonneRep_droite {
    from {
        opacity: 1;
        background-position: right -45vh bottom 0;
    }
    to {
        opacity: 1;
        background-position: right 0 bottom 0;
    }
}
#poule_fausseRep{
    background: url("../img/poule_KO.svg") no-repeat;
    background-size: contain;
    background-position: bottom;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50vh;
    height: 100%;
}
.anim_poule_fausseRep{
    opacity: 1;
    animation: 1s linear poule_fausseRep;
}
@keyframes poule_fausseRep {
    from{
        opacity: 1;
        transform-origin: bottom left;
        transform: rotate(-90deg);
    } to {
       opacity: 1;
       transform-origin: bottom left;
       transform: rotate(0deg);
    }
}
#poule_explication{
    background: url("../img/poule_savante.svg") no-repeat;
    background-size: 80%;
    background-position: right 20px bottom;
    position: absolute;
    right: 0;
    width: 23vw;
    height: 100%;
    opacity: 0;
}
#poule_score_gauche{
    background: url("../img/poule_debout.svg") no-repeat;
    background-size: 30vh;
    background-position: center bottom;
    width: 100%;
    z-index: 2;
}
#poule_score_droite{
    background: url("../img/poule_malicieuse.svg") no-repeat;
    background-size: 30vh;
    background-position: center bottom;
    transform: scaleX(-1);
    width: 100%;
}
#poule_results{
    background: url("../img/poule_patinette.svg") no-repeat;
    background-size: contain;
    background-position: left bottom;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 80%;
    animation: 2s ease-out poule_results;
}
@keyframes poule_results {
    from {
        background-position: left -400px bottom;
    }
    to {
        background-position: left bottom;
    }
}
.main-presentation{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font: 700 3vh 'Mali', cursive;
    background: url("../img/poule_tableau_voiture.svg") left 4vw bottom no-repeat, url("../img/poule_tableau_rollers.svg") right 4vw bottom no-repeat, url("../img/fonds/background_intro.svg") center no-repeat;
    background-size: 15vw, 15vw, auto 100%;
    position: relative;
}
.main-index{
    display: flex;
    flex-direction: column;
    align-items: center;
    font: 700 3vh 'Mali', cursive;
}
.background1{
    background: url("../img/poule_hoverboard.svg") left 2vw bottom no-repeat, url("../img/fonds/background_question_orange.svg") center no-repeat;
    background-size: 25vw, auto 100%;
    position: relative;
}
.background2{
    background: url("../img/poule_covoiturage.svg") left 2vw bottom no-repeat, url("../img/fonds/background_intro.svg") center no-repeat;
    background-size: 25vw, auto 100%;
    position: relative;
}
.main-index-vrai{
    background: url("../img/fonds/background_bonne_reponse.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
}

.main-index-faux{
    background: url("../img/fonds/background_fausse_reponse.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
}
.main-result{
    display: flex;
    flex-direction: column;
    background: url("../img/fonds/background_results.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
    font: 800 3vh 'Mali', cursive;
}
.main-score{
    display: flex;
    background: url("../img/fonds/background_score.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
    font: 600 3vh 'Mali', cursive;
}
.main-turn{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: url("../img/fonds/background_score.svg") center no-repeat;
    background-size: auto 100%;
    position: relative;
    font: 600 3vh 'Mali', cursive;
    color: white;
    padding: 0 2%;
    text-align: center;
}

#numQuestion{
    place-self: end;
    display: flex;
    padding: 10px 10px 0 0;
    margin-bottom: -1em;
}

#vraiOuFaux {
    width: 25vh;
}

.bulle{
    background:  url("../img/bulle.png") no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
.bulle-question{
    width: 40vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 80%;
    margin: 1% 0;
}

.bulle-login{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6vh 0;
    margin-top: 1%;
}

.bulle-index{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    width: 50vw;
    min-height: 20%;
    margin: 2% 0;
}

.bulle_titre{
    font: 800 1.3em 'Mali', cursive;
    margin-top: 15px;
}
.bulle-txt{
    margin: 5% 0;
    width: 80%;
    font: 600 1em "Mali", cursive;
    overflow: auto;
}
.bulle_blockInputs{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.inputs{
    margin: 0 30px 10px 10px;
    border-style: none none solid none;
    font: 600 23px "Mali", cursive;
    width: 40%;
}
.inputs:focus{
    outline: none !important;
    border-style: none none solid none;
    border-bottom-color: lightgrey;
    color: #0c81ea;
}
.reload{
    font: 200 1.7em 'Mali', cursive;
    width: 8vh;
    height: 8vh;
    border-radius: 100%;
    cursor: pointer;
    background: black;
    color: white;
    padding: 3px 0;
}
.reload.left{
    padding-right: 5px;
}
.reload.right{
    padding-left: 5px;
}
#reponses{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 40%;
}
#propositions{
    display : none;
    flex-direction : column;
    align-items : center;
}
#tab{
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.infos{
    display: flex;
    align-items: center;
}
.number{
    background: radial-gradient(#823EC3, #5D2E8E);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1px 3px 0;
    margin: 0 20px 0 -70px;
}
.tab_ligne{
    background-color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 20px 10px 30vw;
    padding: 5px 20px 5px 50px;
}
#tab_ligne_player{
    margin: 15px 20px 10px 25vw;
    font-size: 34px;
}
#tab_ligne_player .number{
    font-size: 30px;
}
.couronne{
    width: 50px;
}
.points{
    display: flex;
    align-items: center;
}

.point{
    color: #8CC300;
}

#score_infos_block{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70vh;
}
#score{
    font: 600 1.3em 'Mali', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5% 0;
    padding: 2% 10%;
}
#score #score_pseudo{
    font: 800 2em 'Mali', cursive;
    text-align: center;
    width: 50vw;
}

#score_nbr{
    font: 800 1.6em 'Mali', cursive;
    display: flex;
    align-items: baseline;
}
#score_nbr #score_note{
    margin-top: -10px;
    font: 400 1.8em 'Mali', cursive;
}
#score_moy{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font: 600 1em 'Mali', cursive;
    margin-bottom: 20px;
}
#score_moy_noteGroup{
    display: flex;
    justify-content: center;
    margin-top: 10%;
}
#score_moy_note{
    margin: -8% 4% 0 0;
    font: 600 2em 'Mali', cursive;
}

#explication{
    margin-bottom: 3%;
}
.button{
    font: 300 1em "Mali", cursive;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
}
.button-large{
    margin: 1% 0;
    font: 200 1em "Mali", cursive;
}
.degrade-rose{
    background: linear-gradient(#FF9EC4, #FF5EC7);
}
.degrade-rose:hover{
    background: linear-gradient(#FF5EC7, #FF9EC4);
}
.degrade-bleu{
    background: linear-gradient(#00D9E8, #1829ED);
}
.degrade-bleu:hover{
    background: linear-gradient(#1829ED, #00D9E8);
}
.degrade-orange{
    background: linear-gradient(#FFDE00, #FF7016);
}
.degrade-orange:hover{
    background: linear-gradient(#FF7016, #FFDE00);
}
.degrade-noir{
    background: linear-gradient(#848484, #282828);
}
.degrade-noir:hover{
    background: linear-gradient(#282828, #848484);
}
.button a{
    text-align: center;
    text-decoration: none;
    color: white;
}

.avatar{
    width: 15vh;
    margin: 0 10px;
}
.avatar.login{
    width: 15vh;
}
.avatar-results{
    width: 60px;
    margin: 0 10px;
}
#statsContenu{
    overflow-y: scroll;
    padding: 5px 10px;
    width: 80vw;
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: justify;
    margin-bottom: 50px;
    border: 5px solid #dddddd;
}
thead{
    text-align: center;
    background-color: #FFFFFF;
}
tbody th{
    width: 150px;
    border: 5px solid #dddddd;
}

td, th {
    border: 1px solid #dddddd;
    padding: 8px;

}
tbody th {
    color: #dddddd;
}
td span {
    margin-left: 20px;
    color: #dddddd;
}
.first {
    border-top: 5px solid #dddddd;
}
.last {
    border-bottom: 5px solid #dddddd;
}
.total{
    background-color: #FFFFFF;
}
.total td span{
    color: #8CC300;
}
.sousCol{
    text-align: center;
}
.catSousCol{
    text-align: center;
    background-color: #c9c9c9;
}
.titreSousCol{
    background-color: #e7e7e7;
}
#mentionLegales-link{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    color: white;
    font: 500 10px 'Mali', cursive;
}
#mentionsLegales-txt{
    padding: 30px;
    color: white;
    font: 400 20px 'Mali', cursive;
    text-align: justify;
}
#rejouer{
    box-shadow: 0 7px 15px black;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translate(-50%, -50%);
}
