
body{
    background-color: #729492;
}

.exercices {
    margin: 0 10%;
}

.question{
    margin-bottom: 80px;
}

.cadre{
    border-spacing: 0;
    text-align: center;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cadre td{
    cursor: pointer;
    border: 2px solid white;
    width: 20px;
    height: 25px;
    max-width: 20px;
    max-height: 25px;
    min-width: 20px;
    min-height: 25px;
    background-color: rgba(204, 204, 204, 0.8);
    border-radius: 100%;
    span{
        position: absolute;
        margin-top: -20px;
        margin-left: -11px;
        font-size: 27px;
    }

    span.dalto{
        margin-top: -14px;
        margin-left: -13px;
        font-size: 19px;
    }
}

span span.dalto{
    margin-left: -5px;
    border-bottom: 5px solid white;
    font-size: 19px;
}

.cadre td.gris, span.couleur.gris{
    background-color: rgba(204, 204, 204, 0.8);
}

.cadre td.vert, span.couleur.vert{
    background-color: #78e05b;
}

.cadre td.bleu, span.couleur.bleu{
    background-color: #5b9be0;
}

.cadre td.rouge, span.couleur.rouge{
    background-color: #e05b73;
}

.cadre td.orange, span.couleur.orange{
    background-color: #e0925b;
}

.cadre td.jaune, span.couleur.jaune{
    background-color: #e1c44f;
}

.cadre td.violet, span.couleur.violet{
    background-color: #cd51f6;
}

.cadre td.noir, span.couleur.noir{
    background-color: black;
}

.cadre tr:last-child td:not(:first-child){
    border-bottom-width: 2px;
}

.cadre tr:not(:first-child) td:last-child{
    border-right-width: 2px;
}

.cadre td:first-child{
    background-color: white;
}

.cadre tr:first-child td:first-child{
    background-color: white;
}

.cadre tr:first-child td{
    background-color: white;
}

span.instruc{
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    font-weight: bold;
    font-family: "Courier New", monospace;
}
.pas_de_dec{
    border-left: 0;
    padding: 0;
}
.algo p{
    font-size: 17px;
    font-weight: bold;
    font-family: "Courier New", monospace;
    line-height: 0.5;
	margin: 0;
	padding: 10px;
}
.algo div.indent{
	margin-left: 15px;
	margin-bottom: 7px;
    padding-left: 15px;
	border-left: 1px dotted grey;
}
.algo{
    margin-left: 30px;
}



span.couleur{
    display: inline-block;
    width: 17px;
    height: 17px;
    max-width: 17px;
    max-height: 17px;
    min-width: 17px;
    min-height: 17px;
    border-radius: 100%;
}


.menu button{
    width: 250px;
}


.plus_bas{
    padding-bottom: 20px;
}

.exercice{
    display: block;
    div{
        display: inline-block;
    }
    div:first-child{
        margin-right: 30px;
    }

    .algo{
        min-width: 0;
    }
}

.menuuu{
    align-items: center;
    text-align: center;
    div:first-child, div:last-child{
        padding: 0;
        margin: 0 15px -15px 15px;
    }
    margin-bottom: 15px;



    button:hover{
        cursor: pointer;
        box-shadow: 0 0 5px 0 rgba(96, 109, 112, 0.5);
    }
}

.suite button{
    background-color: #a0c6ea;
    font-size: 20px;
    padding: 20px 30px;
}

.suite button:hover{
    background-color: #387cbd;
    color: white;
    box-shadow: 0 0 5px 0 rgba(45, 58, 96, 0.5);
}


#points{
    position: fixed;
    top: 10px;
    right: 10px;

    td{
        border-radius: 15px;
        padding: 10px;
        text-align: center;
        cursor: pointer;
    }

    #gagne{
        background-color: rgba(12, 212, 0, 0.6);
    }

    #gagne:hover{
        background-color: rgba(12, 212, 0, 0.9);
    }

    #essai{
        background-color: rgba(255, 198, 0, 0.6);
    }

    #essai:hover{
        background-color: rgba(255, 198, 0, 0.9);
    }

    #score{
        background-color: rgba(0, 234, 255, 0.55);
    }

    #score:hover{
        background-color: rgba(0, 234, 255, 0.95);
    }

    #daltonien{
        margin-top: 50px;
        background-color: rgba(232, 232, 232, 0.55);
    }

    #daltonien:hover{
        background-color: rgba(232, 232, 232, 0.8);
    }
    img{
        width: 25px;
    }

    #gagne:hover, #essai:hover, #score:hover, #daltonien:hover,
    #gagne:active, #essai:active, #score:active, #daltonien:active{
        .apercu{
            visibility: visible;
        }
        .apercu:hover{
            visibility: hidden;
        }
    }

    .apercu{
        visibility: hidden;
        position: absolute;
        right: 80px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.47);
        padding: 3px;
        margin-top: -3px;
        cursor: default;
    }
}


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

    body{
        background-color: white;
    }

    .exercices {
        margin: -8px;
        padding: 30px 40px;
        border-radius: 0;
        box-shadow: none;
        border: 0 solid white;
    }
    .algo {
        padding-left: 30px;
    }

}