* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation principale */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    border-bottom: 2px solid #00fff9;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Logo style commun */
.logo, .footer-logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span:first-child,
.footer-logo span:first-child {
    color: #00fff9;
    margin-right: -5px;
}

.logo span:last-child,
.footer-logo span:last-child {
    color: #fcee0a;
}

.logo:hover span:first-child,
.footer-logo a:hover span:first-child {
    color: #fcee0a;
}

.logo:hover span:last-child,
.footer-logo a:hover span:last-child {
    color: #00fff9;
}

/* Menu de navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.nav-links a:hover:not(.btn) {
    text-decoration: underline 3px;
    text-decoration-color: #00fff9;
    margin-top: 1px;
    

}

.nav-links .btn:hover {
    background-color: #5b1092;
}

.nav-links a.active {
    color: #00fff9;
}

.nav-links a[href="formulaire.html"] {
    border: 2px solid #ff00ff;
    color: #ff00ff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links .btn {
    background-color: #4b0082;
    border-radius: 5px;
}

/* Section héro */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/1352905.png');
    background-size: cover;
    position: relative;
    text-align: center;
}

.hero-content {
    background: rgba(10, 10, 10, 0.7);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid #00fff9;
    max-width: 600px;
}

.hero-content h1 {
    color: #00fff9;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4b0082;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #5b1092;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.4);
}

/* Style des boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    text-decoration: none;
}

.btn_accueil {
    background-color: #ff00ff;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 60px;
    display: inline-block;
}

.btn_accueil:hover {
    background-color: #5b1092;
    transform: translateY(-2px);                       /* j'ai cherché sur internet et j'ai compris se qu'elle fait sur mon boutons , 
                                                       elle permet de faire bouger le bouton sur l'axe Y quand on passe la souris dessus*/
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.4);
}

.card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #00fff9;
    overflow: hidden;
}

/* Formulaires */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(20, 20, 20, 0.8);
    border: 2px solid #00fff9;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #00fff9;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid #00fff9;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #00fff9;
    color: #0a0a0a;
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-button:hover {
    background-color: #ff00ff;
    color: #ffffff;
    transform: translateY(-2px);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #00fff9;
    color: #ffffff;
}

.login-box {
    background-color: rgba(20, 20, 20, 0.8);
    border: 2px solid #00fff9;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 30px;
}

/* Formulaire */
.login-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.login-box {
    background-color: rgba(10, 10, 10, 0.9);
    border: 2px solid #00fff9;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.2);
}

.login-box h1 {
    color: #00fff9;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #00fff9;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #00fff9;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    accent-color: #00fff9;
}



.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button[type="submit"] {
    background-color: #00fff9;
    color: #0a0a0a;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    background-color: #ff00ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

/* Sections de contenu */
.figures-section, 
.galerie-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.figure-card, 
.galerie-item {
    flex: 1 1 300px;
    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid #00fff9;
    border-radius: 10px;
    overflow: hidden; 
}

.figure-card-image, 
.galerie-item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.figure-card-content, 
.galerie-item-content {
    padding: 1rem;
}

.figure-card-title, 
.galerie-item-title {
    color: #00fff9;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Styles pour la section des figures */
.figures-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.figure-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid #00fff9;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.figure-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.figure-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.figure-card-title {
    color: #00fff9;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.figure-card-description {
    font-size: 0.9rem;
    line-height: 1.5;   /*définie la hauteur de la boîte d'une ligne */
}

.small-card {
    grid-column: span 1;
}
/* Zone d'accueil */
.home-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #00fff9;
    border-radius: 10px;
}

.home-content h2 {
    color: #00fff9;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.home-content p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

#introduction {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.introduction-article {
    flex: 2;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 2rem;
    border: 1px solid #00fff9;
    border-radius: 10px;
}

.introduction-aside {
    flex: 1;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 2rem;
    border: 1px solid #ff00ff;
    border-radius: 10px;
    flex-wrap: wrap;
}
.introduction-title {
    color: #00fff9;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.introduction-aside-title {
    color: #ff00ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.introduction-aside-list {
    list-style: none;
    padding: 0;
}

.introduction-aside-item {
    color: #ffffff;
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.introduction-aside-item:last-child {
    border-bottom: none;
}

/* Pied de page */
footer {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 2rem;
    margin-top: auto;
    border-top: 2px solid #00fff9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
    margin: 0 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
}

.footer-links a:hover {
    color: #fcee0a;
    transition: all 0.5s;
    
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

/* Sections page univers.html*/
.univers-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 1200px;
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid #00fff9;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.2);
}

.univers-section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 2px solid #ff00ff;
}

.univers-section-content {
    flex: 1;
    padding: 1rem;
}

/* style de la zone pour la vidéo youtube */
.video-section {
    padding: 4rem 2rem;
    background-color: rgba(20, 20, 20, 0.5);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
