/* Styles pour l'image */
.banniere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Styles généraux pour le corps et la page HTML */
body, html {
  margin: 50;
  padding: 50;
  height: 100%;
  overflow: hidden; /* Pour éviter la barre de défilement */
}

body {
  background-color: rgba(0, 0, 0, 0.993);
}

/* Styles pour les particules en arrière-plan */
#particles {
  position: fixed;
  width: 50%;
  height: 50%;
  z-index: -1;
}

.particle {
  position: absolute;
  background: linear-gradient(rgb(126, 90, 96), rgba(138, 33, 52, 0.7), rgb(1, 9, 83), rgba(54, 1, 85, 0.7));
  /* Rouge semi-transparent */
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(50, 50);
}

@keyframes move {
  to {
    transform: translate(100vw, 100vh);
  }
}

/* Styles pour le titre principal */
h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  color: whitesmoke;
  font-size: large;
  font-size: 200%;
}

h1:hover {
  display: inline-block;
}

/* Styles pour la navigation */
nav ul li {
  display: inline-block;
}

nav ul li a {
  display: block;
  width: 450%;
  height: 450%;
  padding: 10px;
  text-decoration: none;
  top: 35%;
  left: 25%;
  transform: translate(-45.5%, -45%);
  color: rgb(189, 184, 184);
  font-size: 150%;
}

nav ul li:hover > ul {
  display: block;
}

nav ul ul {
  display: none;
  position: absolute;
  transform: translate(-50%, 50%);
}

nav ul ul li {
  display: block;
}

nav ul ul li a {
  padding: 8px 15px;
}

nav ul ul li a:hover {
  display: block;
  padding: 10px;
  text-decoration: none;
  transition: 0.2s;
  color: rgb(59, 18, 18);
  font-size: 150%;
  font-weight: bolder;
}

/* Styles pour les médias */
@media screen and (max-width: 1200px) {
  /* A venir*/
}

@media all and (orientation: portrait) {
  /* Vertical */ 
}
