/* roboto-regular - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("..fonts/roboto-v30-latin-regular.eot");
  src: local(""),
    url("../fonts/roboto-v30-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/roboto-v30-latin-regular.woff2")
      format("woff2"),
    url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
    url("../fonts/roboto-v30-latin-regular.ttf")
      format("truetype"),
    url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg");
}
/* roboto-500 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-v30-latin-500.eot");
  src: local(""),
    url("assets/fonts/roboto-v30-latin-500.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/roboto-v30-latin-500.woff2")
      format("woff2"),
    url("../fonts/roboto-v30-latin-500.woff")
      format("woff"),
    url("../fonts/roboto-v30-latin-500.ttf")
      format("truetype"),
    url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg");
}

body {
  margin: 0;
  padding: 0;
  display: block;
  background: linear-gradient(160deg, #0a1018 0%, #141e30 45%, #0d1520 100%);
  min-height: 100vh;
}

::-webkit-scrollbar {
  display: none;
}
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.Credits {
  color: #5a6a7e;
  text-align: center;
  font-size: 12px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  padding: 8px 0 16px;
}
.Credits a {
  text-decoration: none;
  color: #6b7d94;
}
.Credits a:hover {
  color: #06d6d6;
}

.ConnectError {
  display: none;
}

.openSpeedtestApp {
  height: 100vh;
  width: 100vw;
  display: none;
  overflow: hidden;
}

/* Gauge arc */
.main-Gaugebg {
  fill: none;
  stroke: #1a2740;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
}
.main-GaugeBlue {
  fill: none;
  stroke: url(#gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
  stroke-opacity: 0;
  filter: drop-shadow(0 0 6px rgba(6, 214, 214, 0.35));
}
.main-GaugeWhite {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 15px;
  stroke-dasharray: 0, 681;
  stroke-dashoffset: 1;
  stroke-opacity: 0;
}

/* Speed readout */
.oDo-Meter {
  font-size: 14px;
  fill: #4a5d75;
  font-family: Roboto, sans-serif;
  font-weight: 400;
}
.oDoLive-Speed {
  font-size: 56px;
  fill: #ffffff;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  text-anchor: middle;
}
.oDoLive-Status {
  font-size: 11px;
  fill: #06d6d6;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  text-anchor: middle;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.oDoTop-Speed {
  font-size: 14px;
  fill: #4a5d75;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-anchor: end;
}

.uiBg {
  fill: #243044;
}
.progressbg {
  stroke: #1a2740;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}

/* Result cards */
.Cards {
  fill: #162032;
  stroke: #243044;
  stroke-width: 1;
  rx: 8;
}

.Symbol {
  fill: #06d6d6;
}
.rtext {
  font-size: 11px;
  fill: #6b7d94;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 1.2px;
}
.rtextnum {
  font-size: 28px;
  fill: #ffffff;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  text-anchor: middle;
}
.rtextmbms {
  font-size: 12px;
  fill: #6b7d94;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-anchor: middle;
}
.jitter-Mob {
  font-size: 9px;
  fill: #6b7d94;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-anchor: middle;
}

/* GO button */
.startButton {
  fill: url(#RadialGradient1);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: visible;
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.45));
  transition: filter 0.2s ease;
}
.startButton:hover {
  filter: drop-shadow(0 4px 28px rgba(16, 185, 129, 0.65));
}
.buttonTxt {
  font-size: 36px;
  fill: #ffffff;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 3px;
}

.intro-Progress {
  stroke: #06d6d6;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.progressElmstart {
  stroke: #06d6d6;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  display: block;
}

.Startsettings {
  fill: url(#RadialGradient1);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: visible;
  opacity: 0.08;
  transition: opacity 1s ease-in-out;
}
.Startsettings:hover {
  opacity: 0.6;
}

.deskStart {
  fill: none;
  stroke: url(#gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
  opacity: 0.5;
}

#UI-Desk {
  display: none;
}
#UI-Mob {
  display: none;
}

#upSymbolDesk {
  fill: #06d6d6;
  display: none;
}
#downSymbolDesk {
  fill: #06d6d6;
  display: none;
}
#upSymbolMob {
  fill: #06d6d6;
  display: none;
}
#downSymbolMob {
  fill: #06d6d6;
  display: none;
}

#ipMob {
  font-size: 13px;
  fill: #6b7d94;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-anchor: middle;
  display: none;
}
#ipDesk {
  font-size: 13px;
  fill: #6b7d94;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-anchor: middle;
  display: none;
}

.Your-IP text,
#YourIP {
  fill: #6b7d94;
  font-size: 13px;
  font-family: Roboto, sans-serif;
}

/* Hide original OpenSpeedTest logo */
#logo-Desk {
  display: none;
}

.spinner {
  position: absolute;
  z-index: 999;
  top: 50vh;
  left: 50vw;
  text-align: center;
}

.spinner > div {
  width: 20px;
  height: 20px;
  background-color: #06d6d6;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.darkmode {
  margin-bottom: -15px;
  fill: #4a5d75;
  padding-top: 16px;
  display: none;
  cursor: pointer;
  margin-right: 30px;
}
#daymode {
  margin-right: 40px;
}
.darkmode:hover {
  fill: #06d6d6;
}

.Mobile,
.Desktop {
  visibility: hidden;
  width: 100vw;
  height: 100vh;
}

@media only screen and (orientation: landscape) {
  .Mobile {
    visibility: hidden;
  }
  .Desktop {
    visibility: visible;
  }
}

@media only screen and (orientation: portrait) {
  .spinner {
    top: 42vh;
    left: 42vw;
  }
  .Mobile {
    visibility: visible;
  }
  .Desktop {
    visibility: hidden;
  }
  .oDoLive-Speed {
    font-size: 44px;
  }
}

@media only screen and (max-width: 300px) {
  .Credits {
    display: none;
  }
}
