body, img, div, span {
    user-select: none;
}

.bouton {
    display: flex;
    background-image: url("../picture/element-01.jpg");
    background-color: rgba(0, 0, 0, 0.32);
    background-blend-mode: multiply;
    background-size: cover;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 2px 1px;
    min-width: max-content;
    height: max-content;
    width: 100%;
    align-self: center;
    justify-self: center;
    padding: 23px;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    margin: 0;
    text-shadow: rgba(0, 0, 0, 0.4) 0 1px 1px;
    font-family: Arial, sans-serif;
    color: white;
    background-image: url("../picture/fond-01.png");
    background-color: rgba(0, 0, 0, 0.43);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: minmax(max-content, 800px) minmax(33vw, auto) minmax(10vw, 350px);
    grid-template-rows: auto 50vh auto  ;
    font-weight: bold;
    height: 100vh;
    width: 100vw;

    >div {
        display: grid;
    }

    >#jeu {
        display: grid;
        align-content: start;
        overflow-y: scroll;
        overflow-x: hidden;
        scrollbar-width: none;
        height: 100vh;

        >#minimot {
            align-self: center;
            justify-self: center;
            height: auto;
            max-height: 60%;
            width: auto;
            max-width: 70%;
        }

        >div {
            background-image: url("../picture/fond-02.png");
            background-color: rgba(0, 0, 0, 0.20);
            background-blend-mode: multiply;
            background-size: cover;
            box-shadow: rgba(0, 0, 0, 0.62) 0 0 14px 10px;
            z-index: -1;
        }

        >#total {
            display: flex;
            padding: 14px 0 14px 0;
            align-content: center;
            justify-content: center;
            width: 100%;
            font-size: x-large;

            >div {
                display: flex;
                padding: 13px 0 13px 0;
                align-content: center;
                justify-content: center;
                background-color: rgba(0, 0, 0, 0.50);
                width: 100%;
                column-gap: 5px;
            }
        }

        >#elements {
            padding: 11px 12px 11px 12px;
            margin: 0 -4px 0 -4px;
            display: grid;
            row-gap: 12px;
            align-self: start;

            >div {
                background-image: url("../picture/element-01.jpg");
                background-color: rgba(0, 0, 0, 0.4);
                background-blend-mode: overlay;
                background-size: 100% 90%;
                font-size: 95%;
                z-index: 0;
                align-content: center;
                justify-content: center;
                box-sizing: border-box;

                >.chargement {
                    height: 45px;
                    width: 0;
                    background-color: red;
                    background-size: 400% 400%;
                    margin: 9px;
                    box-sizing: border-box;
                }

                >.type {
                    align-content: start;
                    display: grid;
                    grid-template-columns: 3fr 1fr;
                    margin: 9px;

                    >.quantite {
                        justify-self: right;
                    }
                }
            }
        }
    }

    >.menu {
        padding: 13px;
        background-image: url("../picture/fond-02.png");
        background-size: cover;
        box-shadow: rgba(0, 0, 0, 0.75) 0 0 14px 10px;
        row-gap: 9px;
        align-content: start;

        >.element {
            display: grid;
            grid-template-columns: 7fr 4fr;

            >div, span {
                white-space: nowrap;
            }

            >.prix {
                justify-self: right;
            }
        }

        >.parametre {
            display: flex;
            align-content: center;
            justify-content: center;
        }
    }

    >.detail {
        background-image: url("../picture/fond-02.png");
        background-color: rgba(0, 0, 0, 0.3);
        background-blend-mode: multiply;
        box-shadow: rgba(0, 0, 0, 0.8) 0 0 5px 1px;
        position: fixed;
        width: 80vw;
        height: 85vh;
        z-index: 10;
        justify-self: center;
        align-self: center;
        align-content: start;
        padding: 2vh;
        row-gap: 2vh;

        >#parametres {
            display: grid;
            grid-template-columns: 1fr 1fr;
            row-gap: 1.5vh;
            column-gap: 1vw;
            align-content: start;

            >.bouton {
                justify-content: center;
            }
        }

        >.close {
            background-color: rgba(255, 0, 0, 0.78);
            height: 4vh;
            width: 5vh;
            justify-self: right;
            display: flex;
            background-image: url("../picture/element-01.jpg");
            background-blend-mode: multiply;
            background-size: cover;
            box-shadow: rgba(0, 0, 0, 0.5) 0 0 2px 1px;
            align-items: center;
            justify-content: center;
        }
    }
}