@charset "UTF-8";
body {
  font-family: "Montserrat", sans-serif;
  background-color: #070707;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-align: center;
  user-select: none;
}

header {
  background: #0f0f0f;
  padding: 20px 0;
  margin-bottom: 15px;
  font-family: "Montserrat";
  font-size: 1.2em;
}

header .name {
  font-size: 2em;
  font-weight: bold;
  color: #e2e2e2;
}

span {
  color: #ffffff;
  font-size: 1.2em;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px;
  max-width: 1200px; /* ou la largeur maximale que vous souhaitez */
  margin: 0 auto; /* pour centrer le contenu */
  margin-bottom: 80px;
}

.main-content h2 {
  align-self: flex-start;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 0px;
  text-align: left;
  margin-left: 0; /* Supprimez la marge à gauche */
  color: #e2e2e2; /* Pour assurer la visibilité sur fond sombre */
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 20px;
  max-height: 5000px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

hr {
  width: 100%;
  border: 0;
  height: 1px;
  background-color: #757575; /* ou une couleur plus claire pour le contraste */
  margin: 20px 0;
}

.audioFigure {
  flex: 0 1 calc(100% - 20px);
  min-width: 300px;
  max-width: 300px;
  margin: 0;
  background-color: #000000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.audioFigure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Assure que l'image couvre entièrement le conteneur sans distorsion */
  object-position: center; /* Centre l'image à l'intérieur du conteneur */
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.audioFigure.audioPaused {
  opacity: 1;
}

.audioFigure.audioPlaying figcaption {
  color: #000000; /* Texte noir quand en lecture */
  background-color: rgba(255, 255, 255, 0.8); /* Fond blanc semi-transparent quand en lecture */
}

.audioFigure.audioPlaying {
  opacity: 1; /* Gardez l'opacité complète */
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.719);
  z-index: 1;
}

.audioFigure.audioPaused {
  opacity: 1;
  background-color: #000000;
}

.audioFigure.audioPaused figcaption {
  /* Retour au texte blanc sur fond noir semi-transparent quand en pause */
  color: #e0e0e0;
  background-color: rgba(0, 0, 0, 0.5);
}

.audioFigure.loading {
  cursor: progress;
  opacity: 0.5;
}

.audioFigure.loaded {
  opacity: 1;
  background-color: white;
}

.audioFigure.loaded figcaption {
  color: #e0e0e0; /* Texte blanc quand chargé mais pas en lecture */
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1200px) {
  .audioFigure {
    flex: 0 1 calc(33.33% - 20px);
  }
}
@media (max-width: 800px) {
  .audioFigure {
    flex: 0 1 calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .audioFigure {
    flex: 0 1 calc(100% - 20px);
  }
}
.audioFigure figcaption {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 10px 0;
  font-size: 1.2em;
  font-weight: bolder;
  color: #e0e0e0;
  transition: color 0.3s ease; /* Add smooth transition for color change */
}

.audioFigure .audio {
  display: none;
}

/* New style for playing state */
.audioFigure .volumeSlider {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
}

.audioFigure .volumeSlider {
  -webkit-appearance: none;
  width: 80%;
  height: 2px;
  background: white;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.audioFigure .volumeSlider:hover {
  opacity: 1;
}

.audioFigure .volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
}

.audioFigure .volumeSlider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
}

#globalAudioSlider {
  width: 80%;
  margin: 20px 10%;
}

#category-buttons button {
  background: #ddd;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

#category-buttons button:hover {
  background: #ccc;
}

footer {
  background: #e3e3e3;
  padding: 1px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

details {
  margin: 20px;
}

details summary {
  font-weight: bold;
  font-size: 1.2em;
  cursor: pointer;
}

.muteALL {
  background: #ddd;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.muteALL:hover {
  background: #ccc;
}

@media (max-width: 768px) {
  .audioFigure {
    width: 90%;
    margin: 20px 5%;
  }
}
#startOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.overlay-content p {
  font-size: 1.2em;
}

#shareUrl {
  margin-top: 10px;
}

