html {
  background-color: #9381FF;
  /* default sword cursor */
  cursor: url('media/sword.cur'), default;
  /*	overflow: hidden;*/
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
  font-family: 'basteleur-moonlight';
}

body {
  margin: 0;
  line-height: 1.8;
}

h1,h2,h3,h4 {
  margin-bottom: 3vh;
  text-align: left;
}

p {
    -o-user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    user-select: text;
    /* line-height: 1.8; */
}

div>ul>li {
  list-style: circle;
  text-align: left;
}

br {
  line-height: 1.2;
}

/* bold in chrome */
* {-webkit-font-smoothing: antialiased;}
strong, b {
    font-weight: bold;
    color: #DB5A42;
}

p::selection {
  background: #9381FF;
  color: antiquewhite;
}

a {
  cursor: url('media/hand.cur'), pointer;
  color: #9381FF;
}

/*
 * FRAAAMES
 * ========
 */
.frame {
  padding: 1.4vh;
  border: 0 solid;
}

.content-wrapper {
  overflow: auto;
}

.content-frame {
  background-color: antiquewhite;
	color: #383D3B;
  border-radius: 2.8vh;
  flex: 1;
  /* Chaque div partage l'espace également */
  box-sizing: border-box;
  /* Inclut le padding dans la largeur totale */
  text-align: justify;
  /* Centrer le texte à l'intérieur des divs */
}

/* Style pour la div contenant le texte défilant */
.scrollable-content {
  /* overflow-y: auto; */
  /* scrollbar-width: thin; /* Pour Firefox */ */
  /* scrollbar-color: grey transparent; /* Couleur de la scrollbar et du fond de la scrollbar */ */
  /* Permet le défilement si le contenu dépasse */
}

/* @supports (-moz-appearance:none) {
    .scrollable-content {
        overflow-y: scroll;
    }
} */

/* Style pour le conteneur interne du texte défilant */
.scrollable-wrapper {
  padding: 2.2vw 4.4vw;
  overflow-y: auto;
  /* scrollbar-width: none; /* Masquer la scrollbar par défaut sur Firefox */ */
  /* Pour compenser la largeur de la barre de défilement */
}

#frame-ext {
  background-color: #03CEA4;
  margin: 1.4vh;
  border-radius: 7vh;
  /* height: 94.4vh; */
}

#frame-mid {
  background-color: #FED766;
  border-radius: 5.6vh;
  /* height: 91.6vh; */
}

/* wrapper */
#frame-int {
  background-color: #DB5A42;
  border-radius: 4.2vh;
  height: 88.8vh;
  display: flex;
  flex-direction: column;
  gap: 1.4vh;
}

#frame-top {
  background-color: antiquewhite;
  border-radius: 2.8vh;
  width: calc(100vw-5*1.4vh);
  padding: 1vw 3.4vw;
}

.content-row {
  /* margin-top: 1.4vh; */
  display: flex;
  /* Utilisation de flex pour aligner les enfants horizontalement */
  /* flex: 1; */
  /* Prend l'espace restant dans le conteneur */
  width: 100%;
  /* Assure que la rangée prend toute la largeur */
  gap: 1.4vh;
}

.content-column {
  /* margin-top: 1.4vh; */
  display: flex;
  flex-direction: column;
  flex: 1;
  /* box-sizing: border-box; */
  /* Utilisation de flex pour aligner les enfants horizontalement */
  /* flex: 1; */
  /* Prend l'espace restant dans le conteneur */
  /* width: 100%; */
  /* Assure que la rangée prend toute la largeur */
  gap: 1.4vh;
}

.content-row, .content-column {
  /* display: flex; */
  /* flex: 1; */
  /* overflow: hidden; /* Empêche le débordement des enfants */ */
}

.other-content {}

#presentation {
  flex: 28%;
}

/*
 * NAVIGATION BAAAR
 * ================
 */
/* Style de base pour la barre de navigation */
#navbar {
  /*	display: none;*/
  /* margin: 1.4vh 0vw 1.4vh 0vw; */
  width: 100%;
  /*border: 0 solid;
	border-radius: 2vh;*/
}

/* Style pour la liste principale */
#navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  /* Utiliser flexbox pour aligner les éléments */
  justify-content: center;
  /* Centrer les éléments horizontalement */
  justify-content: space-between;
}

/* Style pour les éléments de la liste principale */
#navbar>ul>li {
  position: relative;
}

/* Style pour les liens de la liste principale */
#navbar>ul>li>a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  color: #383D3B;
  border: 2vh;
  border-radius: 2vh;
  text-decoration: none;
}

/* Changer la couleur de fond au survol */
#navbar>ul>li>a:hover {
  background-color: #383D3B;
  color: antiquewhite;
}

/* Ajouter des icônes de disclosure aux éléments parents des sous-menus */
#navbar>ul>li:has(ul)>a::before {
  content: "\25BA";
  /* Unicode pour un triangle pointant à droite */
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s;
}

