html {
    background-color: rgb(0, 0, 0);
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body {
    text-align: center;
    font-family: sans-serif;
}
footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 5px 10px;
    background: black;
    text-align: right;
    line-height: 30px;
    border-top-left-radius: 30px;
    border-style: inset;
    font-size: small;
}
footer a {
    color: lightgray;
    text-decoration: none;
}


.souris, .sourisPub1, .sourisPub2, .sourisPub3, .sourisPub3A, .sourisPub3B, .sourisPub3C {
    font-size: 40px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    height: auto;
}
.sourisPub1, .sourisPub2, .sourisPub3, .sourisPub3A, .sourisPub3B, .sourisPub3C {
    display: none;
    z-index: 5;
}
.sourisPub3, .sourisPub3A, .sourisPub3B, .sourisPub3C {
    z-index: 6;
}


/* Message de départ "Attrape la souris pour gagner */
.mess {
    width: 100%;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: larger;
    color: rgb(255, 0, 0);
    font-weight: 600;
}
.timer {
    font-size: xx-large;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
}


input, button {
    border: 1px solid gray;
    height: 40px;
    width: auto;
    border-radius: 5px;
}
input {
    margin: 30px auto;
}
button {
    z-index: 10;
    height: auto;
    padding: 10px 20px;
    font-weight: bold;
    font-size: larger;
    background: rgb(154, 231, 0);
}
#btn-stop, #btn-ralentir, #btn-ralentir2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: auto;
    transform: translate(-50%,-50%);
}
#btn-ralentir, #btn-ralentir2 {
    background: rgb(0, 0, 0);
    color: white;
}


/* Timer pub2 */
.mess2 {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    color: white;
    padding: 5px;
    background: black;
    border-radius: 5px;
    border: 10px solid red;
    font-size: larger;
    color: rgb(255, 0, 0);
}
.startButton, .resetButton {
    margin: 0 2px;
    padding: 15px 0;
    vertical-align: 40%;
    width: 120px;
    background: yellow;
    font-size: medium;
    height: 50%;
}
.timer2 {
    width: 100%;
    margin-right: 10px;
    font-size: xx-large;
    color: red;
    display: inline;
    font-weight: 600;
}

/* Pub2 Divs où vont se loader les pages web (nb de souris présentes */
.divload {
    z-index: 6;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100px;
    height: 100px;
    margin: 10px;
    overflow: hidden;
    border: 1px dotted black;
    background: yellow;
    display: none;
    cursor: help;
}
#load5 {
    cursor: not-allowed;
}
.croixPub2 {
    margin-left: 85px;
}
.pPub2 {
    margin-top: 10px;
}

/* Une fois toutes les div pubs cliquées */
.mess3 {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}



/* Pub 3 - sens de la vie */
.pSens {
    color: rgb(0, 90, 217);
    font-weight: 600;
    margin-top: 30px;
}
.Reps {
    padding: 10px 5px;
    margin: 20px auto;
    font-size: 14px;
    border: 2px solid brown;
    cursor: grab;
    width: 350px;
    background: rgb(255, 254, 253);
}
.Reps:first-of-type {
    margin-top: 50px;
}
.Reps:hover {
    background:rgb(255, 242, 210);
}
.Reps:active {
    cursor: grabbing;
}
.repSensvie {
    z-index: 7;
    width: 350px;
    margin-top: 30px;
    padding: 15px 5px;
    padding-top: 30px;
    text-align: center;
    resize: none;
    background: rgb(222, 244, 255);
    border: 3px solid rgb(0, 90, 217);
    font-weight: 700;
    border-radius: 18px;
}


/* Pub 1 - age */
#pub1 {
    z-index: 20;
    display: none;
    width: 100%;
    padding: 10px;
    line-height: 30px;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-size: x-large;
    background: yellow;
}
#age {
    text-align: center;
    font-weight: 600;
    font-size: larger;
    margin: 30px auto;
    width: 50%;
}
.age-false, .aide1, .aide2 {
    display: none;
    z-index: 20;
}
.age-false {
    background: linear-gradient(90deg, rgb(0, 13, 194) 0%, rgba(0,13,194,1) 33%, rgba(255,255,255,1) 33.5%, rgba(255,255,255,1) 66%, rgb(219, 0, 0) 66.5%, rgba(219,0,0,1) 100%);
    width: 80%;
    margin: 0 auto;
    padding: 80px 10px;
    font-weight: bold;
    font-family: serif;
    font-size: x-large;
}
.aides {
    font-style: italic;
    font-size: small;
    color:rgb(219, 0, 0);
    position: fixed;
    bottom: 5px;
    left: 5px;
    width: 50%;
    text-align: left;
}





/* VICTOIRE ! */
.confirm {
    border-radius: 2px;
    box-shadow: 0 0 3px rgb(213, 213, 213);
    border : 1px solid rgb(209, 209, 209);
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px 18px 20px;
    display: none;
    font-size: small;
    text-align: left;
    width: 260px;
}
.confirm button {
    position: relative;
    font-size: small;
    font-weight: 600;
    border-radius: 2px;
    margin-top: 30px;
    width: 100px;
    padding: 10px 5px;
}
.OK {
    color: white;
    background: rgb(75, 75, 212);
    margin-left: 40px;
}
.NON {
    background: transparent;
    color: rgb(0, 0, 219);
    border: 1px solid rgb(202, 202, 202);
    margin-left: 10px;
}

.ALERTE {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    font-size: 45px;
    letter-spacing: 8px;
    color: red;
    font-weight: 900;
    font-family: serif;
}

.fartif2, .fartif22, .fartif3, .fartif33, .fartif4 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
}
.fartif3 {
    left: 75%;
}
.fartif33 {
    top: 30%;
    left: 35%;
}
.fartif2 {
    top: 70%;
    left: 25%;
}
.fartif22 {
    top: 25%;
    left: 80%;
}