/** 

//UPDATE revoir les tailles en rem. Trop gros

//UPDATE rendre la section de texte impossible (priorité au menus du bas et au feed)
.non-selectable {
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;    
    user-select: none;     
}


**/


*{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:root{
    --font-normal:"Exo 2","candara";
    --font-big:"Saira Stencil One","serif";
    --font-small:"Pangolin","comic sans ms";
    --color-accent:#f70aff;
    --color-accentDark:#a32e9f;
    --color-whatsapp:#25D366;
    --color-telegram:#229ED9;
    --color-telegramChannel:#118dc8;
    --color-facebook:#3b5998;
}
html{
    background-color: black;
    font-size:23px;
}body{
    margin:0px;
}#content{
    width:95%;
    margin:auto;
    padding-bottom: 50px;
}.separatorVertical{
    height: 100px;
}


/*---------------------------------------------------------------------------------------------------------------------------Texts*/
.textNormal{
    font-family: var(--font-normal);
    font-size: 1rem;
    text-align: justify;
    color:white;
}
.textSmall{
    font-family: var(--font-small);
    font-size: 0.8rem;
    text-align: center;
    color:#BBB;
    margin:50px 0px;
}#pageTitle{
    font-family: var(--font-big);
    font-size: 1.5rem;
    color:var(--color-accent);
    text-align: center;
    margin:50px 5px;
}.textFeatured{
    color:yellow;
}.textNormal li{
    margin-bottom: 20px;
}.error{
    background-color: red;
    color:white;
    border:2px solid white;
}.warning{
    background-color: yellow;
    color:black;
    border:2px solid orange;
}.goodMsg{
    background-color: lightgreen;
    color:black;
    border:2px solid white;
}.error, .warning,.goodMsg{
    padding:5px;
    border-radius:5px;
    margin:30px 0px;
}.link{
    color:cyan;
    text-decoration: none;
}

/**Help zone*/
#introHelp::before{
    content:"🔎 En savoir plus sur ";
}#introHelp{
    font-family: var(--font-small);
    font-size: 0.8rem;
    color:black;
    background-color:moccasin;
    padding:10px;
    width:80%;
    margin:auto;    
    font-style:italic;
    text-align: center;
    margin-bottom: 60px;
    margin-top:30px;
}
#help{
    display:none;
    padding:10px;
    border:2px dashed yellow;
    display: none;
    background-color: #111;
}
#helpClose{
    font-style: italic;
    text-align: center;
    font-size: 0.8rem;
    color:cyan;
    margin-top:20px;
}#helpClose::before{
    content:"Ferme l'aide en cliquant dessus";
}



/*--------------------------------------------------------------------------------------------------------------------------Icones & Images*/
#logoLarge{
    display: block;
    width: 80%;
    margin:auto;
    margin-top: 20%;
    margin-bottom: 15%;
}
.whiteIcon{
    filter: invert(99%) sepia(3%) saturate(1%) hue-rotate(311deg) brightness(106%) contrast(100%);
}



/*--------------------------------------------------------------------------------------------------------------------------FORMS*/
.form{
    background:linear-gradient(#222,#111);
    width: 90%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    border:2px solid #444;
    border-radius: 5px;
    padding:10px;
    padding-bottom: 30px;
}.form label{
    display: block;
    font-family: var(--font-normal);
    font-size: 1rem;
    color:white;
    margin-bottom: 2px;
}
.entry,.list{
    font-family:var(--font-normal);
    font-size:1rem;
    width:100%;
    margin:10px auto;
    margin-bottom: 30px;
    padding:10px 5px;
}.entry{
    background-color: white;
    color:black;
}.loginTitle{
    font-size: 1rem;
    text-align: center;
    font-family: var(--font-big);
}



/*--------------------------------------------------------------------------------------------------------------------------Widgets*/
.buttonLarge{
    display: block;
    width:80%;
    margin:auto;
    padding:20px 10px;
    background: linear-gradient(var(--color-accent),var(--color-accentDark));
    color:white;
    font-family: var(--font-big);
    text-align: center;
    border:2px solid white;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-top:50px;
}


/*POPUPS*/
.popup{
    position:fixed;
    z-index:9;
    left:0;width:100vw;
    top:0;height:100vh;
    background:rgba(0,0,0,0.85);
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: auto;
}

.popupContent{
    width:95%;
    margin:20px;
    display: flex;
    flex-direction: column;
    border:2px solid white;
}
.popupHeader{
    display: flex;
    align-items: center;
    background:linear-gradient(black,purple);
    padding:10px 5px;
}.popupHeader>img{
    margin-right:10px;
    height: 1.2rem;
    filter: invert(99%) sepia(3%) saturate(1%) hue-rotate(311deg) brightness(106%) contrast(100%);
}.popupTitle{
    font-family: var(--font-big);
    font-size: 0.9rem;
    color:white;
}

.popupText{
    font-family: var(--font-normal);
    font-size:1rem;
    background-color: white;
    padding:15px;
}
.popupButtons{
    border-top:3px double darkgrey;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end; 
    background-color: white;
    padding:20px 0px 0px 0px;
    
}

.popupButton{
    font-family: var(--font-small);
    font-size:1.1rem;
    margin-right:20px;
    margin-bottom:20px;
    border:1px solid black;
    background-color: #E5E5E5;
    padding:5px 20px;
    cursor: pointer;
    border-radius: 5px;
}.popupButtonFeatured{
    background: linear-gradient(45deg,purple,black);
    color:white;
}


/*--------------------------------------------------------------------------------------------------------------------------Headers*/
#header{
    position:fixed;
    background:linear-gradient(black,purple);

    z-index: 2;
    top:0;left:0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding:5px 10px;
    border-bottom: 2px solid white;
}#headerLeft{
    width:70%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: center;
}

