
body {
    font-family: Arial;
    text-align: center;
    padding: 0px;
    display: flex;
    justify-content: center; /* Centrage horizontal */
    /*align-items: center;     /* Centrage vertical */
    margin: 0px;               /* Supprime les marges par défaut */
}
#divMain {
  margin: 0px;
  padding: 0px;
}

#divPanel {
  margin: 0px;
  border-radius: 10px;
  padding: 10px;
  background: grey;
  color: white;
}

#menuButton {
  background-color: lightcoral;
  cursor: pointer;
  padding: 2px;
}
#btnNew {
  background-color: lightsalmon;
  cursor: pointer;
  padding: 2px;
  display: none;
}
#btnRestart {
  background-color: lightgreen;
  cursor: pointer;
  padding: 2px;
}
#btnParams {
  background-color: lightpink;
  cursor: pointer;
  padding: 2px;
}
#divContourTable {
  background: #966F33;
  padding: 10px;
  border-radius: 10px;
}

#gameContainer {
    width: 600px;
    height: 300px;
    position: relative;
    background: radial-gradient(circle at 200px 100px,lightgreen,green, darkgreen);
    padding: 0;
    margin: 0;
    user-select: none; /* pas de sélection sur PC */
    overflow: hidden; /* pas de scroll sur mobile */
    border-top: 10px solid green;
    border-bottom:10px solid green;
    border-right: 10px solid green;
    border-left: 10px solid green;
    box-shadow: 
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(0, 0, 0, 0.4),
    inset 0 0 0 3px rgba(0, 0, 0, 0.3),
    inset 0 0 0 4px rgba(0, 0, 0, 0.2),
    inset 0 0 0 5px rgba(0, 0, 0, 0.1);

}
#angleIndicator {
  width: 2px;
  height: 100px;
  left: -195px;
  top: -280px;
  opacity: 0.5;
  background: linear-gradient(to top, blue, #EEE);
  transform-origin: center bottom;
  position: absolute;
  border-radius: 2px;
  transition: opacity 1s ease;
}


#divViseur {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid black;
  color: black;
  left: -300px;
  top: -100px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  transition: opacity .5s ease;
}
/* ============================================================== */

#divBallW {
    position: absolute;
    left: 440px;
    top: 65px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 7px 7px,white, black);
    border-radius: 50%;
}
#divBallY {
  position: absolute;
  left: 440px;
  top: 140px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 7px 7px,yellow, black);
  border-radius: 50%;
}
#divBallR {
  position: absolute;
  left: 140px;
  top: 140px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 7px 7px,red, black);
  border-radius: 50%;
}


#launchButton {
    width: 400px;
    height: 50px;
    background-color: lightblue;
    border: 0px;
    font-size: 20px;
    cursor: pointer;
}


/***********************************************************
***********************************************************/

