
html {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
h1 {
  font-size: 1.8rem;
  color: white;
}
h2{
  font-size: 1.5rem;
  font-weight: bold;
  color: #143642;
}
.topnav {
  overflow: hidden;
  background-color: #143642;
}
body {
  margin: 0;
}
.content {
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}
.card {
  background-color: #F8F7F9;;
  box-shadow: 2px 2px 12px 1px rgba(140,140,140,.5);
  padding-top:10px;
  padding-bottom:20px;
}
.button {
  padding: 15px 50px;
  font-size: 24px;
  text-align: center;
  outline: none;
  color: #fff;
  background-color: #0f8b8d;
  border: none;
  border-radius: 5px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.button:hover {background-color: #0f8b8d}
.button:active {
  background-color: #0f8b8d;
  box-shadow: 2 2px #CDCDCD;
  transform: translateY(2px);
}
.stat {
  font-size: 1.5rem;
  color:#8c8c8c;
  font-weight: bold;
}
.state {
  font-size: 1.5rem;
  color:red;
  font-weight: bold;
}




  h2 {
    font-size: 1.8rem;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 68px
  }

  .switch input {
    display: none
  }

  .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FF0000;
    border-radius: 34px
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 52px;
    width: 52px;
    left: 8px;
    bottom: 8px;
    background-color: #212420;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 68px
  }

  input:checked+.slider {
    background-color: #44f321
  }

  input:checked+.slider:before {
    -webkit-transform: translateX(52px);
    -ms-transform: translateX(52px);
    transform: translateX(52px)
  }