html {
    xbackground: url(fondquizz2.jpg) no-repeat center center fixed;
    xbackground-color: black;
    xmix-blend-mode: multiply;
    background: url(fondquizz1.jpg);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    margin: 0;
    display: flex;
}

* {

    -webkit-user-drag: none;

}

#fermer {
    display: none;
    margin: auto;
}

.explications {
    display: block
}

.flexbox {
    display: flex
}

.pluspetit {
    width: 90% !important;
    padding-top: 20px
}

div#titrebox {
    background-color: black;
    padding: 5px;
    margin-bottom: 10px;
}

#logo {
    width: 100%;
    height: auto
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a {
    color: black
}

.debug {
    display: none;
    xdisplay: block
}

.responsivefont {
    font-size: 20px;
    font-size: 1.5vmax;
}

.retour {
    font-size: 20px;
    color: white;
    text-decoration: none;
    margin-bottom: 10px
}

body {
    border: none;

    height: 100%;
    height: 100vh;

    letter-spacing: 1px;
    xfont-family: 'Fira Sans', sans-serif;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 3px;

    width: 100%;
    margin: 0;
    padding: 0;

    xoverflow: hidden;
    xposition: fixed;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    touch-action: none;
}

.gear {
    width: 25px;
    height: auto;
    padding-right: 10px;
    float: left
}

#settingTitre {
    font-size: 20px;
    xfont-size: 2vw;
    display: inline-block;
    padding: 10px;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
    display: block;
    border-bottom: solid 2px white
}

.monbouton {
    font-size: 20px;
    font-size: 2vw;
    display: inline-block;
    padding: 10px;
    background-color: rgb(41, 127, 184);
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
    border: solid 3px #1d4f71;
    border-radius: 5px;
    overflow: hidden;
    width: 90%;
    display: block;
}

.monbouton span {
    float: right;
    color: #0e2636
}

.monbouton:hover {
    background-color: #1d4f71
}

.monbouton:disabled,
.monbouton[disabled] {
    background-color: lightgray
}

#fulllist {
    background-color: lightgreen;
    padding: 20px;
    margin-bottom: 10px;
    float: left;
    margin-right: 10px;
    width: 40%
}

#shortlist {
    background-color: lightcyan;
    padding: 20px;
    margin-bottom: 10px;
    float: left;
    margin-right: 10px;
    width: 40%
}

#choix {
    background-color: lightpink;
    padding: 20px;
    margin-bottom: 10px;
    float: left;
    width: 10%
}

hr {
    clear: both;
    float: none;
    border: solid white 0px
}

h2 {
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    xcolor: white;
    padding: 5px;
    font-size: 16px;
    font-weight: 500;
}

audio {
    display: none
}

.blur {
    filter: blur(5px);
}

#titre {
    padding: 1%;
    text-transform: uppercase;
    color: white !important;
    display: block;
    margin-bottom: 5px;
    color: white
}

.boxstyle {
    padding: 1%;
    text-transform: uppercase;
    xdisplay: inline-block;
    xbackground: rgba(0, 0, 0, 0.5) !important;
    xcolor: white !important;
    xwidth: 21%;
    display: block;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 95%;
    margin-bottom: 5px;
    color: black
}

#version {
    color: white
}

#infobox {
    xbackground: rgba(0, 0, 0, 0.5);
    xpadding: 1%;
    xmargin-bottom: 20px;
    overflow: auto;
    margin: 0
}

#restebox {
    background-color: #f3bd00;
}

#nbquestions,
#nbcartes,
#votrenom {
    font-size: 20px;
    width: 40px;
    height: 25px;
    xpadding: 5px;
    float: left;
    margin-right: 10px
}

#votrenom {
    width: 90%
}

#timebox {
    background-color: #777;
}

#errorbox {
    background-color: red;
}

#scorebox {
    background-color: green;
}

#WordBox {
    display: inline-block;
    width: 100%;
}

#motunifier {
    font-size: 40px;
    font-size: 2vw;
    background-color: black;
    color: white;
    padding: 1%;
    xmargin: 1%;
    text-transform: uppercase;
    display: block;
    float: none;
    clear: both;
    margin-bottom: 1%;
    margin-right: 1%;
    width: 96%
}


#setting {
    display: block;
    xbackground-color: #ddd;
    padding: 1%;
    margin-bottom: 20px;
    color: white;
}

#reste {
    display: inline-block
}

#greating {
    padding: 20px;
    background-color: red;
    color: white;
    text-transform: uppercase;
    font-size: 20px;
    font-size: 2vmax;
}

