#testWrapper {
  background-color: #f9fafb;
  border-radius: var(--border-radius-md);
  margin-top: 40px;
  padding: 40px;
}
.dark-mode #testWrapper {
  background-color: var(--color-background-dark-inner-card);
}
.dark-mode #ipArea,
.dark-mode div.testArea2 div.unit,
.dark-mode div.testArea div.unit {
  color: var(--color-text-light);
}
#test {
  margin-bottom: 50px;
}
#startStopBtn {
  display: inline-block;
  margin: 0 auto;
  color: var(--color-white);
  background-color: var(--color-primary-blue);
  transition: all 0.3s;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  font-weight: 400;
  font-size: 24px;
  padding: 5px 22px;
  margin-bottom: 20px;
}
.group-items-area {
  display: flex;
  align-items: center;
  flex-direction: column;
}
#startStopBtn:hover {
  opacity: 0.8;
}
#startStopBtn.running {
  background-color: #ff3030;
  color: #ffffff;
}
#startStopBtn:before {
  content: "Start";
}
#startStopBtn.running:before {
  content: "Abort";
}
div.testArea {
  display: inline-block;
  width: 17em;
  height: 13.5em;
  position: relative;
  box-sizing: border-box;
}
div.testArea svg {
  position: absolute;
  left: 0;
  width: 100%;
  top: 70px;
  z-index: 9999999;
}
div.testArea2 {
  border: 1px solid var(--color-border);
  padding: 10px 50px;
  border-radius: var(--border-radius-xl);
}
div.testArea div.testName {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  font-weight: 500;
  font-size: 28px;
  z-index: 9;
}
div.testArea2 div.testName {
  font-weight: 500;
  font-size: 14px;
  margin-top: 15px;
}
div.testArea div.meterText {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  font-weight: 700;
  font-size: 24px;
  z-index: 9;
}
div.testArea2 div.meterText {
  font-weight: 700;
  font-size: 24px;
  margin-top: 3px;
}
div.meterText:empty:before {
  content: "0.00";
}
div.testArea div.unit {
  position: absolute;
  top: 140px;
  left: 0;
  width: 100%;
  z-index: 9;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text-dropdown);
}
div.testArea2 div.unit {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-dropdown);
}
div.testArea canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#ipArea {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-dropdown);
}
div.testGroup {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 40px;
}
.speed-test-item {
  gap: 40px;
}
#shareArea {
  width: 95%;
  max-width: 40em;
  margin: 0 auto;
  margin-top: 2em;
}
#shareArea > * {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.25em 0;
}
#privacyPolicy {
  position: fixed;
  top: 2em;
  bottom: 2em;
  left: 2em;
  right: 2em;
  overflow-y: auto;
  width: auto;
  height: auto;
  box-shadow: 0 0 3em 1em #000000;
  z-index: 999999;
  text-align: left;
  background-color: #ffffff;
  padding: 1em;
}
a.privacy {
  text-align: center;
  font-size: 0.8em;
  color: #808080;
  padding: 0 3em;
}
div.closePrivacyPolicy {
  width: 100%;
  text-align: center;
}
div.closePrivacyPolicy a.privacy {
  padding: 1em 3em;
}
@media (max-width: 991.98px) {
  #testWrapper {
    padding: 30px;
  }
}
@media (max-width: 767.98px) {
  .speed-test-item {
    flex-direction: column;
    gap: 15px;
  }
  .speed-test-item.upload-item {
    gap: 60px;
  }
  #testWrapper {
    padding: 24px;
  }
}
