body {
    font-family: sans-serif;
    background-color: #222222;
    background: repeating-linear-gradient(45deg, #2b2b2b 0%, #2b2b2b 10%, #222222 0%, #222222 50%) 0 / 15px 15px;
    color: white;
}
#teenage img{
    width: 400px;
    /* margin: auto; */
}
.relative {
    position: relative;
    margin-top: 100px;
}

.container {
    width: 90%;
    margin: auto;
}

.center {
    text-align: center;
}


.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.centreregle{
    width: 300px;
    justify-content: space-around;
}

.divInfoPoints{
    display: flex;
    justify-content: center;
    background: #FF1177;
}

#neon {
    display: inline-block;
    border: 2.5px solid #000aff;
    border-radius: 5px;
    box-shadow: 0 0 5px #6e74ff, 0 0 10px #6e74ff, 0 0 15px #6e74ff;
    box-shadow: 0 0 5px #6e74ff, 0 0 10px #6e74ff, 0 0 15px #6e74ff inset;
}

#pseudo {
    height: 18px;
    font-size: 18px;
}

.pseudo {
    justify-content: center;
}

.libpseudo {
    font-size: 18px;
    /*    line-height: 18px;*/
    margin-right: 10px;
    padding-top: 3px;
}

.flexdes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.between {
    justify-content: space-between;
}

.dice {
    font-size: 4em;
    
}

.dice-lit {
    filter: drop-shadow( 0px 0px 20px #FF1177 );
}

.des {
    display: inline-block;
    width: 90px;
    margin-bottom: 15px;
    margin-top: 15px;
    text-align: initial;
}

.des img {
    width: 150px;
}

.nbreDes {
    margin-top: 200px;
}

.logo {
    font-size: 2rem;
    display: inline-block;
}

.position {
    text-align: center;
}

button {
    border: 0;
}

button.relance,
button.relance-bonus,
button.reinit,
button.nouveau {
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    margin-bottom: 10px;
}

button.relance {
    background: #000aff;
    margin-right: 10px;
}

button.relance:hover {
    background: white;
    color: #000aff;
    border: 1px solid #000aff;
}

button.relance:active {
    background: #000aff;
    color: white;
    border: 0;
}

button.relance-bonus {
    background: #109e98;
    margin-right: 10px;
}

button.relance-bonus:hover {
    background: white;
    color: #109e98;
    border: 1px solid #109e98;
}

button.relance-bonus:active {
    background: #109e98;
    color: white;
    border: 0;
}
.warning{
    font-weight:900;
}
button.reinit {
    /*    float: left;*/
    background: #414141;
    margin-top: 10px;
    margin-bottom: 80px;
}

button.reinit:hover {
    background: white;
    color: #414141;
    border: 1px solid #414141;
}

button.reinit:active {
    background: #414141;
    color: white;
    border: 0;
}

button.nouveau {
    background: #FF1177;
    margin-top: 40px;
    padding: 10px 20px;
    border: 1px solid #FF1177;
}

button.nouveau:hover {
    background: white;
    color: #FF1177;

}

button.nouveau:active {
    background: #FF1177;
    color: white;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FF1177, 0 0 70px #FF1177, 0 0 80px #FF1177, 0 0 100px #FF1177, 0 0 150px #FF1177;
}

button.boutonscore {
    margin-bottom: 30px;
}

button:focus {
    outline: none;
}

header,
footer {
    width: 100%;
    min-height: 20px;
    /*    background: #0097a7 ;*/
    position: fixed;
    left: 0;
    right: 0;
    z-index: 20;
}

header {
    top: 0px;
    z-index: 10;
    background-color: #222222;
    background: repeating-linear-gradient(45deg, #2b2b2b 0%, #2b2b2b 10%, #222222 0%, #222222 50%) 0 / 15px 15px;
}

footer {
    bottom: 0;
    min-height: 50px;
    background: black;
}

footer #bas a {
    font-family: 'Nothing You Could Do', cursive;
    text-decoration: none;
    color: white;
}

footer #bas a:hover{
    font-weight: 700;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #000aff, 0 0 70px #000aff, 0 0 80px #000aff, 0 0 100px #000aff, 0 0 150px #000aff;
}
footer #bas a:hover .flick2{
    animation: letter-flicker 4s infinite alternate;
}
footer #bas a:hover .blink2{
    animation: blink 0.01s infinite alternate;
}
footer #bas a:hover .black2{
    opacity: 0.5;
    animation: black 2s infinite alternate;
}

#haut {
    position: fixed;
    /*        border: 1px solid red;*/
    width: 90%;
    /*    display: inline-block;*/
    left: 0;
    right: 0;
    margin-top: 25px;
    color: white;

}
.menunav {
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    transition: all 0.8s;
    background: #FF1177;
}

.menunav a {
    text-decoration: none;
    color: white;
}

.menupink{
    background: #FF1177;
}

#centre {
    display: block;
    min-height: 250px;
    width: 90%;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    /*    position: fixed;*/
}

#bas {
    /*    border: 1px solid red;*/
    text-align: center;
    color: white;
    margin-top: 15px;

}

div {
    text-align: center;
}


h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

