
/* styles.css */

/*couleur principale: 
                    Noir #020617

                    Or #bd8d14

                    Violet #4C1D95

                    Bleu nuit #0F172A

                    Blanc #FAFAFA*/

/* polices utilisées:
                    Iceberg (corps de texte)
                    Megrim (logo / Cassiopeia) */

        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Iceberg', sans-serif; /* police moderne et lisible */
            line-height: 1.6;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: linear-gradient(135deg, #0F172A, #020617);
            /*background: linear-gradient(135deg, #020617, #0F172A);*/ /* dégradé */
        }
        header {
            background: linear-gradient(135deg, #020617, #0F172A); /* dégradé */
            color: #bd8d14;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 0 40px;
            font-size: 20px;
        }
        .logo {
            transform: translateX(-20%);
        }
        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }
        nav a {
            color: #bd8d14;
            text-decoration: none;
            transition: opacity 0.3s; 
            padding: 10px; /* espacement */
        }
        nav .nav_text:hover { /* effet de survol*/
            opacity: 0.7;
        }
        
        .debut {
            color: #FAFAFA;
            text-align: center;
            margin-top: 40px;
        }
        .debut h1 {
            font-family: "Iceberg", serif;
            font-size: 48px;
        }

        .Cassiopeia {
            font-family: "Megrim", serif;
            font-size: 50px;
            display: inline-block;
            margin-left: 10px;
        }
        .debut p {
            font-size: 20px;
            margin-bottom: 30px;
        }
        .btn {
            display: inline-block; /* bouton en ligne */
            background: white; /* fond blanc */
            color: #bd8d14; /* texte violet */
            padding: 12px 30px; /* espacement */
            border-radius: 5px; /* bords arrondis */
            text-decoration: none; /* pas de soulignement */
            font-weight: bold; /* texte en gras */
            transition: transform 0.3s; /* transition pour l'effet de survol */
        }
        .btn:hover { /* effet de survol */
            transform: scale(1.05);
        }

 
        .description {
            position: relative; /* pour l'overlay */
            background-image: url("image/fond3.avif");   /* image de fond */
            background-size: cover; /* couvre toute la section */
            background-position: center; /* centre l'image */
            background-attachment: fixed; /* effet de parallaxe */
            padding: 40px; /* espacement interne */
            margin-top: 40px; /* espace au dessus */
            margin-bottom: 0px; /* espace en dessous */
            color: #fff; /* texte blanc */
            overflow: hidden;   /* pour l'overlay */
            text-align: center; /* text centré */
            text-align: start; /* texte aligné à gauche */
            font-size: 20px; /* taille de police */
        }
        
        .titre-constelation {
            color: rgb(255, 255, 255);
            text-align: center;
            font-size: 40px;
            margin-bottom: 40px;
            margin-top: 40px;
        }

        .text-etoile {
            color: #a5a5a5;
            text-align: center;
            font-size: 18px;
            margin-bottom: 40px;
            margin-top: 40px;
        }

        .constelation {
            display: flex;
            align-items: flex-start;  /* alignement en haut */
            justify-content: center;
            gap: 40px;
            margin-bottom: 40px;
            margin-top: 40px;
            max-width: 100%;
            
        }

        svg {
            width: 60%;
            flex-shrink: 0; /* empêche le SVG de rétrécir */
            cursor: pointer; /* pour indiquer que c'est cliquable */
            transition: transform 0.7s ease;
        }

        a:hover .segin {
            transform: scale(1.2);
            transform-origin: 150px 180px;
            transition: transform 0.3s;
        }

        a:hover .ruchbah {
            transform: scale(1.2);
            transform-origin: 280px 200px;
            transition: transform 0.3s;
        }

        a:hover .navi {
            transform: scale(1.2);
            transform-origin: 380px 280px;
            transition: transform 0.3s;
        }

        a:hover .schedar {
            transform: scale(1.2);
            transform-origin: 520px 150px;
            transition: transform 0.3s;
        }

        a:hover .caph {
            transform: scale(1.2);
            transform-origin: 680px 180px;
            transition: transform 0.3s;
        }

        a:hover .pacman {
            transform: scale(1.2);
            transform-origin: -10px 20px;
            transition: transform 0.3s;
        }


        .constelation .description_segin,
        .description_ruchbah,
        .description_navi,
        .description_schedar,
        .description_caph,
        .description_pacman {
            width: 460px;
            color: #FAFAFA;
            font-size: 20px;
            padding: 20px;
            display: none;
            background-color: #ff0000;
            border-radius: 10px;
            margin-top: 20px;
            background-image: url("image/fond3.avif");   /* image de fond */
            background-size: cover; /* couvre toute la section */
            transform: translateX(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;

        }

        .description_nom {
            font-size: 35px;
        }



 
        
footer {
    height: auto;
    color: #fbfbfe;
    background: linear-gradient(135deg, #020617, #0F172A); /* dégradé */
    margin-top: auto; /* pousse le footer en bas si l'espace est disponible */
    padding: 20px;
    text-align: center;
    width: auto;
}
    
    .footerinfo {
        display: flex;
        justify-content: center;
        gap: 30px;
        align-items: center;
    }

    .date {
        margin: 0;
    }