@media only screen and (max-width: 900px) {
    div#maincontent>div#leftblock {
        position: fixed;
        z-index: 3;
        box-shadow: rgb(0 0 0 / 10%) -4px 4px 9px;
        right: 4px;
        top: calc(50% + 50px);
        transform: translate(100%,-50%);
        transition: 0.5s transform;
        max-width: 100%;
        max-height: calc(100% - 120px);
        margin: 4px;
        overflow: auto;
    }

    div#maincontent>div#leftblock.swiped {
        transform: translate(0,-50%);
    }

    #cours #page {
        transform-origin: top left;
    }

    .top-btn.profil span#quitter {
        top: 23px;
        left: -3px;
        width: 20px;
        height: 20px;
        background: none;
        opacity: 1;
        border-radius: 20px;
        position: absolute;
        background-color: #fd385a;
    }
}

@media only screen and (max-width: 600px) {
    #menu .submenu {
        transition: 0.2s;
        overflow: hidden;
        margin-top: 0px;
        margin-left: 0;
    }

    .top-btn span {
        display: none;
    }

    #header {
        flex-wrap: wrap;
        height: 100px;
    }

    #header a#logo {
        flex-basis: 100%;
        max-width: 100%;
        max-height: 50px;
    }

    #header>a:before, #header>div:before {
        top: 40%;
    }

    #header>a:not(#logo),#header>div {
        top: -31px;
        position: relative;
    }

    #header>a>span,#header>div>span {
        display: block;
        width: 100px;
        font-size: 10px;
        padding: 0 2px;
    }

    .top-btn:after {
        display: none;
    }

    div#adminmenu {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    

        
    .quiz_reponse {
        max-width: unset;
    }


	.quiz_reponses .slider-labels {
		display: flex;
		justify-content: space-between;
		width: 100%;
		margin: 23px auto 0; /* Augmentation de la marge supérieure */
		font-size: 2.9vw; /* Légère augmentation de la taille de la police */
	}
	

}