#infos {
    xbackground-color: #0a1b26;
    xbackground: linear-gradient(0deg, rgba(227, 51, 0, 1), rgba(227, 51, 0, 1)), url(fondquizz1.jpg);

    xbackground: url(fondquizz1.jpg);
    background: rgba(11, 61, 74, .5);
    width: 18%;
    float: left;
    xbox-shadow: 14px 0px 30px 0px rgba(0, 0, 0, 0.75);
    padding: 1vh;
    height: 98vh;


}

#informations {
    width: 100%
}

.optiontext {
    font-size: 18px;
    margin: 0;
    line-height: 25px;
    padding-top: 5px
}

.clearit {
    clear: both;
    margin-bottom: 20px;
    height: 25px;
    xborder: solid 1px red;
    display: block
}

#header {
    width: 100%
}

#gameplay {
    display: flex;
    flex-wrap: wrap;
    xalign-items: center;
    xflex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.carte {
    border: solid 3px #ddd;
    margin: 5px;
    background-color: white;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
    xflex-grow: 1;
    display: flex;
}

.carte img {
    max-height: 100%;
    max-width: 100%;
    xwidth: 400px;
    xheight: 400px;
    margin: auto;
    object-fit: contain;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    flex: 0 0 auto;

}

.quatre {
    height: 46%;
}

.douze {
    width: 20%;
}

.six {
    width: 28%;
}

.good {
    border-color: green;
}

.bad {
    border-color: red
}

#stats {
    font-size: 40px;
    font-size: 2vw;
    background-color: darkred;
    color: white;
    padding: 5%;
    text-transform: uppercase;
    display: block;
    xfloat: none;
    xclear: both;
    width: 700px;
    margin: 2%
}

.minibutton {
    background-color: #aaa;
    color: white;
    padding: 3% 5%;
    display: inline-flex;
    text-decoration: none;
    font-size: 20px;
    text-align: center
}

.textexpli {
    background-color: #666;
    color: white;
    padding: 3% 5%;
    display: block;
    text-decoration: none;
    font-size: 20px;
    text-align: left
}

.minibutton:hover {
    background-color: black;

}

#game {
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    padding: 1%
}

.listing {
    xborder: solid 3px #ddd;
    xpadding: 1%;
    padding-bottom: 1%;
    margin: 1%;
    background-color: #ccc;
    width: 23%;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
    xflex-grow: 1;
    text-align: center;
}

.carteimage {
    xheight: 100%;
    width: 100%;
    xfloat: right;
    xborder: solid 3px #ddd;
    margin: auto;

}

a .listing:hover {
    xborder: solid 3px red;
}

.texte {
    xheight: 100%;
    xwidth: auto;
    xfloat: left;
    xline-height: 100px;
    xpadding-right: 10px;
    font-size: 22px;
    letter-spacing: 0;
    xfont-size: 1.2vw;
    display: block;
    xborder: solid 3px #ddd;
    padding: 2%
}

#menu {
    color: white;
    padding: 1%;
    display: block;
    bottom: 0;
    position: absolute;
    margin-bottom: 10px;
    width: 16%;
    padding: 1%;
    text-transform: uppercase;
    background: rgba(100, 100, 100, 0.9) !important;
}

#menu img {
    width: 50px;
    height: auto;
    display: inline-block;
    margin-right: 20px;
    float: left
}

.svgimage {
    width: 50px;
    height: auto
}

.boutonderetour {
    margin-top: 20px;
    padding: 20px;
    color: white;
    background-color: black;
    display: table;
    text-transform: uppercase;
}

/*  style des settings  */

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 25px;
    xborder: solid 1px red
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* fin des etting */



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

    infobox {
        width: 100%
    }

    #fermer {
        display: block
    }

    #header,
    #informations {
        width: 48%;
        xmargin: 1%;
        float: left;
        text-align: center
    }

    #logo {
        height: 80px;
        width: auto;
        margin-left: auto;
        margin-right: auto;

    }

    #infos,
    #game {
        width: 98%;
        float: none;
        height: auto;
        overflow: auto;
        padding: 1%
    }

    .quatre {
        height: 42%;
    }

    .douze {
        width: 28%;
    }

    .six {
        width: 45%;
    }

    .listing {
        width: 98%;
        padding: 3px;
        text-align: right
    }

    #motunifier {
        font-size: 4vw
    }

    .carteimage {
        display: none;
    }

    .imagecarte {
        width: 100%
    }

    .xcarte {
        width: 380px;
        height: auto
    }

    .minibutton {
        padding: 5px 10px
    }

    .texte {
        display: inline-block;
        width: auto;
        padding: 0;
        padding-right: 10px;
        xborder: solid 1px green
    }

    .retour {
        display: none
    }

    #titrebox {
        display: none
    }

    #logo {
        height: auto;
        width: 60%;
    }


}
