/* Styles pour la page Inscription */
body {
    background-color: #0a0a0a;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

iframe {
    width: 100%;
    height: 500px;
}

/* 📜 Formulaire */
.inscription-form {
    background: rgba(30, 30, 30);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    margin: 5em auto;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    text-align: center;
}

.inscription-form h1 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* ✍️ Champs du formulaire */
.inscription-form input {
    width: calc(100% - 20px);
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #444;
    border-radius: 6px;
    font-size: 16px;
    background: #222;
    color: white;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.inscription-form input:focus {
    border-color: #0078ff;
}

/* Bouton S'inscrire */
.inscription-form button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: #0078ff;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.inscription-form button:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* Nom en majuscules */
.inscription-form input[type="text"]#name {
    text-transform: uppercase;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
    .inscription-form {
        margin: 1em;
        padding: 1em;
        max-width: fit-content;
    }
}

/* 🌌 Fond étoilé animé */
@keyframes twinkling {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkling 1.5s infinite alternate ease-in-out;
}

/* Génération aléatoire des étoiles */
.star:nth-child(odd) {
    animation-duration: 1.5s;
}

.star:nth-child(even) {
    animation-duration: 2.5s;
}