/* Faire pivoter l'icône lorsque le menu est ouvert */
#navbar>ul>li:hover:has(ul)>a::before,
#navbar>ul>li:focus-within:has(ul)>a::before {
  transform: rotate(90deg);
  /* Pivoter de 90 degrés pour indiquer l'ouverture */
}

/* Style pour les sous-listes */
#navbar ul ul {
  display: none;
  position: absolute;
  background-color: antiquewhite;
  color: antiquewhite;
  width: 100%;
  min-width: 180%;
  z-index: 1;
  padding: 20px;
  border: 2px solid #383D3B;
  border-radius: 2vh;
}

/* Style pour les éléments de la sous-liste */
#navbar ul ul li {
  float: none;
  position: relative;
  min-width: 100%;
}

/* Style pour les liens de la sous-liste */
#navbar ul ul li a {
  display: block;
  width: auto;
  margin: 5px;
  padding: 5px;
  border: 5px solid antiquewhite;
  border-radius: 1vh;
  color: #383D3B;
  text-decoration: none;
}

#navbar ul ul li a:hover {
  color: antiquewhite;
  background-color: #383D3B;
  text-decoration: none;
  border-color: #383D3B;
}

/* Afficher la sous-liste au survol */
#navbar ul li:hover>ul {
  display: block;
}

/* Ajuster la position des sous-menus */
#navbar ul ul ul {
  left: 100%;
  top: 0;
}

/* Ajouter des transitions pour les effets de survol */
#navbar a {
  transition: 0.3s;
}

/* Styles pour le menu hamburger et la barre de navigation sur mobile */
.menu-hamburger {
  display: none;
  font-size: 30px;
  color: #383D3B;
  cursor: pointer;
  padding: 20px 20px;
}

/* ========== */
h1#soon {
  font-size: 10vw;
  color: #383D3B;
  text-align: center;
}

div#waiter-wrapper {
  height: 93%;
  /*	display: none;*/
  display: flex;
  justify-content: center;
  align-items: center;
  /*  	font-family: 'basteleur-moonlight';*/
}

div#waiter {
  margin-bottom: 12%;
}

div#audio-player {
  display: flex;
  justify-content: center;
}

div#waiter-footer {
  margin-top: 8%;
  display: flex;
  justify-content: center;
}

div#welcome-div {
  display: none;
}

/*
 * ALL DEVICES RESPONSIVE
 * ======================
 */
@media (max-width: 640px) {
  html {
    background: linear-gradient(120deg, #9381FF, #03CEA4, #FED766, #DB5A42);
  }

  .frame {
    padding: 0;
  }

  .content-row {
    height: 100%;
    flex-direction: column;
  }

  .scrollable-wrapper {
    padding: 10vw;
  }

  #frame-ext {
    display: block;
    background-color: transparent;
    height: auto;
  }

  #frame-mid {
    display: block;
    background-color: transparent;
    height: auto;
  }

  #frame-int {
    display: block;
    background-color: transparent;
    height: auto;
  }

  #frame-top {
    margin-bottom: 1.4vh;
  }

  #navbar {
    /* margin-bottom: 1.4vh; */
  }

  #navbar ul {
    display: none;
    flex-direction: column;
    justify-content: center;
  }

  #navbar ul.menu-opened {
    display: flex;
    gap: 3vh;
    /* height: 97.2vh; */
    /* max-height: 97.2vh; */
    padding-bottom: 6vh;
    /*border: 2px solid burlywood;
	       	border-radius: 7vh; */
  }

  #navbar ul li {
    text-align: center;
    width: 70%;
  }

  #navbar>ul>li {
    margin: 0 15% 0 15%;
  }

  #navbar>ul>li:has(ul)>a::before {
    content: "\25BA";
    /* Unicode pour un triangle pointant à droite */
    transform: rotate(90deg);
  }

  /* Faire pivoter l'icône lorsque le menu est ouvert */
  #navbar>ul>li:hover:has(ul)>a::before,
  #navbar>ul>li:focus-within:has(ul)>a::before {
    transform: rotate(90deg);
    /* Pivoter de 90 degrés pour indiquer l'ouverture */
  }

  .menu-hamburger {
    display: block;
    padding: 20px 10vw;
  }

  /* Center the submenus */
  #navbar ul ul {
    display: block;
    width: 100%;
    min-width:75%;
    padding: 0;
    border: 0;
    position: static;
    text-align: center;
    /* margin-bottom: 3vh; */
    list-style-type: circle;
  }

  #navbar ul ul li {
    width: 100%;
    text-align: center;
  }

  #navbar ul ul li a {
    margin: 0;
  }
}

/*
 * FOOONTS
 * =======
 */
@font-face {
  font-family: 'ouroboros';
  /*a name to be used later*/
  src: url('font/Ouroboros-Regular.otf');
  /*URL to font*/
}

@font-face {
  font-family: 'basteleur-moonlight';
  /*a name to be used later*/
  src: url('font/Basteleur-Moonlight.otf');
  /*URL to font*/
}

@font-face {
  font-family: 'basteleur-bold';
  /*a name to be used later*/
  src: url('font/Basteleur-Bold.otf');
  /*URL to font*/
}
