#fondd {
    position: absolute;
    height: 100%;
    right: 0%;
    bottom: 0%;
    z-index: -2;
    margin: 0%;
}

#fondg {
    position: absolute;
    height: 100%;
    left: 0%;
    bottom: 0%;
    z-index: -1;
    margin: 0%;
}

#titre_jeu {
    position: absolute;
    z-index: 0;
    bottom: 25%;
    color: rgb(112, 82, 7);
    width: 100%;
    text-align: center;
}

#sacrements {
    top: 0vh;
    width: 35vh;
    left: 22.5vh;
    height: 45vh;
}

#congregations {
    width: 32vh;
    left: 64vh;
    height: 20vh;
    bottom: 45vh;
}

#chants {
    right: 36vh;
    width: 39vh;
    top: 0vh;
    height: 40vh;
}

#mots {
    z-index: 2;
    right: 12vh;
    width: 24vh;
    top: 5vh;
    height: 20vh;
}

#references {
    bottom: 0vh;
    left: 0vh;
    width: 53.5vh;
    height: 50vh;
}

#saints {
    right: 0vh;
    bottom: 0vh;
    width: 50vh;
    height: 58vh;
}

#contact {
    z-index: 2;
    bottom: 0vh;
    left: 0vh;
    width: 10vh;
    height: 6vh;
}

a.jeux {
    color: #ffffff00;
    z-index: 1;
    position: absolute;
}

a.jeux:hover {
    color: #000;
    text-decoration: none;
    background-color: #ffffff55;
    box-shadow: 0px 0px 50px #ffffff55;
    text-shadow: 0px 0px 10px #fff;
    border-radius: 15px;
    padding: 5px;
}

body {
    overflow-x: hidden;
    background-color: rgb(147, 199, 246);

}

#fondp {
    display: none;
}

#mentions {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0%;
    bottom: 0.5vh;
    color: #000;
    text-decoration: none;
}

#titre_jeu:hover {
    cursor: pointer;
}

#consigne {
    z-index: 21;
    display: none;
    overflow-y: overlay;
    position: absolute;
    background-color: #fefefe;
    width: 50%;
    height: 50%;
    top: 22%;
    left: 22%;
    padding: 3%;
    box-shadow: 1px 1px 30px #555;
}

@media screen and (max-width : 780px) {
    #mentions {
        text-align: right;
        right: 5px;
    }

    body {
        background-color: rgb(147, 199, 246);
        overflow: hidden;
    }

    #fondg {
        display: none;
    }

    #fondd {
        display: none;
    }

    #fondp {
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0%;
        left: 0%;
    }

    #titre_jeu {
        top: 0%;
        bottom: auto;
        color: #ffffff;
    }

    #consigne {
        width: 60%;
        left: 17%;
        height: 70%;
        top: 12%;
    }

    #references {
        padding-bottom: 57%;
        width: 62%;
        height: auto;
    }

    #saints {
        right: auto;
        left: 0%;
        width: 58%;
        padding-bottom: 48%;
        height: auto;
        margin-bottom: 58%;
        border-radius: 0% 50% 0% 0%;
    }

    #congregations {
        left: 55%;
        bottom: 92vw;
        width: 35%;
        height: auto;
        padding-bottom: 18%;
        border-radius: 0% 30% 0% 30%;
    }

    #sacrements {
        width: 26%;
        left: 20%;
        bottom: 107vw;
        height: 35vw;
        top: auto;
        border-radius: 80% 20% 0% 0%;
    }

    #chants {
        z-index: 2;
        left: 0%;
        width: 25%;
        top: auto;
        bottom: 122vw;
        height: 30vw;
    }

    #mots {
        top: auto;
        left: 48%;
        width: 35%;
        bottom: 130vw;
        height: 20vw;
    }

    #contact {
        width: 12vw;
        height: 7vw;
    }
}