*{
    margin: 0;
    padding: 0;
}
body{
    min-height: 100vh;
    /*background-color: beige;*/
    background-image: url(../../graphics/login_page_background.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Montserrat','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}





nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* assure-toi qu’il n’y a pas d’espace */
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

#logo {
    margin-right: auto; /* pousse les autres items à droite */
}

#logo a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
}

#logo img {
    height: 40px; /* ajuste selon ton image */
    margin-right: 10px;
}

#logo span {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

nav a:hover{
    background-color: #f0f0f0;
}

nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.goldenMenu {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu{
    background: linear-gradient(45deg, #22333b, #2d4551);
    color:white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu:hover a{
    color:black;
}

.contactMenu a {
    color: white;
}

#vip {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}
#sec_connexion {
    text-align: center;
    margin-top: 30px;
}

#vip p {
    font-weight: bold;
}

#sec_connexion input {
    height: 30px;
    margin-top: 10px;
}

#sec_connexion button {
    height: 50px;
    width: 150px;
    margin-top: 50px;
    margin-bottom: 80px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 5px;
    font-size: 120%;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.already-log {
    text-align: center;
    margin-top: 50px;
    font-size: 150%;
}

.already-log button{
    width: 120px;
    height: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    background: linear-gradient(45deg, #ff4400, #ff2200);
    color: white;
    font-weight: bold;
}

body.blue {
    background-image: none;
    background-color: #b8cfe8;
}

body.orange {
    background-image: none;
    background-color: #ebd5b6;
}

body.purple {
    background-image: none;
    background-color: #c6aff0;
}


/* -------     MEMBER DASHBOARD  --------*/
#dashboard-page{
    display: flex;
}

#ressource-top{
    display: flex;
    
}

#ressource-top img {
    width: 80px;
}

#ressource-top h2 {
    font-size: 20px;
}

#right-sec-dashboard li {
    font-size: 12px;
}

#right-sec-dashboard{
    margin-left: 25px;
    margin-right: 10px;
}

#right-sec-dashboard li{
    margin-top: 10px;
}

#left-sec-dashboard{
    width: 95%;
    border-right: 1px solid black;
}

.profilPicture{
    width: 120px;
}

#dashboard_header {
    display: flex;
    align-items: center;
    margin: 25px;
}

#dashboard_header img {
    margin-right: 50px;
}

#datas-and-plan {
    display: flex;
    justify-content: space-around;
}

#datas-of-user img{
    width: 300px;
    border: 1px solid black;
}

#plan-of-user img{
    width: 650px;
    border: 1px solid black;
}

#dashboard-page{
    display: flex;
    flex-direction: row;
}

#results{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 15px;
}

@media(max-width: 1265px){
    #dashboard-page{
        flex-direction: column;
        align-items: center;
    }
    #left-sec-dashboard{
        border: 0px;
        margin-bottom: 35px;
    }
    #results{
        justify-content: center;
    }
    #right-sec-dashboard{
        width: 90%;
        font-size: 150%;
    }
    #right-sec-dashboard .btn-add{
        margin-left: 100px;
        
        margin-bottom: 25px;
    }

    #right-sec-dashboard h2 {
        font-size: 150%;
        text-decoration: underline;
    }
    #right-sec-dashboard li {
        font-size: 80%;
    }
    #right-sec-dashboard span {
        font-size: 100%;
    }
    #two_lists{
        display: flex;
        justify-content: space-around;
        flex-direction: row;
    }
}

@media(max-width: 1015px){
    #datas-and-plan {
        flex-direction: column;
        align-items: center;
    }
    #plan-of-user {
        margin-bottom: 25px;
    }
    #datas-of-user {
        margin-bottom: 25px;
    }
}

@media(max-width: 700px){
    #datas-of-user img{
        width: 95%;
    }
    #plan-of-user img{
        width: 95%;
    }
    #results img{
        width: 95%;
    }
    #two_lists{
        flex-direction: column;
        margin-left: 25px;
    }
}

@media(max-width: 450px){
    #two_lists{
        width: 90%;
        justify-content: space-around;
    }
}
@media(max-width: 478px){
    #right-sec-dashboard h2 {
        font-size: 130%;
    }
}


body.blue {
    background-color: #b8cfe8;
}

body.orange {
    background-color: #ebd5b6;
}

body.purple {
    background-color: #c6aff0;
}

#first_list{
    margin-top: 15px;
    margin-bottom: 15px;
}

#second_list{
    margin-top: 15px;
    margin-bottom: 15px;
}

#right-sec-dashboard ul li a {
    text-decoration: none;
}

#first_list{
    color: rgb(255, 255, 255);
}
#third_list{
    color: rgb(255, 255, 255);
}
#second_list{
    color: rgb(0, 0, 199);
}

.ressource_title{
    font-weight: bold;
}

#unlog{
    display: flex;
    justify-content: center;
}

.btn-danger{
    padding: 2px 4px;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    background-color: #3498db;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-danger:hover {
    background-color: #217dbb;
}


/* ---- BLOC VIDÉOS (version utilisateur) ---- */

.video-item-user {
    background: #ffffff;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-icon {
    font-size: 1.5rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.video-title:hover {
    color: #d60000; /* effet YouTube */
}

/* ---- DOCUMENTS (version utilisateur) ---- */

.doc-item-user {
    background: #ffffff;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.doc-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-icon {
    font-size: 1.5rem;
}

.doc-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Bouton télécharger */
.btn-download {
    background: #00aaff;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-download:hover {
    background: #018fd5;
    box-shadow: 1px 1px 1px;
}





/* -------     FOOTER  --------*/

footer {
    position: fixed;
    bottom: 0;
}

#footer{
    background-color: #22333b;
}

#div-footer{
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.footer-categories{
    padding-left: 100px;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-categories img{
    height: 100px;
    padding-bottom: 15px;
}

.footer-categories ul {
    width: 100%;
    list-style: none;
}
.footer-categories li {
    padding-top: 2px;
}

.footer-categories li a {
    text-decoration: none;
    color: rgb(163, 163, 163);
    transition: all 0.5s ease;
}

.footer-categories li a:hover {
    color: white;
}

#copyright{
    background-color: #26373e;
    color: rgb(163, 163, 163);
    padding: 15px;
}

#copyright p{
    padding-left: 85px;
}

@media(max-width: 650px){
    #div-footer{
        flex-direction: column;
        justify-content: center;
    }
    .footer-categories{
        padding-left: 40%;

    }
}






/* ------- RESPONSIVE ------- */

@media(max-width: 1000px){
    .hideOnMobile{
        display: none;
    }
}

@media(min-width: 1001px){
    .hideOnPC{
        display: none;
    }
}

@media(max-width: 850px){
    .presentation{
        flex-direction: column;
    } 
}

@media(max-width: 650px){
    .sec-res-buttons{
        flex-direction: column;
    }
}

@media(max-width: 1250px){
    #section-offer{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 50px;
    }
    #sec-offer-image img{
        max-width: 95%;
        height:auto;
        margin-left: 2.5%;
        margin-right: 2.5%;
        
    }
    
}
@media(max-width: 600px){
    .sec-offer-points-boxes{
        flex-direction: column;
        align-items: center;
        padding-bottom: 50px;
    }
    .sec-offer-points-boxes img{
        max-width: 100%;
        height:auto;
        margin-right: 0;
    }
    .sec-offer-points-boxes-img{
        margin-left: 0px;
    }
}

@media(max-width: 1100px){
    #sec-info-global{
        flex-direction: column;
        justify-content: space-around;
        padding-left: 25px;
    }
    .sec-info-boxes{
        padding-top: 25px;
    }
}


