button.livre {
    border-radius: 5px;
    background-color: transparent;
    border: none;
    z-index: 0;
}

/* 
button.clignotant{
    animation-name: clignote;
    animation-delay: 1s;
    animation-iteration-count: 1000;
} */

@keyframes clignote {
    0% {
        background-color: #fff0;
    }

    50% {
        background-color: #0a0;
    }

    100% {
        background-color: #fff0;
    }
}

button.livre:hover {
    cursor: pointer;
}

img.livre:hover {
    cursor: pointer;
}

svg.livre:hover {
    cursor: pointer;
}

#cookies {
    position: absolute;
    bottom: 2%;
    right: 2%;
}

img.ouvert {
    display: none;
    width: 265px;
    height: 165px;
}

button.ouvert {
    position: absolute;
    text-align: left;
    left: 0%;
    top: 0%;
    display: none;
    background-color: transparent;
    border: none;
    font-size: 12px;
}

button.ouvert:hover {
    cursor: pointer;
    font-weight: bold;
}

#reessaie {
    display: none;
    position: absolute;
    width: 50%;
    font-size: xx-large;
    font-weight: 800;
    color: #513203;
    text-align: center;
    bottom: 10%;
    left: 10%;
}

#bravo {
    position: absolute;
    bottom: 26%;
    left: 10%;
    width: 50%;
}

#btn_consigne {
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    position: absolute;
    top: 3%;
    left: 3%;
    background-color: #4881d6;
    color: #ffffff;
    border: solid;
    border-color: #ffffff;
    border-width: 4px;
    border-radius: 20px;
}

#btn_consigne:hover {
    cursor: pointer;
    border-color: rgb(233, 232, 232);
    background-color: #3c6bb0;
    color: rgb(233, 232, 232);
}


#btn_abbreviations {
    position: absolute;
    top: 6%;
    right: 1%;
    padding-top: 7px;
    padding-bottom: 7px;
}

#abbreviations {
    overflow: auto;
    display: none;
}

#fond {
    position: absolute;
}

#StJerome {
    width: 28%;
    z-index: -1;
    position: absolute;
    bottom: 0%;
    right: 0%;
}

#contexte {
    position: absolute;
    width: 50%;
    bottom: 5%;
    max-height: 20%;
    left: 10%;
    display: none;
}

#suivant {
    display: none;
    position: absolute;
    bottom: 10%;
    right: 30%;
}


#fermer_livre {
    display: none;
    position: absolute;
    border: none;
}

#fermer_livre:hover {
    background-color: #FF0000;
}

#contexte a {
    cursor: pointer;
}

@media screen and (max-width : 780px) {
    button.livre {
        zoom: 60%;
    }

    h1 {
        font-size: 20px;
    }

    #StJerome {
        width: 50%;
    }

    body {
        font-size: 16px;
    }

    #contexte {
        z-index: 5;
        width: 90%;
        height: 30%;
        margin: 0%;
        position: absolute;
        top: 200px;
        left: 3%;
        overflow-y: overlay;
    }

    #suivant {
        z-index: 6;
        position: absolute;
        bottom: auto;
        top: 400px;
    }

    #texte_citation {
        max-height: 100px;
        overflow-y: overlay;
    }

    #btn_consigne {
        top: 1%;
        left: 1%;
    }

    #reessaie {
        text-shadow: 0 0 2px #fff1c3;
    }

    #btn_abbreviations {
        position: relative;
    }
}