html {
	width: 100vw;
	height: 100vh;
}

body {
	background-color: #0b1321;
	color: #ffffff;
	font-family: 'Minecraft';
	font-weight: lighter;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin-left: 5vw;
	margin-right: 5vw;
	margin-top: 0;
}

.body {
	width: 100vw;
	height: 100vh;
}


/* If the screen size is 600px or less, set the font-size of <div> to 30px */
@media only screen and (max-width: 1000px) {
  body {
    font-size: 3em;
  }
}

li {
	font-family: 'Minecraft';
}

/* Rétablir les polices Font Awesome avant d'appliquer Minecraft */
.fas, .far, .fab, .fa, 
[class*="fa-"], 
i.fas, i.far, i.fab, i.fa,
i[class*="fa-"],
*[class*="fa"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome' !important;
}

/* Assurer que les pseudo-éléments de Font Awesome fonctionnent correctement */
.fas::before, .far::before, .fab::before, .fa::before,
[class*="fa-"]::before,
i.fas::before, i.far::before, i.fab::before, i.fa::before,
i[class*="fa-"]::before,
*[class*="fa"]::before {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome' !important;
}

/* Appliquer la police Minecraft à tout sauf Font Awesome */
html body *:not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]):not(i[class*="fa"]) {
    font-family: 'Minecraft', 'MinecraftRegular', Arial, sans-serif !important;
}

/* Ciblage spécifique des éléments qui pourraient résister */
input:not([class*="fa"]), 
button:not([class*="fa"]), 
a:not([class*="fa"]), 
h1:not([class*="fa"]), 
h2:not([class*="fa"]), 
h3:not([class*="fa"]), 
h4:not([class*="fa"]), 
h5:not([class*="fa"]), 
h6:not([class*="fa"]), 
p:not([class*="fa"]), 
span:not([class*="fa"]), 
div:not([class*="fa"]), 
li:not([class*="fa"]), 
label:not([class*="fa"]) {
    font-family: 'Minecraft', 'MinecraftRegular', Arial, sans-serif !important;
}

/* Ciblage des classes spécifiques mentionnées */
.guest-link, .option-link, .login-header, .login-form, .separator span {
	font-family: 'Minecraft', 'MinecraftRegular', Arial, sans-serif !important;
}

/* Ciblage des éléments par ID */
#id_username, #id_password, #id_email, #id_new_password1, #id_new_password2 {
	font-family: 'Minecraft', 'MinecraftRegular', Arial, sans-serif !important;
}