html,body{
    border:none; padding:0%; margin:0%;
    background:#202020;
    color:#FFFFFF;
}
body{
    text-align:center;
    font-family:"Roboto",sans-serif;
}
h1{
    color:#404040;
}
.dark-mode {
    background-color: black;
    color: white;
  }
#startStopBtn{
    display:inline-block;
    margin:0 auto;
    color:#F7B60D;
    background-color:#202020;
    border:0.15em solid #F7B60D;
    border-radius:0.4em;
    transition:all 0.3s;
    box-sizing:border-box;
    width:8em; height:3em;
    line-height:2.7em;
    cursor:pointer;
    box-shadow: 0 0 0 #202020, inset 0 0 0 #202020;
}
#startStopBtn:hover{
    box-shadow: 0 0 2em #202020, inset 0 0 1em #202020;
}
#startStopBtn.running{
    background-color:#F7B60D;
    border-color:#F7B60D;
    color:#FFFFFF;
}
#startStopBtn:before{
    content:"Démarrer le test";
}
#startStopBtn.running:before{
    content:"Annuler";
}
#test{
    margin-top:2em;
    margin-bottom:auto;
}
div.testArea{
    display:inline-block;
    width:16em;
    height:12.5em;
    position:relative;
    box-sizing:border-box;
}
div.testName{
    position:absolute;
    top:0.1em; left:0;
    width:100%;
    font-size:1.4em;
    z-index:9;
}
div.meterText{
    position:absolute;
    bottom:1.55em; left:0;
    width:100%;
    font-size:2.5em;
    z-index:9;
}
div.meterText:empty:before{
    content:"0.00";
}
div.unit{
    position:absolute;
    bottom:2em; left:0;
    width:100%;
    z-index:9;
}
div.testArea canvas{
    position:absolute;
    top:0; left:0; width:100%; height:100%;
    z-index:1;
}
div.testGroup{
    display:inline-block;
}
#shareArea{
    width:95%;
    max-width:40em;
    margin:0 auto;
    margin-top:2em;
}
#shareArea > *{
    display:block;
    width:100%;
    height:auto;
    margin: 0.25em 0;
}
@media all and (max-width:65em){
    body{
        font-size:1.5vw;
    }
}
@media all and (max-width:40em){
    body{
        font-size:0.8em;
    }
    div.testGroup{
        display:block;
        margin: 0 auto;
    }
}