.popshare h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

#shareUrlInput, #configNameInput {
  width: 90%; /* S'assurer que le champ de saisie prend la majorité de l'espace */
  margin: 20px auto;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 5px;
  max-width: 300px;
}

#shareDialog {
  width: 100%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
  overflow-y: auto;
}

#closeDialog {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  padding: 10px 20px;
}

.popshare {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(42, 42, 42, 0.9); /* Augmentez l'opacité si nécessaire */
  backdrop-filter: blur(10px) saturate(100%);
  z-index: 1000;
}

h3 {
  color: #fff;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.527);
  backdrop-filter: blur(5px) saturate(100%);
  z-index: 1000;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  background-color: rgba(42, 42, 42, 0.432) !important;
  backdrop-filter: blur(100px) saturate(100%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#openMenuBtn {
  font-family: "Montserrat", sans-serif;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    height: 95%;
    max-width: none;
    max-height: none;
  }
}
/* Ajustements pour les très petits écrans */
@media (max-width: 320px) {
  .popup-content {
    padding: 10px;
  }
}
.btn-menu {
  background-color: rgba(221, 221, 221, 0);
  border: 1px solid rgba(221, 221, 221, 0.231372549);
  border-color: 1px solid #6b3ef9;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 1.2rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-menu:hover {
  background-color: #6b3ef9;
  border: 1px solid #6b3ef9;
  border-color: 1px solid #6b3ef9;
  color: #ffffff;
}

.btn-menu2 {
  background-color: #6b3ef9;
  border: 1px solid #6b3ef9;
  border-color: 1px solid #6b3ef9;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 1.2rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-menu2:hover {
  background-color: rgba(221, 221, 221, 0.1529411765);
  border: 1px solid #6b3ef9;
  border-color: 1px solid #6b3ef9;
  color: #ffffff;
}

hr {
  width: 100%;
  border: 0;
  height: 1px;
  background-color: #757575; /* ou une couleur plus claire pour le contraste */
  margin: 20px 0;
}

p {
  color: #e9e9e9;
}

.menumenu {
  position: fixed;
  font-weight: bolder;
  width: 150px;
  top: 10px;
  right: 0px;
  color: #e9e9e9;
  padding: 10px 20px;
  border: none;
  border-start-start-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  background: linear-gradient(rgba(255, 255, 255, 0.123), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.full-page-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  overflow-y: auto;
}

.full-page-popup-content {
  color: #ffffff;
  padding: 40px;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.full-page-popup-content h2 {
  font-size: 2.5em;
  color: #ae99f2;
  text-align: left;
  padding-bottom: 15px;
}

.full-page-popup-content h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #ae99f2;
}

.full-page-popup-content h4 {
  font-size: 1.4em;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #ae99f2;
}

.full-page-popup-content p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.full-page-popup-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style-type: none;
}

.full-page-popup-content li {
  font-size: 1.1em;
  margin-bottom: 12px;
  padding-left: 15px;
  color: #e0e0e0;
  text-align: left;
  position: relative;
}

.full-page-popup-content li:before {
  content: "•";
  color: #ae99f2;
  position: absolute;
  left: 0;
  top: 0;
}

#closeAboutBtn {
  position: fixed;
  background-color: rgba(112, 112, 112, 0.3764705882);
  border-radius: 5px;
  padding: 15px;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
  border: none;
}

#closeAboutBtn:hover,
#closeAboutBtn:focus {
  color: #ffffff;
  background-color: #6b3ef9;
  transition: ease 0.3s;
}

.use-case-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.use-case-card {
  background-color: rgba(155, 125, 253, 0.1);
  border-radius: 10px;
  padding: 20px;
  width: calc(33.33% - 20px);
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
}

.use-case-card i {
  font-size: 2em;
  color: #ae99f2;
  margin-bottom: 15px;
}

