body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.banner
{
    overflow: hidden;
    background-color: beige;

}



.text {
    margin: auto;
    width: 80%;
    background-color: lightblue;
    padding: 20px;
    font-size: 12px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
    text-align: left;
    border: 2px solid black;   /* contour noir */
    border-radius: 8px;        /* coins arrondis */
}
.Pres
{
  display: flex;
  flex-direction: column; /* garde le contenu en colonne */
  align-items: center;    /* centre horizontalement */

}
.welc
{
  text-align: center;

}
/*Test Db */
.db-svg {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


.nav-item, .nav-item2, .nav-item3, .nav-item4, .nav-item5, .nav-item6, .nav-item7
{
    float: left;
    display: block;
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    font-family: Arial, sans-serif;
    position: relative;
}

/* Style pour le conteneur du formulaire */
.container {
    max-width: 600px;
    margin: 0 auto; /* Centre le formulaire sur la page */
    padding: 20px;
    
}

/* Style pour chaque ligne du formulaire (label + input/textarea) */
.container div {
    display: flex; /* Active Flexbox */
    align-items: center; /* Aligne verticalement les éléments */
    margin-bottom: 15px; /* Espacement entre les lignes */
}

/* Style pour les labels */
.container label {
    width: 150px; /* Largeur fixe pour aligner les labels */
    text-align: right; /* Alignement à droite pour un rendu propre */
    margin-right: 15px; /* Espacement entre le label et l'input */
    font-weight: bold; /* Style optionnel */
}

/* Style pour les inputs et textarea */
.container input[type="text"],
.container textarea {
    flex: 1; /* Prend tout l'espace restant */
    vertical-align: top;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style pour le textarea */
.container textarea {
    height: 100px; /* Hauteur fixe pour le textarea */
    resize: vertical; /* Permet de redimensionner verticalement */
}
.but
{
    margin-top: 20px; /* Espacement au-dessus du bouton */
    padding-left: 50%;
}

/* Style pour le bouton */
.container button {
    padding: 10px 20px;
    background-color: beige;
    color: black;
    border: 2px solid black;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  
}

.container button:hover {
    background-color: green; /* Effet au survol */
}

/* $message du Php dans onglet inscription en case d'erreur*/
.message {
    display: flex;
   align-items: center;
   justify-content: center;
    margin-bottom: 15px;
}

.message .error {
    color: red;
}
.message .success {
    color: green;
}

/* Style pour le message de bienvenue dans espace membre */
.Bienvenue
{
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: black;
    text-align: center;
    margin-bottom: 20px;
    padding-left: 50px;
}

  /* Style pour les divs autour du globe */
    .widget-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        height: 600px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99;
    }

    .widget {
        position: absolute;
        width: 120px;
        height: 120px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .widget:hover {
        transform: scale(1.1);
    }

    .widget img {
        width: 80%;
        height: 80%;
        object-fit: contain;
    }

    /* Positionnement des widgets autour du globe */
    .widget-profil {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .widget-meteo {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .widget-agenda {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    h3 {
      
        font-size: 24px;
        color: rgb(0, 0, 0);
   
        

    }

    /*meteo api pour la page meteo.php */
    .weather-container {
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    #weather-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    /*Style pour agenda.php*/
    #calendar {
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .welcome {    
     font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 24px;
    color: rgb(96, 12, 60);
    text-align: center;
    margin-bottom: 20px;
    padding-left: 50px;
    }

    /* ===== ESPACE MEMBRE (Globe + Menu Circulaire) ===== */
body.espace-membre, html.espace-membre {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #0a0a23;
    overflow: auto;
    font-family: Arial, sans-serif;
}

.globe-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe {
    width: 200px;
    height: 200px;
    background: url('../img/planet.jpg');
    background-size: cover;
    border-radius: 50%;
    animation: spin 20s linear infinite;
    position: relative;
    z-index: 10;
}

@keyframes spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.menu-circulaire {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-item {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-origin: center;
    transition: transform 0.3s;
}

.menu-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s;
}

.menu-item img:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

/* Positionnement des items en cercle */
.menu-item:nth-child(1) { transform: rotate(0deg) translate(200px) rotate(0deg); }
.menu-item:nth-child(2) { transform: rotate(60deg) translate(200px) rotate(-60deg); }
.menu-item:nth-child(3) { transform: rotate(120deg) translate(200px) rotate(-120deg); }
.menu-item:nth-child(4) { transform: rotate(180deg) translate(200px) rotate(-180deg); }
.menu-item:nth-child(5) { transform: rotate(240deg) translate(200px) rotate(-240deg); }
.menu-item:nth-child(6) { transform: rotate(300deg) translate(200px) rotate(-300deg); }

/* Style pour le footer des crédits (spécifique à espace_membre) */
.credits-footer {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 6px 14px;
    font-size: 11px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    color: #ccc;
    z-index: 50;
}

.credits-footer a {
    color: #8ab4ff;
    text-decoration: none;
}

.credits-footer a:hover {
    text-decoration: underline;
}

    /*style des crédits des icônes animées*/

.credits-footer {
    position: fixed;
    bottom: 15px;   /* ← remonte le footer */
    left: 50%;
    transform: translateX(-50%);
    width: auto;

    padding: 6px 14px;
    font-size: 11px;
    text-align: center;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border-radius: 20px;


    color: #ccc;
    z-index: 50;


}

.credits-footer a {
    color: #8ab4ff;
    text-decoration: none;
}

.credits-footer a:hover {
    text-decoration: underline;
}



