body {
  background-color: rgb(7, 8, 52);
}

* {
  font-family: "Open Sans", sans-serif;
  max-width: 100%;
  max-height: 100%;
}

#bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at var(--x) var(--y),
    rgba(16, 0, 158, 0.25),
    #090820 70%
  );
  transition: background 0.05s;
  z-index: -1;
}

nav {
  background-color: rgb(1, 2, 23);
  padding: 0.5rem;
  border-radius: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 720;
}

.maison_logo {
  width: 3.4rem;
  height: 3.4rem;
  background: none;
  padding: 0rem;
}

.logo {
  display: flex;
  align-items: center;
}

.input_nav {
  text-decoration: none;
  color: rgb(205, 209, 255);
  font-size: 1.5rem;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  padding: 0.4rem;
  transition: all 0.3s;
}

.input_nav:hover {
  background-color: rgba(12, 14, 81, 0.516);
  border-color: #3c00ff;
  box-shadow: 0 0 20px #3c00ffbb;
  border-radius: 0.5rem;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25vh;
  flex-direction: column;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  color: rgb(205, 209, 255);
}

h1:hover {
  cursor: default;
}

.filter_search {
  display: flex;
}

.select1, .select2, .select3 {
  cursor: pointer;
  width: 15rem;
  height: 1.5rem;
  padding: 0.6rem 0.8rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-size: 1.3rem;
  background-color: #7a99ff69;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 0.125rem solid #3c00ffde;
  border-radius: 8px;

  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  transition: border-color 0.2s, box-shadow 0.2s;
}

.select1:hover, .select2:hover, .select3:hover {
  border-color: #3c00ff;
  box-shadow: 0 0 20px #3c00ffbb;
}

.p {
  color: rgb(241, 241, 255);
  font-size: 1.5rem;
}

aside {
  display: flex;
  justify-content: space-evenly;
  margin-top: 3rem;
}

.aside1, .aside2, .aside3 {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  display: flex;

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.aside-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.container_salle_1, .container_salle_2, .container_salle_3, .container_other_1, .container_other_2, .container_other_3, .container_ateliers_1, .container_ateliers_2, .container_ateliers_3{
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

p {
  font-size: 1.6rem;
  color: rgb(205, 209, 255);
  font-weight: 600;
  font-style: italic;
  margin: 0.5rem;
  transition: 0.2s;
  list-style: none;
}

p:hover {
  cursor: pointer;
  transform: scale(1.05);
  color: rgb(150, 150, 255);
}

.salles_de_classes {
  display: flex;
  gap: 5rem;
}

.all_aside {
  position: relative;
  width: 100%;
  min-height: 300px; /* ajuste selon ton contenu */
}

#box {
  width: 2rem;
  height: 2rem;
  background-color: red;
  display: none;
}