:root
{
    --taille-image_enigme: 400px;
    --position-btn-footer: fixed;
}

@media (max-width: 500px) {
    :root {
    --taille-image_enigme: 55vw;
    --position-btn-footer: relative;
    }
}

body
{
    font-family: "Calibri";
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

h1
{
    font-size: 25px;
    color: #111;
}

.main
{
    padding-left: 25px;
    padding-right: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header
{
    height: 45px;
    background-color: #04003a;
    color: #fff;
    padding-top: 15px;
    padding-left: 25px;
    vertical-align: middle;
    font-size: 25px;
    text-align: left;
    box-shadow: 0px 0px 5px #000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}

.icone
{

    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    float: right;
    height: 70%;
    margin-right: 40px;
}

.icone:hover
{
    filter: brightness(80%);
}

.img_etape
{
    display: block;
    width: var(--taille-image_enigme);
    margin-left: auto;
    margin-right: auto;
}

p
{
    text-align: justify;
    color: #333;
}

.input_reponse
{
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 20px;
    border: solid 2px #888;
    color: #888;
    border-radius: 5px;
    margin-top: 10px;
    background-color: #fff;
    text-transform: uppercase;
}

.input_reponse:focus
{
    border: solid 2px #000;
    color: #000;
    outline: none;
}

.input_reponse:disabled
{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.input_reponse_debloque
{
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 20px;
    border: solid 2px #000;
    color: #000;
    border-radius: 5px;
    margin-top: 10px;
    background-color: #fff;
    text-transform: uppercase;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.bouton
{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #398b52;
    border: solid 2px #2f6d42;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
    text-align: center;
	text-decoration: none;
}

.bouton:hover:enabled
{
    background-color: #439e5e;
    border: solid 2px #2e683f;
}

.bouton:disabled
{
    opacity: 0.6;
    cursor: default;
}

.question
{
    text-align: center;
}

.message
{
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

.footer
{
    position: var(--position-btn-footer);
    color: #fff;
    text-align: center;
    bottom: 0;
    width: 100%;
    z-index: 0;
}

/* .btn_footer
{
    float: left;
    width: 50%;
    background-color: #afafaf;
    border: none;
    font-size: 17px;
    height: 40px;
    color: #444;
    cursor: pointer;
}

.btn_footer:disabled
{
    background-color: #cfcfcf;
    color: #aaa;
    cursor: default;
}

.btn_footer:hover:enabled
{
    background-color: #bfbfbf;
} */

.btn_footer
{
    float: left;
    width: 50%;
    background-color: #04003a;
    border: none;
    font-size: 16px;
    height: 40px;
    color: #e4e4e8;
    cursor: pointer;
}

.btn_footer:disabled
{
        background-color: #7a7895;
        color: #b7b6c9;
        cursor: default;
}

.btn_footer:hover:enabled
{
    background-color: #070059;
}

.alerte
{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #ff0000;
    font-size: 16px;
    padding: 20px;
}

.overlay
{
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    visibility: hidden;
}

.carte
{
    width: 90%;
    height: 90%;
    position: fixed;
    margin-left: 5%;
    margin-right: 5%;
    box-shadow: rgba(0, 0, 0, 1) 0px 4px 4px 0px;
    z-index: 2;
    visibility: hidden;
}

.icone_carte
{
    position: relative;
    top: 42px;
    float: right;
    margin-right: 8px;
    cursor: pointer;
    width: 35px;
}

.icone_carte:hover
{
    filter: brightness(95%);
}

.lien_reponse
{
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.lien_reponse:hover
{
    color: #666;
    text-decoration: underline;
}

.lien
{
    color: #007bff;
    text-decoration: none;
}

.lien:hover
{
    color: #0056b3;
    text-decoration: underline;
}

.info_en_plus
{
    text-align: justify;
    background-color: #fff;
    border: solid 2px #398b52;
    border-radius: 8px;
    padding: 15px;
}