/* Couleur de fond pour le corps de la page */
body {
  background-color: #ccc;
}

/* Image de fond pour la page */
#imgChamp {
  position: fixed;
  object-fit: cover;
  height: 100vh;
  width: 100vw;
  object-position: center;
}

/* Conteneur principal qui limite la largeur de la page */
.container {
  max-width: 1800px;
  width: 85%;
  margin: 0 auto;
}

/* Barre de navigation */
nav {
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo pour la barre de navigation */
nav img {
  text-align: center;
  width: 50px;
  height: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
  z-index: 10;
}

/* Formulaire de recherche pour la barre de navigation */
.form-search {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* En-tête contenant le titre de la page */
header {
  padding-top: 6%;
}

/* Conteneur pour le nom et le titre du champion */
.championone {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* Titre du champion */
.championone h1 {
  font-family: "Marcellus SC", serif;
  font-weight: bold;
  font-size: 46px;
  text-align: center;
  color: #cdbe91;
  text-shadow: 0px 1px 1px #000000;
  z-index: 10;
  letter-spacing: 1px;
  padding-bottom: 30px;
}

/* Nom du champion */
.championone h3 {
  padding-bottom: 10px;
  font-family: "Marcellus SC", serif;
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  color: #cdbe91;
  text-shadow: 0px 1px 1px #000000;
  z-index: 10;
  letter-spacing: 1px;
}

/* Paragraphe contenant l'histoire du champion */
.lore {
  font-family: "Marcellus SC", serif;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 10px;
  color: #cdbe91;
  background-color: #1e2328;
  border: 2px solid #cdbe91;
  z-index: 10;
  min-height: 200px;
  width: 90%;
  opacity: 0.98;
}

/* Texte de l'histoire du champion */
.lore p {
  font-family: "Marcellus SC", serif;
}

/* Image de fond pour la page */
#bgFond {
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

/* Styles pour les boutons*/
button,
#nomUserConnected,
#btnCreerCompte,
#btnLogin,
#btnDeconnexion,
#btnChampionsList,
#inputChampion,
#username,
#password,
#usernameLogin,
#passwordLogin,
#confirm-password,
#noteCommentaire,
#texteCommentaire,
#btnChampionRecherche,
#btnGoCombinaisons,
#btnRetourAccueil,
#btnRetourLogin {
  box-sizing: border-box;
  font-family: "Marcellus SC", serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 5px 15px;
  background: #1e2328;
  color: #cdbe91;
  box-shadow: inset 0 0 2px #000000;
  border-image: linear-gradient(to bottom, #c8aa6d, #7a5c29);
  border-image-slice: 1;
  border: 2px solid;
  max-width: 200px;
}

/* Styles pour les boutons lorsque passés dessus*/
button:hover,
#nomUserConnected:hover,
#btnCreerCompte:hover,
#btnLogin:hover,
#btnDeconnexion:hover,
#btnChampionsList:hover,
#inputChampion:hover,
#username:hover,
#password:hover,
#usernameLogin:hover,
#passwordLogin:hover,
#confirm-password:hover,
#noteCommentaire:hover,
#texteCommentaire:hover,
#btnChampionRecherche:hover,
#btnGoCombinaisons:hover,
#btnRetourAccueil:hover,
#btnRetourLogin:hover {
  text-shadow: 0 0 5px #ffffff80;
  box-shadow: 0 0 8px 0 #ffffff50;
  background: linear-gradient(to bottom, #1e2328, #433d2b);
  cursor: pointer;
  transition: 0.1s;
}

/* Styles pour les boutons lorsque cliqués*/
button:active,
#btnCreerCompte:active,
#btnLogin:active,
#btnDeconnexion:active,
#btnChampionsList:active,
#btnChampionRecherche:active,
#btnGoCombinaisons:active,
#btnRetourAccueil:active,
#btnRetourLogin:active {
  text-shadow: none;
  box-shadow: none;
  color: #cdbe9130;
}
