* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Oxanium, Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow-y: auto;
  overflow-x:auto;
  font-weight: 200;
  background-image: url('./media/background.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #fff; 
}

form { 
  background: #1e1e1e; 
  padding: 20px; 
  border-radius: 8px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.5); 
  font-family: Oxanium,sans-serif; }

input { 
  margin-top: 10px; 
  padding: 5px; 
  border-radius: 4px; }

.navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.navigation a {
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation a:hover {
  background-color: #444;
  color: white;
}

.center-div {
  width: 800px;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.console {
  background: #000;
  color: #00b5b5;
  padding: 10px;
  border-radius: 4px;
  font-family: monospace;
  min-height: 200px;
  overflow-y: auto; /* Ajout pour permettre le défilement si nécessaire */
}

.input-line {
  display:flex;
  margin-top: 10px;
  align-items: center;
  font-family: monospace;
}
#output {
  color: #1fa0a7;
  font-size: 15px;
  line-height: 1;
  white-space: pre-wrap; /* Permet les sauts de ligne et les espaces multiples */
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

#input-cursor {
  animation: blink 1s infinite;
}

h1 {
	font-family: Orbit, sans-serif;
}

h2{
	font-family: Oxanium, sans-serif;
  font-weight: 800;
}

h3{
	font-family: Oxanium, sans-serif;
  font-weight: 800;
}

#gameContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

canvas {
  display: block;
  max-width: 90%;
  max-height: 90%;
  background-color: #eee;
  border: 2px solid #333;
}