html,
body {
  border: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
  color: #202020;
}

body {
  text-align: center;
  font-family: "Roboto", sans-serif;
}

h1 {
  color: #404040;
}

#logo {
    max-width: 450px;
    width: 100%;
}

img {
  vertical-align: top;
}

/* #startStopBtn {
  display: inline-block;
  margin: 0 auto;
  color: #6060aa;
  background-color: rgba(0, 0, 0, 0);
  border: 0.15em solid #6060ff;
  border-radius: 0.3em;
  transition: all 0.3s;
  box-sizing: border-box;
  width: 8em;
  height: 3em;
  line-height: 2.7em;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1), inset 0 0 0 rgba(0, 0, 0, 0.1);
}

#startStopBtn:hover {
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.1), inset 0 0 1em rgba(0, 0, 0, 0.1);
}

#startStopBtn.running {
  background-color: #ff3030;
  border-color: #ff6060;
  color: #ffffff;
}

#startStopBtn:before {
  content: "開始測速";
}

#startStopBtn.running:before {
  content: "測速中";
} */

#startStopBtn img {
    cursor: pointer;
    max-width: 200px;
    width: 100%;
}

#test {
  margin-top: 8em;
  margin-bottom: 12em;
}

div.testArea {
  display: inline-block;
  width: 14em;
  height: 9em;
  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.5em;
  left: 0;
  width: 100%;
  font-size: 2.5em;
  z-index: 9;
}

#dlText {
  color: #6060aa;
}

#ulText {
  color: #309030;
}

#pingText,
#jitText {
  color: #aa6060;
}

div.meterText:empty:before {
  color: #505050 !important;
  content: "0.00";
}

div.unit {
  position: absolute;
  bottom: 2em;
  left: 0;
  width: 100%;
  z-index: 9;
}

div.testGroup {
  display: inline-block;
}

@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;
  }
}

#progressBar {
  width: 90%;
  height: 0.3em;
  background-color: #eeeeee;
  position: relative;
  display: block;
  margin: 0 auto;
  margin-bottom: 2em;
}

#progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  transition: width 2s;
  background-color: #90bbff;
}

.blockUI {
  line-height: 30px;
}
