body {
  margin: 0;
  padding: 0;
  font-family: 'Comfortaa', sans;
    background: rgb(0 0 0 / 21%);
  height: 100vh;
  overflow: hidden;
}

.container {
  position: relative;
  height: 100vh;
  width: 100%;
}

.btn {
  text-align: center;
  align-content: center;
  z-index: 20;
  position: absolute;
  padding: 13px;
  background: #00000045;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.6s ease;
  border-radius: 20px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5em;
  text-shadow: 0 1px 0 #838383, 0 -1px 0 #acacac, 0px 2px 6px #000;
  font-weight: bolder
}

.btn:hover {
  background: #0000006b;
}

.rubriques {
  position: absolute;
  top: 180px;
  left: 20%;
  width: 80%;
  height: calc(100vh - 100px);
  overflow-y: auto;
  transition: all 1.5s ease;
  z-index: 10;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.rubriques::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.rubriques {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.bloc {
z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 3.0s ease;
  background: transparent;
  padding: 0px;
  border-radius: 10px;
}

/* Responsive */
@media screen and (max-width: 500px) {
  .btn {
    width: 90%;
    font-size: 1em;
  }

  .rubriques {
    left: 20%;
    width: 80%;
  }
}
.grid {

  flex-wrap: wrap;
  justify-content: center; /* Centrage horizontal */
  gap: 10px;
  height: auto;
}

.square {
  width: 200px;
  height: 200px;
  border-radius: 4px;
  flex: 0 0 auto;
}




