@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;display=swap');



*{
	margin: 0%;
	padding: 0%;
	box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

select{
	text-align: center;
	border: none;
    border-radius: 8px;
    transition: all 0.3s;
    width: 40%;
	color:white;
	background-color: #216dde00;
	border:0.15em solid #216dde;
    font-weight: 700;
    font-size: 2rem;
    padding: 10px 20px;
	appearance: none;

}

select:focus{
	border: none;
    border-radius: 8px;
    transition: all 0.3s;
    width: 40%;
	color:#fff;
	background-color: #216dde;
	border:0.15em solid #216dde;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
}

option:hover{
	background-color: #fff;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

html,body{
		border:none; padding:0; margin:0;
		background-color: #000;
		background-size: cover;
	}
	body{
		text-align:center; 
		font-family:"Roboto",sans-serif;
	    background-color: #000;
		background-size: cover;
		height: calc(100vh);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		overflow: auto;

	}

	.title{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-around;
		margin: 4% 0;
		width: 100%;
		animation: popdown 1.5s cubic-bezier(0.36, -0.64, 0.34, 1.76) 0.1s 1 normal forwards running;

	}

	.title 	h1{
		color:#fff;
		font-weight: 900;
		text-transform: uppercase;
		letter-spacing: 2px;
		font-size: 3rem;
	}

	.title p{
		margin: 1%;
		letter-spacing: 2px;
		font-size: 1rem;
		font-weight: 600;

	}

	#startStopBtn{
		margin: auto;
		display:inline-block;
		padding: 5px 50px;
		height: auto;
		width: auto;
		font-size: 1.5rem;
		font-weight: 600;
		color:#fff;
		background-color: #216dde;
		border:0.15em solid #216dde;
		border-radius: 12px;
		transition:all 0.3s, background .6s;
		box-sizing:border-box;
		cursor:pointer;
		box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1);
		animation: popup 1.5s cubic-bezier(0.36, -0.64, 0.34, 1.76) 0.1s 1 normal forwards running;
	}
	#startStopBtn:hover{
		box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
		color:#fff;
		background-color: #0E168F;
	}
	#startStopBtn.running{
		margin: auto;
		display:inline-block;
		padding: 5px 50px;
		height: auto;
		width: auto;
		font-size: 1.5rem;
		font-weight: 600;
		color:#de2121;
		background-color: #216dde00;
		border:0.15em solid #de2121;
		border-radius: 12px;
		transition:all 0.3s, background .6s;
		box-sizing:border-box;
		cursor:pointer;
		box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1);
	}

	#startStopBtn.running:hover{
		box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
		color:#fff;
		background-color: #de2121;
	}
	#startStopBtn:before{
		content:"Lancer !";
	}
	#startStopBtn.running:before{
		content:"Stopper";
	}
	#test{
		margin-top:1em;
		margin-bottom:5em;
		animation: popup 1.5s cubic-bezier(0.36, -0.64, 0.34, 1.76) 0.1s 1 normal forwards running;


	}
	div.testArea{
		display:inline-block;
		width:16em;
		height:12.5em;
		position:relative;
		box-sizing:border-box;
	}
	div.testArea2{
		display:inline-block;
		width:14em;
		height:7em;
		position:relative;
		box-sizing:border-box;
		text-align:center;
	}

	div.testArea div.testName{
		position:relative;
		top:0.1em; left:0;
		width:100%;
		font-size:1.4em;
		z-index:9;
		margin: 75% 0;
	}
	div.testArea2 div.testName{
        display:block;
        text-align:center;
        font-size:1.4em;
	}
	div.testArea div.meterText{
		position:absolute;
		bottom:1.55em; left:0;
		width:100%;
		font-size:2.5em;
		z-index:9;
	}
	div.testArea2 div.meterText{
        display:inline-block;
        font-size:2.5em;
	}
	div.meterText:empty:before{
		content:"0.00";
	}
	div.testArea div.unit{
		position:absolute;
		bottom:2em; left:0;
		width:100%;
		z-index:9;
	}
	div.testArea2 div.unit{
		display:inline-block;
	}
	div.testArea canvas{
		position:absolute;
		top:0; left:0; width:100%; height:100%;
		z-index:1;
	}
	div.testGroup{
		display:block;
        margin: 0 auto;
	}
	@media all and (max-width:40em){
		body{
			font-size:0.8em;
		}
	}

	
	@keyframes popup{
		from{

			transform: translateY(15%);
			opacity: 0;
		}
		to{
			transform: translateY(0);
			opacity: 1;
		}
	}

		
	@keyframes popdown{
		from{

			transform: translateY(-15%);
			opacity: 0;
		}
		to{
			transform: translateY(0);
			opacity: 1;
		}
	}