body {
    background: #0d1117;
    color: #e6edf3;
    font-family: Consolas, Monaco, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    display: block;
    min-height: 100vh;
}
nav {
    background-color: rgba(15, 76, 129, 0.9);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #4CAF50;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #4CAF50;
    transform: scale(1.05);
}

.logo-gauche {
    height: 50px;
    width: 60px;
}

.terminal-container {
    width: 70%;
    max-width: 900px;
    background: #161b22;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #30363d;
}

.terminal-header {
    background: #21262d;
    padding: 10px;
    display: flex;
    align-items: center;
}

.terminal-header .btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.title {
    margin-left: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

.terminal-body {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;

}

.input-zone {
    background: #0f1318;
    padding: 10px;
    display: flex;
    align-items: center;
}

.prompt {
    color: #58a6ff;
    margin-right: 5px;
}

input {
    background: transparent;
    border: none;
    outline: none;
    color: #e6edf3;
    font-family: inherit;
    font-size: 1em;
    width: 100%;
}

.terminal-body {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-y: auto;
}
/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* pour qu'elle reste au-dessus du contenu */
}
body {
    display: block; /* retirer le flex centré pour ne pas décaler le reste */
}

/* --- BODY --- */
body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    background-color: rgba(15, 76, 129, 0.9);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #4CAF50;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #4CAF50;
    transform: scale(1.05);
}

.logo-gauche {
    height: 50px;
    width: 60px;
}

/* --- SECTION NIRD (Gauche) --- */
.intro-nird {
    float: left;
    width: 60%;
    padding: 40px;
    background: rgba(30, 30, 46, 0.9);
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.intro-nird h1 {
    font-size: 3em;
    background: linear-gradient(45deg, #4CAF50, #00BCD4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(76,175,80,0.3);}
    100% { text-shadow: 0 0 30px rgba(76,175,80,0.6), 0 0 40px rgba(0,188,212,0.4);}
}

.intro-nird h2 {
    font-size: 2em;
    color: #00BCD4;
    margin: 25px 0 15px 0;
}

.intro-nird p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro-nird ul {
    margin-left: 20px;
}

.intro-nird li {
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.intro-nird li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* --- MAIN (Images à droite) --- */
main {
    float: right;
    width: 33%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 20px;
    background: rgba(40,40,60,0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

main a {
    display: block;
    width: 100%;
    text-align: center;
}

main img {
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* --- FOOTER --- */
footer {
    clear: both;
    background-color: rgba(30,30,46,0.95);
    color: #b0b0b0;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-top: 2px solid #4CAF50;
    border-radius: 0 0 20px 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .intro-nird, main {
        float: none;
        width: 90%;
        margin: 20px auto;
    }
}
.terminal-container {
    width: 70%;
    max-width: 900px;
    background: #161b22;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #30363d;

    /* Centrage */
    margin: 100px auto 0; /* 100px pour éviter la nav fixe */
}