#divContainerParams{

  left: 50%;
  transform: translateX(-50%);
  top: -600px; /* 30px; */

  position: absolute;
  transition: top 1s ease;

  --r: 10px; /* radius of circles */
  width: 400px;
  height: 250px;
  aspect-ratio: 1;
  padding: calc(1.5*var(--r));
  background: rgb(248, 135, 242);
  mask: 
    linear-gradient(#000 0 0) no-repeat
     50%/calc(100% - 2*var(--r)) calc(100% - 2*var(--r)), 
    radial-gradient(farthest-side,#000 97%,#0000) 
     0 0/calc(2*var(--r)) calc(2*var(--r)) round;
}

/***********************************************************
      _ _     _                 
 _ __(_) |__ | |__   ___  _ __  
| '__| | '_ \| '_ \ / _ \| '_ \ 
| |  | | |_) | |_) | (_) | | | |
|_|  |_|_.__/|_.__/ \___/|_| |_|
************************************************************/

/* HTML: <div class="ribbon">Your text content</div> */
/* HTML: <div class="scalloped-box"></div> */
.ribbonMenu {
  --r: 10px; /* radius of circles */
  width: 300px;
  height: 300px;
  left: 50%;
  transform: translateX(-50%);
  top: -600px; /* 30px; */
  position: absolute;
  transition: top .5s ease;
  aspect-ratio: 1;
  padding: calc(1.5*var(--r));
  background: darkred;
  mask: 
    linear-gradient(#000 0 0) no-repeat
     50%/calc(100% - 2*var(--r)) calc(100% - 2*var(--r)), 
    radial-gradient(farthest-side,#000 97%,#0000) 
     0 0/calc(2*var(--r)) calc(2*var(--r)) round;
}


/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 20px;
    text-align: center;
    color: #fff;
    width:300px;
    left: 50%;
    transform: translateX(-50%);
    top: -400px; /* 30px; */
    position: absolute;
    transition: top 2s ease;
  }
  .ribbon {
    --s: 1.8em; /* the ribbon size */
    --d: .8em;  /* the depth */
    --c: .8em;  /* the cutout part */
    
    padding: 0 calc(var(--s) + .5em) var(--d);
    line-height: 1.8;
    background:
      conic-gradient(at left  var(--s) bottom var(--d),
       #0000 25%,#0008 0 37.5%,#0004 0) 0   /50% 100% no-repeat,
      conic-gradient(at right var(--s) bottom var(--d),
       #0004 62.5%,#0008 0 75%,#0000 0) 100%/50% 100% no-repeat;
    clip-path: polygon(0 var(--d), var(--s) var(--d),var(--s) 0,calc(100% - var(--s)) 0,calc(100% - var(--s)) var(--d),100% var(--d),calc(100% - var(--c)) calc(50% + var(--d)/2),100% 100%,calc(100% - var(--s) - var(--d)) 100%,calc(100% - var(--s) - var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) 100%,0 100%,var(--c) calc(50% + var(--d)/2));
    background-color: darkred; /* the main color */
    width:220px;
  }

#inputBtnStart {
  cursor: pointer;
  font-size: 20px;
  width: 200px;
  border-radius: 10px;
  color: white;
  background-color: darkblue;
}

#inputCheckSound {
  cursor: pointer;
  font-size: 20px;
  border-radius: 10px;
  color: white;
  background-color: cyan;
}

/************************************************************
.%%%%%....%%%%...%%..%%...%%%%...%%%%%%.
.%%..%%..%%..%%..%%%.%%..%%......%%.....
.%%%%%...%%%%%%..%%.%%%..%%.%%%..%%%%...
.%%..%%..%%..%%..%%..%%..%%..%%..%%.....
.%%..%%..%%..%%..%%..%%...%%%%...%%%%%%.
........................................
************************************************************/
  .rangeStyle {
    width: 400px;
    -webkit-appearance: none;
    margin: 10px 0;
  }
  .rangeStyle:focus {
    outline: none;
  }
  .rangeStyle::-webkit-slider-runnable-track {
    width: 100%;
    height: 30px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 2px 2px 10px #50555C;
    background: #EEEEEE;

    border: 0px solid #000000;
  }
  .rangeStyle::-webkit-slider-thumb {
    box-shadow: 0px 0px 10px #000000;
    border: 0px solid #000000;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    background: #529DE1;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
  }
  .rangeStyle:focus::-webkit-slider-runnable-track {
    background: #EEEEEE;
  }
  .rangeStyle::-moz-range-track {
    width: 100%;
    height: 30px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 2px 2px 10px #50555C;
    background: #EEEEEE;
    border-radius: 50px;
    border: 0px solid #000000;
  }
  .rangeStyle::-moz-range-thumb {
    box-shadow: 0px 0px 10px #000000;
    border: 0px solid #000000;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    background: #529DE1;
    cursor: pointer;
  }
  .rangeStyle::-ms-track {
    width: 100%;
    height: 30px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  .rangeStyle::-ms-fill-lower {
    background: #EEEEEE;
    border: 0px solid #000000;
    border-radius: 100px;
    box-shadow: 2px 2px 10px #50555C;
  }
  .rangeStyle::-ms-fill-upper {
    background: #EEEEEE;
    border: 0px solid #000000;
    border-radius: 100px;
    box-shadow: 2px 2px 10px #50555C;
  }
  .rangeStyle::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 10px #000000;
    border: 0px solid #000000;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    background: #529DE1;
    cursor: pointer;
  }
  .rangeStyle:focus::-ms-fill-lower {
    background: #EEEEEE;
  }
  .rangeStyle:focus::-ms-fill-upper {
    background: #EEEEEE;
  }


  /* ======================================================================= */





  