/* Style général */
body {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-color: black;
	font-family: 'Courier New', Courier, monospace;
	color: #00ff00;
}

/* Terminal principal */
.terminal {
	width: 80%;
	max-width: 800px;
	height: 80vh;
	border: 2px solid #00ff00;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

/* Bannière ASCII */
#ascii-banner {
	text-align: center; /* Centrer la bannière ASCII */
	margin-bottom: 10px;
}

/* Zone de sortie (messages) */
#output {
	flex-grow: 1;
	overflow-y: auto;
	white-space: pre-wrap;
	margin-bottom: 10px;
}

/* Conteneur d'entrée utilisateur */
#input-container {
	display: flex;
	align-items: center;
}

#user-input {
	flex-grow: 1;
	padding: 5px;
	background: black;
	color: #00ff00;
	border: none;
	outline: none;
	font-size: 16px;
}

#user-input::placeholder {
	color: #008000;
}

label {
	margin-right: 10px;
	font-weight: bold;
	color: #00ff00;
}

/* Animation pour un effet "terminal" */
@keyframes flicker {
	0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
		opacity: 1;
	}
	20%, 24%, 55% {
		opacity: 0.1;
	}
}

#output {
	animation: flicker 1.5s infinite;
}

/* Surlignage des questions et lettres des réponses */
.highlight {
	background-color: #003300; /* Fond vert foncé */
	color: #00ff00; /* Texte vert clair */
	padding: 2px 4px;
	border-radius: 3px;
	display: inline-block;
	font-weight: bold;
}


/* Espacement entre les questions */
#output {
	line-height: 1.8; /* Espacement entre les lignes */
}

#user-input {
	flex-grow: 1;
	padding: 5px;
	background: black;
	color: #00ff00;
	border: none;
	outline: none;
	font-size: 16px;
	font-family: 'Courier New', Courier, monospace; /* Applique la police Courier New */
}

#user-input::placeholder {
	color: #008000;
	font-family: 'Courier New', Courier, monospace; /* Applique la police Courier New au placeholder également */
}
