/* Importation de la police rétro */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* Animations */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

html {
    height: 100%;
    width: 100%;
    margin: 0;
}

/* Style général */
body {
    background-color: #1e1e1e;
    color: #D4D4D4;
    font-family: 'VT323', cursive;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

main {
    flex: 1; 
    min-height: 68.6vh;
  }

/* Titres */
h1 {
    font-size: 2em;
    color: #569CD6;
    text-shadow: 2px 2px 0px #000;
}

h2 {
    font-size: 1.75em;
    color: #569CD6;
    text-shadow: 2px 2px 0px #000;
}

h3 {
    font-size: 1.5em;
    color: #569CD6;
    text-shadow: 2px 2px 0px #000;
}

h4 {
    font-size: 1.25em;
    color: #569CD6;
    text-shadow: 2px 2px 0px #000;
}

/* Liens */
a {
    color: #9CDCFE;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #D16969;
}

/* Navigation */
nav {
    background-color: #252526;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C586C0;
    border-top: 2px solid #C586C0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 15px;
    font-size: x-large;
}

nav ul li a {
    color: #C586C0; /* Violet pour les liens du menu */
    font-size: 1em;
    border-left: 2px solid #C586C0;
    border-right: 2px solid #C586C0;
    border-top: 2px solid #C586C0;
    border-bottom: 2px solid #C586C0;
    padding: 5px;
}

nav ul li a:hover {
    color: #9CDCFE;
}


section {
    background-color: #2D2D30;
    border: 4px solid #9CDCFE; /* Bordure bleue pour le look rétro */
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px; /* Coins légèrement arrondis */
    width: 80%;
    margin: 20px;
}

/* Boutons */
button {
    background-color: #007ACC;
    color: #D4D4D4;
    font-family: 'VT323', cursive;
    border: 4px solid #C586C0; /* Bordure violet rétro */
    padding: 5px 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
}

button:hover {
    background-color: #D16969;
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 2px solid #9CDCFE; /* Bordure bleue rétro */
    padding: 10px;
    text-align: left;
    color: #D4D4D4;
    background-color: #1e1e1e;
}

/* Code Blocks */
pre, code {
    background-color: #535151;
    color: #DCDCAA; /* Jaune doux pour le texte de code */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #3C3C3C;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Footer */
footer {
    background-color: #252526;
    color: #C586C0;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-top: 2px solid #C586C0;
    margin-top: 20px;
}

a, h1, h2 {
    animation: flicker 1.5s infinite; /* Effet de clignotement rétro */
}

p, label, legend {
    font-size: 1.2em;
}


input, select, textarea {
    background-color: #535151;
    overflow-y: auto;
    color: #DCDCAA;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #3C3C3C;
    font-family: 'Courier New', monospace;
}

.icon {
    font-size: 16px;
    animation: flicker 1.5s infinite;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%;
}

.super-section{
    display: flex;
    flex-direction: column;
    align-items: center; 
}


.options {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0 1rem 0;
    border: none;
    padding: 0;
}