/* =====================================================
  RESET + FOND DE PAGE
====================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  /* background-color: black; */
  background-image: url(../img/orage.png);
}

/* =====================================================
  POLICE
====================================================== */
@font-face {
  font-family: "eva";
  src: url("../font/hakai/Mandatory Plaything.otf") format("opentype");
  font-display: swap;
}

/* =====================================================
  ANIMATIONS GLOBALES
====================================================== */
@keyframes traverse {
  from { transform: translateX(-100%); }
  to { transform: translateX(100vw); }
}

@keyframes flash {
  0%, 100% { color: black; text-shadow: none; }
  50% { color: #ff004c; text-shadow: 0 0 10px #ff004c; }
}

@keyframes shadowColor {
  0% { box-shadow: 3px 3px 30px rgb(47, 255, 0); }
  25% { box-shadow: 3px 3px 60px rgb(0, 255, 255); }
  50% { box-shadow: 3px 3px 30px rgb(255, 0, 255); }
  75% { box-shadow: 3px 3px 60px rgb(255, 255, 0); }
  100% { box-shadow: 3px 3px 10px rgb(47, 255, 0); }
}

/* =====================================================
  ZONE PRINCIPALE : <main>
====================================================== */
main {
  width: 100%;
  height: 100vh;
  background-image: url(../img/orage.png);
  overflow-x: hidden;
  padding-top: 10%;
  position: relative;
  z-index: 1;
}

/* =====================================================
  ANIMATION BALLE
====================================================== */
.animation-balle {
  width: 10%;
  position: fixed;
  top: 5.5%;
  left: 0;
  transform: translateY(0);
  animation: traverse 2.5s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.flash {
  animation: flash 0.5s ease;
}

/* =====================================================
  EN-TÊTE & NAVIGATION PRINCIPALE
====================================================== */
.entête {
  width: 100%;
  height: 18%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: eva;
  animation: shadowColor 3.5s infinite alternate;
  z-index: 100;
  overflow: hidden;
}

.entête h1 {
  font-size: 35px;
  font-weight: 900;
  color: black;
  text-align: center;
  filter: drop-shadow(0 0 15px #ff004c);
  -webkit-text-stroke: 0.05px #ff004c;
  margin: 0;
  z-index: 1;
}

.entête::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url(../img/brume.png); */
  /* background-size: cover;
  background-repeat: no-repeat;
  background-position: center top; */
  z-index: -1;
}
.brume {
  position: absolute;
  object-fit: fill;
}

/* =====================================================
  MENU BURGER + NAVIGATION RESPONSIVE
====================================================== */
#menu1 {
  width: 100%;
  height: 6vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: transparent;
  z-index: 100;
  transition: 0.5s ease-in-out;
}

#menu1.show {
  left: 0%;
  opacity: 1;
}

.menuburger {
  width: 40px;
  height: 40px;
  display: none;
  position: fixed;
  top: 12%;
  right: 2%;
  z-index: 10;
  cursor: pointer;
}

/* =====================================================
  LIENS DU MENU
====================================================== */
.accueil,
.bibliotheque,
.membres,
.boutique,
.seconnecter {
  width: 15%;
  height: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  color: black;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.accueil:hover,
.bibliotheque:hover,
.membres:hover,
.boutique:hover,
.seconnecter:hover {
  color: #ff004c;
  text-shadow: 0 0 10px #ff004c;
  text-decoration: underline;
}

/* =====================================================
  BOUTON FERMER
====================================================== */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: white;
  background: red;
  border-radius: 50%;
  cursor: pointer;
}

/* =====================================================
  PIED DE PAGE
====================================================== */
footer {
  width: 100%;
  text-align: center;
}

footer p {
  margin-top: 0;
}

/* =====================================================
  CONTENU ADMINISTRATEUR (section admin)
====================================================== */
.admin-content {
  padding: 40px;
  margin-top: 120px;
  background-color: #fdf4e8;
  min-height: 80vh;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(255, 0, 76, 0.2);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
  MENTION LEGALES
====================================================== */

.mentions-legales,
.confidentialite {
  padding: 20px;
  background-color: #fdf4e8;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(255, 0, 76, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.mentions-legales h1,
.confidentialite h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.mentions-legales h2,
.confidentialite h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.mentions-legales p,
.confidentialite p {
  font-size: 16px;
  line-height: 1.5;
}

/* =====================================================
  BOUTON DE RETOUR
====================================================== */ 

.retour-accueil {
  text-align: center;
  margin-top: 40px;
}

.btn-retour {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff004c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-retour:hover {
  background-color: #e6003f;
}