:root{
    --blue-color: rgb(56, 100, 163);
    --blue-color-o: rgba(56, 100, 163, 0.1);

    --flashCard: rgb(248, 178, 56);
    --revisionsGroupees: rgb(230, 0, 126);
    --quizz: rgb(131, 31, 130);

    --ue1: rgb(120, 140, 230);
    --ue2: rgb(150, 200, 240);
    --ue3: rgb(235, 50, 50);
    --ue4: rgb(180, 20, 180);
    --ue5: rgb(0, 0, 0);
    --ue6: rgb(238, 92, 180);
    --ue7: rgb(34, 139, 34);
    --ue8: rgb(230, 230, 100);

    --radiusB: 20px;

}

html {
    color: yellow;
    scroll-behavior: smooth;
}

body{
    /*font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;*/
    font-family: Verdana, serif;
    margin: auto;
    background-image: url("/images/png/Stetho-o15.png");
    background-size:  90% auto;
    background-repeat: no-repeat;
    background-position: bottom 20% center;
}


a{
    text-decoration: none;
    vertical-align: center;
}

li{
    padding: 0;
    margin: 0;
    border: none
}

.button:hover{
    background-color: black;
    color: white;
}

.flexOne{
    flex: 1;
}

.flexTwo{
    flex: 2;
}

.flexThree{
    flex:3;
}

.flexFive{
    flex: 5;
}

.flexSix{
    flex: 6;
}

.flexEight{
    flex: 8;
}

.flexNine{
    flex: 9;
}

.flexTen{
    flex: 10;
}

.flexEleven{
    flex: 11;
}

.contenu_general{
    height: 100%;
    width: 100%;
    display: flex;
}

.menuLateral{
    background-color: var(--blue-color);
    display: flex;
    flex-direction: column;
    border-radius: var(--radiusB);
    width: 70%;
    margin: 8% auto;
    border: 2px solid var(--blue-color);
}

.avatar a{
    display: block;
    width: 50%;
    margin: 7% auto 4%;

}

.avatar img{
    width: 100%;
    border-radius: 50%;
}

.nomConnecte{
    color: white;
    text-align: center;
    font-size: 1.5em;
}

.buttonMenuLateral a{
    display: block;
    background-color: white;
    border-radius: var(--radiusB);
    margin: 6% auto;
    width: 75%;
    padding: 2% 5%;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2em;
    color: black;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.buttonMenuLateral a:hover{
    transform: scale(1.08);
    box-shadow: 1px 1px 12px black;
}

.buttonMenuSelected a{
    background-color: var(--blue-color);
    color: white;
    border-color: white;
}

.raccourcisMenu{
    background-color: white;
    border-radius: var(--radiusB);
}

.raccourcisMenu .buttonMenuLateral:nth-child(1) a{
    background-color: var(--flashCard);
    color: white;
}
.raccourcisMenu .buttonMenuLateral:nth-child(2) a{
    background-color: var(--revisionsGroupees);
    color: white;
}
.raccourcisMenu .buttonMenuLateral:nth-child(3) a{
    background-color: var(--quizz);
    color: white;
}

/**chargement */
.loaderPage{
    position: absolute;
    background-color: white;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.loader {
    margin: auto;
    width: 9em;
    height: 9em;
    border-radius: 50%;
    background: var(--blue-color);
    background: linear-gradient(to right, var(--blue-color) 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    animation: load3 1.4s infinite linear;
    transform: translateZ(0);
}
.loader:before {
    width: 50%;
    height: 50%;
    background: var(--blue-color);
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.loader:after {
    background: white;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.fonduOutLoader{
    opacity: 0;
    transition: 0.4s ease-out;
    pointer-events: none;
    user-select: none;
}



.principalContent{
    height: 100%;
}


.enteteSection_largeur{
    width: 100%;
    display: flex;
    justify-content: center;
}

.enteteSection{
    background-color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 0 0 4em 4em;
    border: 1px solid var(--revisionsGroupees);
    border-top-color: transparent;
    padding: 0 0 1%;
    color: var(--revisionsGroupees);
    width: 20%;
    margin: auto;
}

.enteteSection div:first-child{
    font-size: 2.5em;
}
.enteteSection div:last-child{
    font-size: 1.2em;
}



/* Animation */
.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
}

.js-scroll.scrolled {
    opacity: 1;
}

/* Fade du bas vers le haut */

.scrolled.fade-in-bottom{
    animation: fade-in-bottom 0.8s ease-in-out both;
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade de la droite vers la gauche */

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaling{
    from {
        transform: scale(1);
    }

    to{
        transform: scale(1.05);
    }
}






