/* 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"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/roboto-v30-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/roboto-v30-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/roboto-v30-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-500 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/roboto-v30-latin-500.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/roboto-v30-latin-500.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/roboto-v30-latin-500.woff2")
      format("woff2"),
    /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-500.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/roboto-v30-latin-500.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg"); /* Legacy iOS */
}

:root {
  /* Font Family Tokens */
  --font-family-primary: Outfit, Outfit Fallback, ui-sans-serif, system-ui, sans-serif;
  --font-size-base: 16px;
  --font-weight-base: 400;
  --font-line-height-base: 24px;

  /* Typography Scale Tokens */
  --font-size-xs: 11.2px;
  --font-size-sm: 12.8px;
  --font-size-md: 13.44px;
  --font-size-lg: 14px;
  --font-size-xl: 14.4px;
  --font-size-2xl: 15.2px;
  --font-size-3xl: 16px;
  --font-size-4xl: 18px;

  /* Color Palette Tokens */
  --color-text-primary: #aab2c0;
  --color-text-secondary: #f5f7fa;
  --color-text-tertiary: #9e9eff;
  --color-text-inverse: #ff7a1a;
  --color-surface-base: #000000;
  --color-border-strong: #2a2f3a;
  --color-surface-raised: #0f1115;

  /* Spacing Scale Tokens */
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 20px;
  --space-7: 22px;
  --space-8: 24px;

  /* Radius Tokens */
  --radius-xs: 10px;
  --radius-sm: 24px;
  --radius-md: 36px;
  --radius-lg: 48px;

  /* Shadow Tokens */
  --shadow-1: 0px 4px 20px 0px rgba(255, 122, 26, 0.25);
  --shadow-2: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  --shadow-3: 0px 8px 25px 0px rgba(255, 122, 26, 0.26);
  --shadow-4: 0px 12px 34px 0px rgba(255, 122, 26, 0.22);

  /* Motion Tokens */
  --motion-duration-instant: 150ms;
  --motion-duration-fast: 200ms;
  --motion-duration-normal: 280ms;
  --motion-duration-slow: 300ms;
}

body {
  margin: 0px;
  padding: 0px;
  display: block;
  background-color: var(--color-surface-base);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--font-line-height-base);
}

::-webkit-scrollbar {
  display: none;
}
html {
  -ms-overflow-style: none; 
  scrollbar-width: none;
  background-color: var(--color-surface-base);
}
 
.brand-header {
  text-align: center;
  padding: var(--space-8) var(--space-5) var(--space-3) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.brand-logo-link {
  display: inline-block;
  transition: transform var(--motion-duration-fast) ease;
}

.brand-logo-link:hover {
  transform: scale(1.04);
}

.brand-logo {
  height: 60px;
  max-width: 300px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-2));
}

.brand-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-4xl);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin: 0;
  letter-spacing: -0.3px;
}

.Credits {
  color: var(--color-text-primary);
  text-align: center;
  font-size: var(--font-size-sm);
  font-family: var(--font-family-primary);
  font-weight: 500;
  margin-top: var(--space-6);
} 
.Credits a {
  text-decoration: none;
  color: var(--color-text-tertiary);
  transition: color var(--motion-duration-instant) ease;
}
.Credits a:hover {
  color: var(--color-text-inverse);
}

.start-again-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--color-text-inverse);
  color: #ffffff;
  border: 1px solid var(--color-border-strong);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  font-family: var(--font-family-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform var(--motion-duration-fast) ease, box-shadow var(--motion-duration-fast) ease, background var(--motion-duration-fast) ease;
  user-select: none;
  outline: none;
}

.start-again-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-3);
  background: #ff8c33;
}

.start-again-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: var(--shadow-2);
}

.start-again-btn svg {
  transition: transform var(--motion-duration-normal) ease;
}

.start-again-btn:hover svg {
  transform: rotate(-45deg);
}

.ConnectError {
  display: none;

}

.openSpeedtestApp {
 
  height: 100vh;
  width: 100vw;
  display: none;
  overflow: hidden;
}
.main-Gaugebg {
  fill: none;
  stroke: rgb(231, 231, 232);
  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;
}
.main-GaugeWhite {
  fill: none;
  stroke: rgb(255, 255, 255);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 15px;
  stroke-dasharray: 0, 681;
  stroke-dashoffset: 1;
  stroke-opacity: 0;
}
.oDo-Meter {
  font-size: 16.633283615112305px;
  fill: gray;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
}
.oDoLive-Speed {
  font-size: 28px;
  fill: #201e1e;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}

.oDoLive-Status {
  font-size: 10px;
  fill: #d2d1d2;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.uiBg {
  fill: #d2d1d2;
}
.progressbg {
  stroke: rgb(231, 231, 232);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.Cards {
  fill: #f2f2f2;
}
.Symbol {
  fill: url(#gradient);
}
.rtext {
  font-size: 12px;
  fill: #333;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
}
.rtextnum {
  font-size: 23px;
  fill: #201e1e;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.rtextmbms {
  font-size: 12px;
  fill: #5f5f5f;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.jitter-Mob {
  font-size: 9px;
  fill: #5f5f5f;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.startButton {
  fill: url(#RadialGradient1);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: visible;
}
.buttonTxt {
  font-size: 40px;
  fill: #ffffff;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}

.intro-Progress {
  stroke: var(--color-text-inverse);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.progressElmstart {
  stroke: var(--color-text-inverse);
  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.1;
  transition: opacity 1s ease-in-out;
}
.Startsettings:hover {
  opacity: 1;
}

.progressbg {
  stroke: rgb(231, 231, 232);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.deskStart {
  fill: none;
  stroke: rgb(231, 231, 232);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
  stroke: url(#gradient);
}
#UI-Desk {
  display: none;
}
#UI-Mob {
  display: none;
}
.oDoTop-Speed {
  font-size: 16.96px;
  fill: gray;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: end;
}
#upSymbolDesk {
  fill: var(--color-text-inverse);
  display: none;
}
#downSymbolDesk {
  fill: var(--color-text-inverse);
  display: none;
}
#upSymbolMob {
  fill: var(--color-text-inverse);
  display: none;
}
#downSymbolMob {
  fill: var(--color-text-inverse);
  display: none;
}

#ipMob {
  font-size: 15px;
  fill: #201e1e;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
  display: none;
}
#ipDesk {
  font-size: 15px;
  fill: #201e1e;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
  display: none;
}

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

.spinner > div {
  width: 20px;
  height: 20px;
  background-color: #2196f3;

  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: #75757a99;
  padding-top: 16px;
  display: none;
  cursor: pointer;
  margin-right: 30px;
}
#daymode {
  margin-right: 40px;
}
.darkmode:hover {
  fill: #000000;
}

.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;
  }
}
@media only screen and (max-width: 300px) {
  .Credits{
    display: none;
  }
}
