: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;
  color: var(--text-color);
}
h2 {
  margin-top: 1rem;
  padding-top: 4rem;
}
p {
  line-height: 1.3rem;
  text-align: justify;
  padding: 0 1rem;
}
h2 > .eng, h2 > .fr {
  text-align: left;
}

a {
  cursor: pointer;
  text-decoration: none !important;
}
button {
  text-decoration: none;
  border: none;
  padding: .4rem 2rem;
  font-size: .8rem; 
  color: white;
  border-radius: .15rem;
  box-shadow: var(--shadow-color) .6rem .6rem .7rem;
  cursor: pointer;
  user-select:none;
}
.danger {
  background-color: var(--cta-color);
}
.blue {
  background-color: var(--light-color);
}
button:hover {
  /* transform: scale(1.05); */
  box-shadow: var(--shadow-color) .8rem .8rem 1rem;
}
button:active {
  transform: scale(0.95);
}
input {
  user-select:none;
}

.print {
  box-shadow: var(--shadow-color) .6rem .6rem .7rem;
  cursor: pointer;
  user-select:none;
}
.print:hover {
  box-shadow: var(--shadow-color) .8rem .8rem 1rem;
}

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;
}




.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, .abc-short > 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);
}
.shorcuts {
  margin: 2rem 0 2rem 0;
  font-size: .5rem;
  font-weight: 300;
  letter-spacing: .2rem;
}
/* .switch {
  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;;
} */
.glisseur {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: .7rem 1.8rem;
}

.glisseur > input {
  grid-column-start: 1;
  grid-column-end: span 2;
  grid-row: 2;
}
.glisseur > span {
  font-size: .7rem;
}

.commutateur {
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: .7rem 1.8rem;
}
.commutateur > label {
  grid-column: span 2;
  font-size: .7rem;
}
.commutateur > select {
  font-size: .7rem;
  height: 1rem;
  margin-top: .4rem;
}
.commutateur > div {
  background-color: rgb(241, 241, 241);
  border: 2px solid rgb(241, 241, 241);
  height: 1.1rem;
  line-height: 1.2rem;
  padding: .4rem 1.1rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 300;
  cursor: pointer;
  user-select:none;
}
.commutateur > div:first-of-type {
  border-radius: .5rem 0 0 .5rem;
}
.commutateur > div:last-of-type {
  border-radius: 0 .5rem .5rem 0;
}
.selected {
  border-bottom: .1rem solid var(--text-color);
  background-color: white !important;
  color: var(--text-color);
}


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

.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;
}
.titre-popup:nth-of-type(2) > h1 {
  position: relative;
  top:3rem;
  animation: popup .5s ease .3s forwards;
}
/* .pop {
  animation: popup 1s ease forwards;
} */
@keyframes popup {
  100%   { top:0;}
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* * /////////////////////////////////////////////////// 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;
  }

}
