/* FONTS -----------------*/
@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 */
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-v30-latin-500.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("assets/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 */
}

html {
  -ms-overflow-style: none; 
}

head {
  display: block;
}

body {
  margin: 0px;
  padding: 0px;
  display: block;
}

input {
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
}

p {
  font-family: Roboto-Medium, Roboto;
}

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

/* Desktop-specific styles */
@media (min-width: 769px) {
  .navbar {
    display: flex;
    flex-direction: row;
    background-color: #ddb917;
    padding: 2rem;
    width: 100%;
    height: 75px;
    justify-content: center;
    align-items: center;
    margin: auto;
  }
  
  .navbar-title {
    text-align: center;
    color: black;
    font-size: 28px;
    font-weight: bold;
    flex-grow: 1;
    max-width: 30%; /* Ensures the title doesn't stretch too wide */
  }

  .logoleft img {
    height: 85px;
    align-items: right;
    padding-left: 5px;
  }

  .logoright img {
    height: 85px;
    align-items: left;
    padding-right: 5px;
  }

  .topnav {
    align-content: center;
    vertical-align: top;
    margin: auto;
  }
  
  .orgtype {
    align-items: center;
    display: flex;
    width: 50%;
    justify-content: center;
    margin: auto;
  }

  .beadchallengetop {
    background-color: #ddb917;
    font-size:14px;
    font-family: Roboto-Medium, Roboto;
    font-weight: 500;
    display: block;
    width: fit-content;
    padding: .25em;
    margin-bottom: 10px;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: 5em;
    height: 25%;
  }

  .beadchallengemiddle {
    background-color: #ddb917;
    font-size:14px;
    font-family: Roboto-Medium, Roboto;
    font-weight: 500;
    display: block;
    width: 30%;
    padding: 1%;
    margin-bottom: 10px;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: 15px;
    height: 75%;
    padding-bottom: 4px;
  }

  .beadchallengebottom {
    background-color: #ddb917;
    font-size:14px;
    font-family: Roboto-Medium, Roboto;
    font-weight: 500;
    display: block;
    width: 30%;
    padding: 1%;
    margin-bottom: 10px;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: 15px;
    height: 50%;
  }

  .orgdiv {
    align-items: center;
    margin: auto;
  }

  .centered {
    align-items: center;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .full_container {
    background-color: transparent;
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: auto;
    float: center;
  }
}
/* ------------------------------------------------------------*/

/* Mobile-specific styles */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .navbar.active {
    display: flex;
  }

  .navbar ul {
    list-style-type: none;
    padding: 10;
  }

  .navbar ul li {
    margin: 15px 0;
  }

  .navbar ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
  }

  .navbar ul li a:hover {
    color: #ddb917;
  }
}
/* --------------------------------------------------------------*/


.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: Roboto-Medium, Roboto;
  font-style: italic;
}

.submitbuttondiv {
	padding: 2rem;
  background-color: #ddb917;
  text-align: center;
  font-size:14px;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  display: flex;
  width: 100%;
  margin-left: 10px;
  margin-bottom: 10px;
  margin: auto;
  align-items: center;
  align-content: center;
  flex-direction: column;
}

.savedata_button {
  font-family: Roboto;
  background-color: cyan;
  border: none;
  color: black;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  align-content: center;
  border-radius: 12px;
  font-size: 20px;
}

.Credits {
  color: rgb(125 119 119);
  text-align: center;
  font-size:14px;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  background: transparent;
} 

.Credits a {
  text-decoration: none;
  color: rgb(113, 113, 113);
}

.Credits a:hover {
  color: cyan;
}

@keyframes updown {
  0% {
   transform: translateY(-100%);
  }
  50% {
   transform: translateY(100%);
  }
  100% {
   transform: translateY(-100%);
  }
}

@media (min-width: 600px) {
  .title {
    display: block; 
  }
  }
  
#loader {
  border: 12px solid #f3f3f3;
  border-radius: 50%;
  border-top: 12px solid #444444;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
}

.loadercenter {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@keyframes spin {
  100% {
      transform: rotate(360deg);
  }
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* OpenSpeedTest Required Config --------------------------------------- */

/* Dark mode button disable */
.darkmode {
  margin-bottom: -15px;
  fill: #75757a99;
  padding-top: 16px;
  display: none;
  cursor: pointer;
  margin-right: 30px;
}

#daymode {
  margin-right: 40px;
}

.darkmode:hover {
  fill: #000000;
}

.ConnectError {
  display: none;
}

.openSpeedtestApp {
  height: 70vh;
  width: 90vw;
  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: #880000;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}

.progressElmstart {
  stroke: #880000;
  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: #880000;
  display: none;
}

#downSymbolDesk {
  fill: #880000;
  display: none;
}

#upSymbolMob {
  fill: #880000;
  display: none;
}

#downSymbolMob {
  fill: #880000;
  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 > div {
  width: 20px;
  height: 20px;
  background-color: #ddb917;

  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);
  }
}

.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;
  }
}
