body {
   background: 
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)), /* couche sombre */
    url('https://juiced.val57000.ovh/fond.jpg') center/cover no-repeat fixed;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #00FF00;
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  padding: 20px;
  text-align: center;

}

/* Spécifique : ne PAS centrer le menu dans la balise nav */
nav {
  text-align: left;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

nav ul li a {
  color: #00FF00;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #00cc00;
  text-shadow: 0 0 5px #00ff00;
}

/* En-têtes style terminal */
h1, h2, h3, h4 {
  color: #00FF00;
  text-shadow: 0 0 5px #00FF00;
  border-bottom: 1px dashed #00FF00;
  padding-bottom: 4px;
  margin-top: 20px;
}

/* Liens style phosphorescent */
a {
  color: #00FF00;
  text-decoration: underline;
}

a:hover {
  color: #00cc00;
  text-shadow: 0 0 5px #00ff00;
}

/* Boutons style rétro */
button, input[type="submit"] {
  background-color: #000;
  color: #00FF00;
  border: 1px solid #00FF00;
  padding: 8px 16px;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto; /* centrage bouton */
  display: block; /* pour que margin auto marche */
}

button:hover, input[type="submit"]:hover {
  background-color: #111;
  text-shadow: 0 0 5px #00FF00;
}

/* Table style console */
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #00FF00;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto; /* centrage table */
}

th, td {
  border: 1px solid #00FF00;
  padding: 6px;
  text-align: center;
  color: #00FF00;
  background-color: #000;
}

th {
  background-color: #003300;
  text-shadow: 0 0 3px #00FF00;
}

/* Images et vidéos centrées avec coins arrondis */
img, video {
  display: block;
  max-width: 100%; /* responsive */
  height: auto;
  margin: auto;
}

img {
  border-radius: 12px; /* coins arrondis */
}

/* Input text fields */
input[type="text"], input[type="password"] {
  background-color: #000;
  color: #00FF00;
  border: 1px solid #00FF00;
  padding: 6px;
  width: 100%;
  font-family: inherit;
}

input[type="text"]:focus, input[type="password"]:focus {
  outline: none;
  box-shadow: 0 0 5px #00FF00;
}

p {
  white-space: pre-wrap;
  text-align: center;
  color: #FFFFFF;
}

p::after {
  content: "  "; /* insère un saut de ligne après chaque paragraphe */
  white-space: pre;
  display: block;
}


@media screen and (min-width: 80rem) {
  .container {
    margin: 1em 2em;
    column-count: 3;
    column-width: 10em;
    display: flex;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.item {
  flex: 1;
}
img,
picture,
video {
  max-width: 100%;
}
html {
  font-size: 1em;
}

h1 {
  font-size: 2rem;
}

@media (min-width: 1200px) {
  h1 {
     font-size: calc(1.5rem + 3vw);
  }
}
div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  border: 1px solid black;
}
button {
  font-size: 18px;
  line-height: 1.5;
  width: 15%;
  flex: 1 auto;
  margin: 5px;
}
button:first-child {
  align-self: safe center;
}
button:last-child {
  order: -1;
  align-self: safe center;
}
.menu-buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  border: 1px solid black;
  font-size: 18px;
  line-height: 1.5;
  width: 15%;
  flex: 1 auto;
  margin: 5px;

}