.combinaison {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.titre,
.flick {
    font-family: Monoton;
    color: white;
    font-size: 60px;
    /*    font-weight: bold;*/
    margin-top: 40px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FF1177, 0 0 70px #FF1177, 0 0 80px #FF1177, 0 0 100px #FF1177, 0 0 150px #FF1177;
    cursor: default;
    /*    animation: neon1 1.5s ease-in-out infinite alternate;*/
}

.flick {
    animation: letter-flicker 4s infinite alternate;
    
}

.blink {
    animation: blink 0.01s infinite alternate;
}

.black {
    opacity: 0.5;
    animation: black 2s infinite alternate;
}
@media screen and (min-width: 640px) {
@keyframes letter-flicker {
    31% {
        opacity: 1;
    }
    32% {
        opacity: 0.3;
    }
    33% {
        opacity: 1;
    }
    34% {
        opacity: 0.3;
    }
    35% {
        opacity: 1;
    }
    64% {
        opacity: 1;
    }
    65% {
        opacity: 0.3;
    }
    66% {
        opacity: 1;
    }
}

@keyframes blink {
    70% {
        opacity: 0.8;
    }
}

@keyframes black {
    2% {
        opacity: 0.5;
    }
    3% {
        opacity: 1;
    }
    4% {
        opacity: 0.5;
    }
    5% {
        opacity: 0.5;
    }
    6% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    21% {
        opacity: 0.5;
    }
    84% {
        opacity: 0.5;
    }
    85% {
        opacity: 1;
    }
    86% {
        opacity: 0.5;
    }
}
}
.titre:first-child {
    margin-left: 30px;
}

.titre:last-child {
    margin-right: 30px;
}

#neontitre {
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    font-family: Warnes;
    font-size: 2rem;
    text-shadow: 0 0 10px #6e74ff, 0 0 20px #6e74ff, 0 0 30px #6e74ff, 0 0 40px #000aff, 0 0 70px #000aff;
    cursor: default;
}

#gametitre {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    font-family: Warnes;
    font-size: 2rem;
    text-shadow: 0 0 10px #6e74ff, 0 0 20px #6e74ff, 0 0 30px #6e74ff, 0 0 40px #000aff, 0 0 70px #000aff;
    cursor: default;
}

.titre_hall,
.resultat {
    font-size: 30px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 20px;
}

.tableau_score {
    width: 300px;
    margin: auto;
    border: 1px solid white;
    margin-bottom: 150px;
}

.tableau_score th {
    border: 1px solid white;
}

.infoPoints {
    display: none;
    top: 0px;
    right: 0;
    left:0;
    margin:auto;
    height: 100vh;
    color: white;
    padding: 10px;
    z-index: 100;
}

.tableau {
    border: 1px solid white;
    width: 300px;
    margin: 5px;
}

.tableau th,
.tableau tr {
    border-right: 1px solid white;
}

.tableau th,
.tableau td,
.tableau_score th,
.tableau_score td {
    margin: 5px;
    padding: 5px;
}

.tableau tr:last-child {
    font-style: italic;
}

.tableau th {
    border-bottom: 1px solid white;
}

.regle {
    width: 300px;
    text-align: left;
    margin-bottom: 5px;
}


.score {
    font-size: 20px;
    font-weight: bold;
}


img {
    position: relative;
    margin-right: 20px;

}

input[type="checkbox"] {
    display: none;
    position: relative;
}

label {
    display: block;
    position: absolute;
    margin-top: 5px;
}


input[type="checkbox"] + label::before {
    position: absolute;
    top: -73px;
    content: "";
    display: block;
    width: 65px;
    height: 65px;
    border-radius: 20px;
    transition: 0.2s all;

}

input[type="checkbox"]:checked + label::before {
    background: rgba(255, 17, 119, 0.4);
    filter: drop-shadow( 0px 0px 20px #FF1177 );
}

input[type="checkbox"]:checked + label {
    color: #FF1177;
    
}

/**********   BOUTON ON/OFF   ****************/
.onoffswitch {
    position: relative; 
    width: 87px;
    text-align: left;
    transform: translateY(-100%);
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "YOOP";
    padding-left: 10px;
    background-color: #FF1177; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "TOUS";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 20px; margin: 5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 53px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
/********************   FIN BOUTON ON/OFF  *******************/

.selecteurScore {
    width: 340px;
    margin: 20px auto;
}

input#yoop{
    display:inline;
}

/**************************************/
.vice {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FF1177, 0 0 70px #FF1177, 0 0 80px #FF1177, 0 0 100px #FF1177, 0 0 150px #FF1177;
    color: #FF1177;
    /* font-size: 1.2em; */
    /* font-weight: bold; */
}

@media screen and (max-width: 640px) {
    #teenage img{
        width: 80vw;
    }
    .des{
        width: 64px;
        margin-left:auto;
        margin-right: auto;
    }
    label{
        font-size: 0.9em;
    }
    button.relance-bonus{
        padding: 10px 5px;
        margin-right: 5px;
    }
    button.nouveau {
        margin-top: 20px;
    }
    .combinaison {
        margin-top: 14px;
    }
    #gametitre {
        bottom: 62px;
    }
    .titre_hall, .resultat {
        margin-top: 20px;
    }
}

.unselect{
    user-select: none;
}

#teenage-msg-fin {
    padding-top: 10px;
    
}
.teenage-msg {
    font-style: italic;
}
