@charset "UTF-8";
html {
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  font-weight: bold;
  background-image: url("/img/fond.jpg");
}

#root {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
}

.hidden {
  display: none;
}

header, footer {
  background-color: black;
  color: purple;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 2rem;
}
header h1 {
  font-size: 3rem;
}
header #menuPopUp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.5rem;
  position: absolute;
  top: 0;
  right: 15vw;
  background-color: black;
}
header #menuPopUp a, header #menuPopUp .btn-burger-deco {
  text-decoration: none;
  color: purple;
  padding: 1rem;
  width: 100%;
}
header #menuPopUp a:hover, header #menuPopUp .btn-burger-deco:hover {
  background-color: white;
  color: black;
}
header #menuPopUp a.active, header #menuPopUp .btn-burger-deco.active {
  background-color: white;
  color: black;
}
header #menuPopUp .btn-burger-deco {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  font-weight: bold;
}
header .btnBurger {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
}
header .btnBurger .fa-bars {
  font-size: 4rem;
  color: purple;
}

#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#home h2 {
  text-align: center;
}
#home section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 90%;
  margin: auto;
}
#home section img {
  max-width: 100%;
}

#listePerso {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
}
#listePerso input {
  border: 1px solid purple;
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
}
#listePerso section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-around;
  padding: 2rem;
}
#listePerso section h2 {
  width: 100%;
  font-size: 3.5rem;
}
#listePerso section .modalFond {
  background-color: rgba(0, 0, 0, 0.671);
  position: absolute;
  inset: 0;
}
#listePerso section article {
  width: 35%;
}
#listePerso section article h3 {
  font-size: 2.5rem;
}
#listePerso section article figure {
  position: relative;
  margin: 0;
}
#listePerso section article figure img {
  max-width: 100%;
}
#listePerso section article figure .btnLien {
  position: absolute;
  right: 0;
  top: 3px;
  height: 2rem;
  border: none;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
}
#listePerso section article figure .btnLien .icone {
  color: purple;
  font-size: 3rem;
}
#listePerso section article figure .btnLien .icone:hover {
  color: white;
}
#listePerso section article aside {
  border: 1px solid purple;
  border-radius: 0.5rem;
  background-color: white;
  position: absolute;
  inset: 10%;
  font-size: 2rem;
  overflow-y: auto;
  padding: 1rem 2rem;
  z-index: 99;
}
#listePerso section article aside:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.671);
  position: static;
  inset: 0;
}

.mainFiche {
  text-align: center;
}
.mainFiche .fichePerso {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.mainFiche h2, .mainFiche h3 {
  width: 100%;
  margin-top: 0;
}
.mainFiche img {
  max-width: 100%;
  margin: auto;
}
.mainFiche p {
  width: 80%;
  margin: auto;
  text-align: left;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  margin: auto;
}
form input {
  width: 80%;
  margin: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid black;
}
form [type=submit] {
  border: 1px solid black;
  cursor: pointer;
}
form .valideInscription {
  color: purple;
}
form .lienConnection, form .lienInscription {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: black;
  cursor: pointer;
}
form .lienConnection:hover, form .lienInscription:hover {
  color: purple;
}

#notFound {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("/img/fondlivrpapier72dpi-opacité20-moyen.png");
  background-repeat: repeat;
  background-size: cover;
}
#notFound section {
  width: 80%;
  margin: auto;
  padding: 2.5rem;
  background-color: white;
  color: purple;
  border: 2px solid purple;
  border-radius: 1rem;
  text-align: center;
}
#notFound section p strong {
  font-size: 5rem;
}
#notFound section a {
  color: purple;
  font-size: 2rem;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 3rem;
}

/*# sourceMappingURL=index.css.map */
