/*
  Le projet All in One est un produit Xelyos mis à disposition gratuitement
  pour tous les serveurs de jeux Role Play. En échange nous vous demandons de
  ne pas supprimer le ou les auteurs du projet.
  Created by : Xelyos - Aros
  Edited by :
*/

/* PC */
::placeholder {
  color: var(--placeholder);
  opacity: 0.5;
}

.hidden {
  display: none;
}

a {
  text-decoration: none;
}

h6 {
  visibility: hidden;
  margin-bottom: -5%;
}

body {
  background-image: url(/assets/img/background.png);
  background-attachment: fixed;
}

header {
  text-align: center;
}

header img {
  margin-top: 3%;
  width: 12.5%;
  height: auto;
}

.croix, .barre {
  display: none;
}

.nav_bar {
  display: grid;
  max-width: 90%;
  grid-template-columns: repeat(8,1fr);
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 10px;
  background-color: var(--navBarBack);
}

.nav_bar a {
  color: var(--navBarText);
  text-transform: capitalize;
  font-size: 1.3em;
}

.nav_bar a:hover {
  color: var(--navBarHover);
}

footer {
  margin-top: 2%;
  margin-bottom: 0;
  width: 100%;
  background-color: var(--footerBack);
  text-align: center;
  padding-top: 0.25%;
  padding-bottom: 0.25%;
}

footer p {
  color: var(--footerText);
  font-weight: bold;
  font-size: 1.1em;
  font: Arial;
}


/* Menu Déroulant */
.menu_deroulant, .menu_deroulant ul {
  padding :0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.menu_deroulant .top {
  margin-top: 5%;
}

.menu_deroulant li {
  display: inline-block;
  position: relative;
  border-radius: 8px 8px 0 0;
}

.menu_deroulant ul li {
  display: inherit;
  border-radius: 0;
}

.menu_deroulant ul li:hover {
  border-radius: 0;
}

.menu_deroulant ul li:last-child {
  border-radius: 0 0 8px 8px;
}

.menu_deroulant ul {
  position:absolute;
  z-index: 5;
  max-height: 0;
  left: 0;
  right: 0;
  overflow:hidden;
  -moz-transition: .8s all .3s;
  -webkit-transition: .8s all .3s;
  transition: .8s all .3s;
}

.menu_deroulant li:hover ul {
  max-height: 20em;
}

/* background des liens menus */
.menu_deroulant li:first-child {
  background-color: var(--navBarBack);
}

.menu_deroulant li:nth-child(2) {
  background-color: var(--navBarBack);
}

.menu_deroulant li:nth-child(3) {
  background-color: var(--navBarBack);
}

.menu_deroulant li:last-child {
  background-color: var(--navBarBack);
}

/* background des liens sous menus */
.menu_deroulant li:first-child li {
  background: var(--navBarBack);
}

.menu_deroulant li:nth-child(2) li {
  background: var(--navBarBack);
}

.menu_deroulant li:nth-child(3) li {
  background: var(--navBarBack);
}

.menu_deroulant li:last-child li {
  background: var(--navBarBack);
}

/* background des liens menus et sous menus au survol */
.menu_deroulant li:first-child:hover, .menu_deroulant li:first-child li:hover {
  background: var(--navBarBack);
}

.menu_deroulant li:nth-child(2):hover, .menu_deroulant li:nth-child(2) li:hover {
  background: var(--navBarBack);
}

.menu_deroulant li:nth-child(3):hover, .menu_deroulant li:nth-child(3) li:hover {
  background: var(--navBarBack);
}

.menu_deroulant li:last-child:hover, .menu_deroulant li:last-child li:hover {
  background: var(--navBarBack);
}

/* les a href */
.menu_deroulant a {
  text-decoration: none;
  display: block;
  padding: 8px 32px;
  color: var(--navBarText);
}

.menu_deroulant ul a {
  padding: 8px 0;
}

.menu_deroulant li:hover li a {
  color: var(--navBarText);
  text-transform: inherit;
}

.menu_deroulant li:hover a, .menu_deroulant li li:hover a {
  color: var(--navBarHover);
}

/* Ajout pour amélioration */
.round_profil {
  border-radius: 50%;
}

textarea {
  resize:vertical;
}