html {
	/* lui-même" */
	/* ========================================== */
	min-height: 100vh;

	/* par rapport à l'Intérieur de "html" */
	/* ========================================== */
	font-family: sans-serif;
	word-spacing: 3px;
	letter-spacing: 0.3px;

    body {
        /* par rapport à l'EXtérieur de "body" */
        /* ========================================== */
        margin: 0px;
        padding: 0px;

        /* lui-même" */
        /* ========================================== */
        background-color: #00bce1;
        /* background-color: #8f9da7; */
        hgroup{/*commun à tous les hgroup */
            display: flex;
            justify-content: center; /* Centre horizontalement */
            align-items: center;  /* Centre vertcialement */
            flex-direction: column;
            font-family: cursive;

        }
        #entete {/*hgroup*/
            flex-direction: row;
            flex-wrap: wrap;
            font-size : 1.5em;
            color: #ffe88a;
            h1{
                text-align:center;
                margin-top: 0px;
            }
         }
        #logo {/*Dans le hgroup #entete*/
            height: 1em;
            margin-right: 0.5em;
            vertical-align: middle;
        }
        #mascotte{
             width: 10em;
        }
        section {
            /* 1 background-color spécifique à chaque section */
            hgroup {
                padding-bottom: 2em;
                h1{
                    font-size : 1.5em;
                    margin-top: 0;
                    color: #1b8e00;
                }
                img{
                   height: 2em;
                }

            }
            article{
                padding: 2em;
                color: #333333;
                h1{
                    font-size : 1.5em;
                }
            }
            .tuile {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: space-around;
                :hover{
                        /*background-color: #84b5fd;*/
                        background-color: #93edff;
                    }
                :active{
                    box-shadow: none;
                }

                a {
                    display: flex;
                    align-items: center;
                    /*background-color: #6495ed;*/
                    background-color: #00bce1;
                    border: solid 2px #5485dd;
                    border-radius: 20px;
                    box-shadow: 10px 5px 5px gray;
                    height: 150px;
                    width: 250px;
                    margin : 1em;
                    text-decoration: none;
                    color: black;
                }
                img {
                    display: block;
                    margin: auto;
                    max-height: 100%;
                    max-width: 100%;
                }
                figure{
                    text-align: center;
                    margin: auto;
                    img{
                        display: inline;
                        max-height: 75px;
                        max-width: 200px;
                    }
                }
            }
        }
        #intro{/*section*/
            background-color: #fff2be;
        }

        #carrousels{
            ul{
/*
                width: 100vw;
*/
                padding: 0;
                margin: 0;
                display: flex;
                gap: 4vw;
                overflow-x: scroll;
                scroll-snap-type: x mandatory;
                /* scroll-marker-group: after;
                anchor-name: --myCarousel;

                &::scroll-button(*) {
                    border: 0;
                    font-size: 2rem;
                    background: none;
                    color: #ffd00e;
                    cursor: pointer;
                    position: absolute;
                    position-anchor: --myCarousel;

                    &:hover, &:focus {
                        color: rgb(0 0 0 / 1);
                    }
                    &:active {
                        translate: 1px 1px;
                    }
                    &:disabled {
                        color: rgb(0 0 0 / 0.2);
                        cursor: unset;
                    }
                }
                &::scroll-button(left) {
                    content: "◄";
                    right: calc(anchor(left) - 30px);
                    bottom: calc(anchor(top) + -30px);
                }
                &::scroll-button(right) {
                    content: "►";
                    left: calc(anchor(right) - 400px);
                    bottom: calc(anchor(top) + -30px);
                }

                &::scroll-marker-group {
                    position: absolute;
                    position-anchor: --myCarousel;
                    top: calc(anchor(bottom) - 45px);
                    justify-self: anchor-center;

                    display: flex;
                    justify-content: center;
                    gap: 20px;
                } */
                li {
                    list-style-type: none;
                    padding: 0;
                    margin: 0;
                    flex: 0 0 100%;
                    text-align: center;
                    scroll-snap-align: center;

                    /*&::scroll-marker {
                        content: "";
                        width: 16px;
                        height: 16px;
                        background-color: transparent;
                        border: 2px solid black;
                        border-radius: 50%;
                    }
                    &::scroll-marker:target-current {
                        background-color: #ffd00e;
                    }*/

                    &:not(:last-of-type)::after {
                        content: "👋 Swipe pour la suite";
                        font-size: 30px;
                        color: #ffd00e;
                        vertical-align: middle;
                    }
                }
                img{
                    max-width: 100vw;
                    max-height: 100vh;
                    vertical-align: middle;
                }
            }
        }

        #apprendre{/*section*/
            background-color: #ffb380;
            border-top: solid 0.3em #00bce1;
            border-bottom: solid 0.3em #00bce1;
            padding: 2em 0;
        }

        #jeux{/*section*/
            background-color: #a3ff8e;
            padding: 2em 0;
        }
    }
}
