body {
    text-align: center;
    min-width:650px;
}

@font-face {
    font-family: 'cursive_standardregular';
    src: url('cursive_standard-webfont.eot');
    src: url('cursive_standard-webfont.eot?#iefix') format('embedded-opentype'),
        url('cursive_standard-webfont.woff2') format('woff2'),
        url('cursive_standard-webfont.woff') format('woff'),
        url('cursive_standard-webfont.ttf') format('truetype'),
        url('cursive_standard-webfont.svg#cursive_standardregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

.myButton {
    -moz-box-shadow: inset -2px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset -2px 1px 0px 0px #ffffff;
    box-shadow: inset -2px 1px 0px 0px #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
    background: -moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background: -webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background: -o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background: -ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
    background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
    background-color: #ffffff;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 11px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    cursor: pointer;
    color: #666666;
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffffff;
}

.myButton:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
    background: -moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background: -o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background: -ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
    background: linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff', GradientType=0);
    background-color: #f6f6f6;
}

.myButton:active {
    position: relative;
    top: 1px;
}




#jeu {
    position: relative;
    width: 100%;
    max-width: 1000px; /* pour éviter trop grand sur PC */
    margin: 10px auto 0 auto;
    background-image: url(Cheque.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    aspect-ratio: 1000 / 464; /* automatiquement la bonne hauteur */
}
#nombre {
    font-family: 'cursive_standardregular';
    font-size: 140%;
    position: absolute;
    left: 770px;
    top: 150px;
    width: 200px;
    text-align: left;
    background: transparent;
    border: none;
}


input:disabled,
textarea:disabled {
    pointer-events: none;
    /* ne change rien visuellement */
    opacity: 1;
    /* garde les couleurs normales */
    color: black;
}

input:focus,
textarea:focus {
    outline: none;
}

#reponse {
    position: absolute;
    left: 12px;
    top: 90px;
    width: 670px;
    text-align: left;
    font-family: 'cursive_standardregular';

    background-color: transparent;
    font-size: 150%;
    border: none;
    padding: 4px 6px;
    resize: none;
    overflow: hidden;
    overflow-wrap: break-word;
    text-indent: 175px;
    /* décale uniquement la 1re ligne */
    /* IMPORTANT – harmoniser avec input */

    line-height: 1.5;
    /* identique */
    box-sizing: border-box;
    /* calcul cohérent */
}

#quand {
    font-family: 'cursive_standardregular';
    font-size: 150%;
    position: absolute;
    left: 741px;
    top: 216px;
    width: 193px;
    background-color: transparent;
    border: 0;
}

#ou {
    font-family: 'cursive_standardregular';
    font-size: 150%;
    position: absolute;
    left: 540px;
    top: 215px;
    width: 55px;
    background-color: transparent;
    border: 0;
}

#moi {
    font-family: 'cursive_standardregular';
    font-size: 150%;
    position: absolute;
    left: 3px;
    top: 168px;
    width: 327px;
    background-color: transparent;
    border: 0;
}
@media  (max-width: 1000px) {

#nombre {
    left: 77%;   /* avant : 770px */
    top: 32%;    /* avant : 150px */
}

#reponse {
    left: 2%;
    top: 19%;
    width: 68%;  /* avant : 670px */
}
#quand {
   
    left: 77%;
    top: 44%;
    width: 19%;
    text-align:left;
}

#ou {

    left: 55%;
    top: 45%;
    width: 5%;
       text-align:left;

}

#moi {

    left: 3.7%;
    top: 34%;
    width: 46%;
 text-align:left;
 
}
}
