body {
    margin: 0;
    padding: 0;
    background-color: black;
    position: relative;
    overflow-x: hidden;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.fusee {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 4.5em;
    color: red;
    margin-top: 150px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}


nav {
    background: rgba(0,0,0,0.8);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease-in-out;
}

nav ul li a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:100%;
    height:3px;
    background:red;
    transform: scaleX(0);
    transform-origin:right;
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin:left;
}

nav ul li a:hover {
    color:red;
}

nav ul li a i {
    margin-right:8px;
    font-size:1.2em;
    vertical-align: middle;
}

.composants {
    width: 100%;
    padding: 200px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 300px;
    position: relative;
    z-index: 2;
}

.composant {
    width: 500px;
    padding: 25px 30px;
    background-color: rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    color: #f0f0f0;
    font-size: 1.1em;
    line-height: 1.6em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    z-index: 2;
}

.gauche { align-self: flex-start; }
.droite { align-self: flex-end; }

.composant::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.gauche::before { right: -20px; border-left-color: rgba(255,255,255,0.2); }
.droite::before { left: -20px; border-right-color: rgba(255,255,255,0.2); }

.composant.droite:last-child {
    width: 350px;
    font-size: 1.05em;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.connexion-container {
    margin-top: 160px;
    max-width: 400px;
    background: rgba(0,0,0,0.7);
    padding: 30px;
    border-radius: 15px;
    color: white;
    font-size: 1.2em;
    text-align: center;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
    position: relative;
    z-index: 2;
}

.rectangle-blanc {
    width: 1000px;
    height: 500px;
    background-color: white;
    position: fixed;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.rectangle-blanc p { font-size: 1.2em; color: black; }
.rectangle-blanc i { margin-right: 10px; color: #333; }