.use-case-card h4 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .full-page-popup-content {
    padding: 20px;
  }
  .use-case-card {
    width: 100%;
  }
  .full-page-popup-content h2 {
    font-size: 2em;
  }
  .full-page-popup-content h3 {
    font-size: 1.6em;
  }
  .full-page-popup-content h4 {
    font-size: 1.3em;
  }
  .full-page-popup-content p {
    font-size: 1em;
  }
  #closeAboutBtn {
    font-size: 30px;
    top: 10px;
    right: 20px;
  }
}
.category-title {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.chevron-icon {
  margin-left: 10px;
  transition: transform 0.3s;
}

.collapsed .chevron-icon {
  transform: rotate(-90deg);
}

/* Lorsque la catégorie est pliée, on limite le max-height à 0 */
.collapsed + hr + .grid-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.712) 35%, rgb(0, 0, 0) 100%);
  padding: 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 25;
  justify-content: space-between;
  align-items: center;
}

/* Style personnalisé pour le menu déroulant */
.styled-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #2b2b2b;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  width: 200px;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23fff" d="M2 0L0 2h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  margin: 0 auto; /* Center the select element */
}

/* Style pour les options du menu déroulant */
.styled-select option {
  background-color: #2b2b2b;
  color: #ffffff;
}

/* Supprimer la flèche par défaut sur Internet Explorer */
select::-ms-expand {
  display: none;
}

/* Pour les navigateurs qui ne supportent pas 'appearance: none' */
@supports (-ms-ime-align: auto) {
  .styled-select {
    width: 200px;
  }
}
.icon-button {
  margin: 0 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #f5f5f5;
  flex-shrink: 0; /* Empêche le bouton de rétrécir */
}

.icon-button i {
  pointer-events: none; /* Pour que les clics sur l'icône soient enregistrés sur le bouton */
}

.icon-button.active i {
  color: red; /* Couleur rouge pour l'icône active */
}

.icon-button:focus {
  outline: none;
}

@media (max-width: 444px) {
  .bottom-bar {
    padding: 5px;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }
  .styled-select {
    font-size: 0.9em;
    padding: 8px 10px;
    min-width: 0; /* Permet au select de rétrécir si nécessaire */
    margin: 0 10px; /* Ajoute un peu d'espace de chaque côté */
    flex-grow: 1;
  }
  .icon-button {
    font-size: 20px;
    padding: 0 5px;
    padding: 0 10px; /* Ajoute un peu d'espace de chaque côté */
    flex-shrink: 0; /* Empêche le bouton de rétrécir */
  }
}
#timerPopup {
  max-width: 300px;
  background-color: rgba(42, 42, 42, 0.95);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box; /* Ajout important */
  z-index: 9999;
}

/* Style du conteneur des entrées */
.timer-inputs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#startTimer, #stopTimer, #closeTimer {
  width: 100%; /* S'assurer que chaque bouton prend toute la largeur */
  margin: 8px 0; /* Espacement uniforme entre les boutons */
}

.time-slider {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  box-sizing: border-box;
}

.slider {
  width: 100%;
  height: 6px;
  background: #2d2d2d;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #6b3ef9;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}

.slider::-webkit-slider-thumb:hover {
  background: #8b66ff;
}

.time-display {
  margin: 20px 0;
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
}

.unit {
  font-size: 0.5em;
  color: #888;
  margin-left: 5px;
}

.time-presets {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
  width: 100%;
  flex-wrap: wrap;
}

.preset-btn {
  background: rgba(107, 62, 249, 0.1);
  border: 1px solid rgba(107, 62, 249, 0.3);
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: rgba(107, 62, 249, 0.3);
}

.preset-btn.active {
  background: #6b3ef9;
}

.countdown-circle {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.countdown-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.countdown-background {
  fill: none;
  stroke: #2d2d2d;
  stroke-width: 8;
}

.countdown-progress {
  fill: none;
  stroke: #6b3ef9;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1s linear;
}

.countdown-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
}

#timerPopup .btn-menu {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#startTimer {
  background: #6b3ef9;
  color: white;
  width: 100%;
}

#stopTimer {
  background: #dc3545;
  color: white;
  width: 100%;
}

#closeTimer {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 100%;
}/*# sourceMappingURL=style.css.map */