#headerLogo{
    display: block;
    min-width: 15%;
    border:1px solid white;
    object-fit: contain;
    margin-right: 3%;
}#headerName{
    font-family: var(--font-normal);
    font-size:0.75rem;
    color:white;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:center;
    flex:1;
   
}#headerCrown{
    height: 1rem;
    filter: invert(99%) sepia(59%) saturate(5828%) hue-rotate(357deg) brightness(104%) contrast(101%);
    margin-right: 3%;
}



#headerIcons{
    width:30%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}


#headerIconNotifications{
    position:relative;
    display: inline-block;
   
}
#headerIconNotifications img,#headerIconOptions img{
    height: 1.4rem;
    filter: invert(100%) sepia(7%) saturate(0%) hue-rotate(274deg) brightness(102%) contrast(103%);
}#headerIconNotificationsCount{
    position:absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-family: var(--font-normal);
    font-size: 0.6rem;
    padding: 3px 6px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 0 2px white; 
}





















/**--------------------------------------------------------------------------------------------------------------------------FOOTERS*/
#userFooter{
    position:fixed;
   /*background:linear-gradient(#e92fe3,#6d196a);*/
   background:linear-gradient(purple, black);
    z-index: 2;
    bottom:0;left:0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    border-top:2px solid white;
}.userFooterTab{
    display: flex;
    flex-direction: column;
    align-items: center;
    border:1px solid purple;
    width: 33%;
}
.userFooterTab img{
    height:1.3rem;
    filter: invert(99%) sepia(0%) saturate(0%) hue-rotate(266deg) brightness(114%) contrast(100%);
    margin-top:5px;
}.userFooterTab p{
    margin: 5px;
    font-family: var(--font-normal);
    font-size:0.8rem;
    color:white;
}
/*tab selected*/
#userFooterTabSelected{
    background:linear-gradient(#7a1b77,#531151);
}#userFooterTabSelected img{
    filter: invert(87%) sepia(0%) saturate(0%) hue-rotate(304deg) brightness(104%) contrast(89%);
}#userFooterTabSelected p{
    color:#DDD;
}





/*--------------------------------------------------------------------------------------------------------------------------OPTIONS*/
#optionsMenu{
    position:fixed;
    z-index:4;
    left:0;top:0;
    width:100vw;
    height:100vh;
    background-color: black;
    overflow: scroll;
    display: none;
}

#optionsMenuHeader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:5%;
    margin-bottom:10vh;
    flex-wrap: nowrap;
}
#optionsMenuHeader img{
    height: 6vh;
    filter:invert(93%) sepia(0%) saturate(7500%) hue-rotate(61deg) brightness(107%) contrast(107%);
}

#optionsMenuLogout{
    background-color: red;
    padding:5px;
    border-radius: 25%;
}


.menuOption{
    display: flex;
    align-items: center;
    flex-wrap:nowrap;
    background-color: #DDD;
    padding:20px 5px;
    cursor:pointer;
    width:95%;
    margin:auto;
    margin-bottom: 15px;

}.menuOption img{
    height: 1.5rem;
    filter: invert(13%) sepia(57%) saturate(57%) hue-rotate(314deg) brightness(104%) contrast(88%);
    margin-right: 10px;
}.menuOption span{
    font-family: var(--font-normal);
    font-size: 1.1rem;
    color:black;
}.optionsTitle{
    font-family: var(--font-big);
    font-size: 1.2rem;
    color:var(--color-accent);
    text-align: right;
    border-bottom: dashed var(--color-accent) 2px;
    margin-top:60px;
    margin-bottom:20px;
    padding-right: 5%;
}
