:root {
  --text-color:#383838;
  --light-color:hsl(210, 55%, 49%);
  --alt-color:hsl(210, 55%, 22%);
  --cta-color:hsl(345, 91%, 57%);
  --ring-play:hsl(0, 0%, 63%);
  --shadow-color:rgba(0, 0, 0, 0.18);
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Epilogue';
  box-sizing: border-box;
  font-weight: 300;
  font-size: .9rem;
  padding: 0;
  margin: 0 auto;
  width: clamp(380px, 96vw, 900px);
  text-shadow: none !important;
  color: var(--text-color);
}
h1 {
  font-weight: 900;
  font-size: 3rem;
  text-align: left;
}
h2 {
  text-align:left;
  margin-top: 1rem;
  padding-top: 4rem;
}
p {
  line-height: 1.3rem;
  padding: 0 1rem;
}
a {
  cursor: pointer;
  text-decoration: none !important;
}
button {
  text-decoration: none;
  border: none;
  padding: .4rem 2rem;
  font-size: .8rem;
  background-color: var(--cta-color);
  color: white;
  border-radius: .15rem;
  transition: all 50ms ease-in-out;
  box-shadow: var(--shadow-color) .6rem .6rem .7rem;
  cursor: pointer;
  user-select:none;
}
button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-color) .8rem .8rem 1rem;
}
button:active {
  transform: scale(0.95);
}
input {
  user-select:none;
}


nav {
   position: sticky;
   top:0px;
   background-color: white;
   padding-bottom: 0.8rem;
   padding-top: 0.8rem;
 }

nav a {
  font-size:.7rem;
  padding-right: 1.2rem;
  color:var(--text-color);
  text-transform: uppercase;
}

.flag {
  border-radius: 100%;
  height:1rem;
  width:1rem;
  vertical-align: middle;
  opacity: .65;
}

.eng, .fr {
  text-align: justify;
  margin: 0 auto;
  /* max-width: 800px; */
}
h2 > .eng, h2 > .fr {
  text-align: left;
}

.menu_thin {
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
  align-items: center;
}

.wrap {
  display: flex;
  justify-content: center;
  gap:2rem;
  margin:auto;
  z-index: 20 !important;
  background: white;
  padding: 1.2rem .4rem 1rem .4rem;
  box-shadow: 10px 10px 20px 0px var(--shadow-color);
  border-radius: 6px;
  text-shadow: none !important;
  color: rgba(0, 0, 0, 0.8);
  width:94%;
}
.calque svg{
  width:100%;
}
.abc-up > svg, .abc-down > svg {
  height: 4.5rem;
  vertical-align:middle;
  position: relative;
  top:-.3rem;
  z-index: -1;
}

text .f2_1 {
  font-size: .8rem !important;
  /* font-style: italic !important; */
  font-weight: 200 !important;
}
.help {
  font-size: .55rem;
  letter-spacing: .2rem;
  text-shadow: none !important;
  color: rgba(0, 0, 0, 0.8);
}
.switch, .mode, .noteperbeat, .noteperBar, .debitGroupe {
  font-size: .75rem;
  font-weight: 600;
  color: rgb(163, 163, 163);
  padding: .2rem .3rem .1rem .4rem; 
  cursor: pointer;
  user-select:none;
}
.switch:hover {
  font-size: .8rem;;
}
.selected {
  border-bottom: .1rem solid var(--text-color);
  color: var(--text-color);
}



.foot {
  text-align: center;
  padding-top: 32px;
}

.liste {
  overflow:scroll;
  height: 220px;
  padding: .8rem 1.2rem .8rem 1.2rem;
  border: .1rem solid rgb(202, 201, 201);
  border-radius: .3rem;
  scroll-behavior: smooth;
}

.list {
  display:block;
  text-align: center;
  width: max-content;
  font-size: 1rem !important;
  padding: .2rem .5rem .2rem .5rem;
  border-radius: 6px;
  margin-bottom: 12px;
  box-shadow: rgb(219, 219, 219) .2rem .1rem .5rem;
  background-color: white;
}


.addSigne {
  padding:.1rem .3rem .1rem .3rem;
  user-select: none;
  margin:.2rem;
  color: rgb(196, 194, 194);
}
.addSigne:hover {
  cursor: pointer;
  font-size: 1.01rem;
}
.addSigne:active {
  font-size: 0.9rem;
}
.added {
  /* box-shadow: rgb(253, 163, 163) .1rem .1rem .4rem; */
  border-bottom: .1rem solid var(--text-color);
  color: var(--text-color);
}

.hide { /* pour cacher le compteur de boucle*/
	display: none;
}


/* ANIMATION TITRES/////////// */
.titre-popup {
  overflow: hidden;
  position: relative;
  /* line-height: 1rem;
  height:3.5rem; */
  margin-bottom: 0rem;
  /* background-color: turquoise; */
}
.titre-popup:nth-of-type(1) > h1 {
  position: relative;
  top:3rem;
  animation: popup .5s ease forwards;
}

/* .pop {
  animation: popup 1s ease forwards;
} */
@keyframes popup {
  100%   { top:0;}
}

.autopub {
  display: block;
  width: 90%;
  max-width: 800px;
  margin:0 auto;
  background-color: aquamarine;
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* * /////////////////////////////////////////////////// MOBILE   //////////////////////////////////////////////////////////// */
@media screen and (max-width: 780px) {

  nav {
    padding:2rem 0 3rem 4rem;
  }
  nav>a {
    line-height: 1rem;
    padding:.5rem;
    font-size:.8rem;
  }
  .menu_thin {
    flex-wrap: wrap;
  }
  .menu_thin > * {
    margin: .8rem 1rem;
  }

}
