
:root { /*definition des variables de couleur*/
  --main-drum-color:#FFFFFF;
  --main-fond-color:#397DC3;
  --main-drum-color2:#51A5E9;
  --color-titre:rgb(46,32,20);
  --rouge:rgb(255, 24, 0);
  --boutonrouge:rgb(197, 48, 31);
}

html {
  scroll-behavior: smooth;
}
body {
  margin:0;
  /* margin-inline:6px; */
  background-image: url('../img/fond3.png');
  font-family: "Gochi Hand", cursive;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

.gochi-hand-regular {
  font-family: "Gochi Hand", cursive;
  font-weight: 400;
  font-style: normal;
}

.luckiest-guy-regular, h1 {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-style: normal;
}
.reenie-beanie-regular {
  font-family: "Reenie Beanie", cursive;
  font-weight: 400;
  font-style: normal;
}

h1, h3 {
  text-align: center;
  margin-top: .8rem;
  margin-bottom: .6rem;
  font-size: 1.7rem;
}
h3 {
  margin-top: 0;
}
h5 {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-size: 1.2rem;
  font-style: normal;
}
.cont {
  margin-inline:6px;
}

#click {
  scale:1.2;
  margin-inline:.2rem;
  accent-color: var(--boutonrouge);
}
input[type="range"] {
  appearance: none;
  width: 100%;
  margin-top: .8rem;
}
input[type="range"]::-webkit-slider-runnable-track {
  background: rgba(194, 194, 194, 0.37);
  accent-color: var(--boutonrouge);
  height: 1.5rem;
  border-radius: 3px;
}
input[type="range"]::-moz-range-track {
  background:rgba(194, 194, 194, 0.37);
  height: 0.5rem;
  border-radius: 3px;
}
/* Chrome, Safari, Edge (Chromium) */
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: var(--boutonrouge);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
  appearance: none;
  background: var(--boutonrouge);
  width: 1.5rem;
  height: 1.5rem;
  border-radius:50%;
}
#tempoInput {
  font-size: 1.4rem;
  margin:0.4rem;
  font-family: "Luckiest Guy", cursive;
}

#pasdeson {
  font-size: 17px;
  cursor: pointer;
   padding:4px 12px;
   border-radius: 4px;
}
#pasdeson:hover {
  color:white;
  background-color: black;
}

#stop {
  font-size: 1rem;
  /* float: right; */
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  background-color: var(--boutonrouge);
  color:white;
  padding: 6px 12px 0px 12px;
  border-radius: 4px;
  margin-left: .4rem;
  cursor: pointer;
}
.cont, header {
  width: 100%;
  max-width: 580px;
  margin: 1rem auto;
}
.clock { /* affichage numérique : attention plusieurs clock2*/
  background-color: rgb(32, 32, 32);
  padding: .6rem .3rem;
  border-radius: 6px;
  margin:.2rem
}
header {
  position: sticky;
  top: 10px;
  /* background-image: url('../img/fond2.png'); */
  padding: .6rem 0;
  z-index: 1;
}
.grid-horiz {
  display: grid;
  /* grid-template-columns: 48px 1fr; */
}
.grid-horiz > div {
  background-color: white;
  border-radius: 8px;
  padding: .1rem .8rem;
}
.grid-horiz-long {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  list-style: none;
}

a {
  color: #313131;
  font-size: .8rem;
}

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


.allume {
  /* color:red !important; */
  stroke: var(--rouge);
  fill:var(--rouge);
}
.target svg{ /* l'affichage de la mesure*/
  display: block;
  width:96%;
  height:100%;
  margin: 4px auto;
  min-height: 120px;
  background-color: #ffffff;
  border-radius: 8px;
}
.target {
  position: relative;
  z-index: 0;
}
.target::before {
  content: attr(data-count);
  font-family:"Luckiest Guy", cursive;
  display: block;
  position: relative;
  background-image: url('../img/numeros.png');
  background-size: contain;
  background-repeat: none;
  color:white;
  top:20px;
  left:0;
  width:23px;
  height: 23px;
  font-size: 15px;
  text-align: center;
  line-height: 28px;
}



.selected {
  display: block;
  width:100%;
  height: 100%;
  /* position:sticky !important;
  top:100px; */
}
.selected::after {
  content:'STOP';
  font-family:"Luckiest Guy", cursive;
  display: block;
  position: absolute;
  bottom:0;
  right:12px;
}

.clickzone>svg {
  background-image: url('../img/circle-play-solid-full.svg');
  background-color: #eaeaeaa2;
  background-repeat: no-repeat;
  background-position: center center;
}

footer {
  text-align: center;
  background-color: white;
  font-family: verdana;
  font-size: 10px;
  margin: 20px 0px 0px 0px;
  padding: 6rem 0 0 1rem;
}
footer img{
  margin: auto;
  width:85%;
  max-width: 500px;
}