
.number {
    line-height: 1.2;
    margin: -0.1em 0;
    font-size: 1.6em;
}

.unit {
    font-size: 0.9em;
    -webkit-font-smoothing: antialiased;
}

.advance-set-btn{
    border: none !important;
    color: rgb(3, 169, 244) !important;
    background: none !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}



.advance-set-btn:hover{
    background: #e1e4e4bd !important;
}
@media screen and (min-width: 730px) {
    .number {
        font-size: 2.5em;
    }
}

@media screen and (min-width: 730px) {
    .test {
        font-size: 18px;
        padding: 10px;
    }
}

.gauge-assembly {
    position: relative;
    flex-shrink: 0;
    width: 250px;
    margin: 0 auto 10px;
    animation-name: appear;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-duration: 250ms;
}
@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media screen and (min-width: 730px) {
    .gauge-assembly {
        width: 350px;
        min-height: 350px;
        margin: 0;
    }
}
.gauge-container {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 250px;
    height: calc(250px - 25px);
}
@media screen and (min-width: 730px) {
    .gauge-container {
        width: 350px;
        height: 315px;
    }
}
.gauge {
    position: relative;
    display: inline-block;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    transform: rotateZ(-180deg);
    transition: transform 20ms linear;
}
@media screen and (min-width: 730px) {
    .gauge {
        width: 350px;
        height: 350px;
    }
}
.gauge-path {
    position: relative;
    top: -5px;
    left: -7px;
    transform: rotate(-45deg);
}
@media screen\0 {
    .gauge-path {
        top: 133px;
        left: -27px;
        transform: rotate(-45deg) scale(2.5);
    }
}
@media (min-width: 0\0) and (max-width: 730px) {
    .gauge-path {
        top: 65px;
        left: -15px;
        transform: rotate(-45deg) scale(1.9);
    }
}
.gauge-path-background,
.gauge-path-current-speed,
.gauge-path-loading {
    fill: transparent;
    stroke: transparent; 
    transform-origin: center;
    stroke-width: 9px;
    animation-duration: 650ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
}
.gauge-path-background,
.gauge-path-current-speed {
    animation-name: gauge-loading-progress;
}
.gauge-path-background {
    stroke-dasharray: 202px;
    stroke-dashoffset: 0;
}
.gauge-path-current-speed {
    stroke-dasharray: 404px;
    transition: stroke-dashoffset 50ms linear;
}
.gauge-path-loading {
    stroke-dasharray: 404px;
    stroke-dashoffset: 404px;
    animation-name: gauge-loading-fill;
    opacity: 0;
}
.gauge-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    height: 135px;
    width: 25px;
    -webkit-backface-visibility: hidden;
    transition: transform 50ms linear;
}
@media screen and (min-width: 730px) {
    .gauge-needle {
        height: 190px;
        width: 30px;
    }
}
.gauge-needle svg {
    height: 100%;
    width: 100%;
}
.speed-assembly {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: calc(250px - 25px);
    width: 250px;
    text-align: center;
    animation-name: appear;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-duration: 250ms;
}
@media screen and (min-width: 730px) {
    .speed-assembly {
        width: 350px;
        height: 315px;
    }
}
.increments-wrapper {
    position: absolute;
    z-index: 5;
    height: 100%;
    width: 100%;
    font-weight: 500;
    font-size: 0.95em;
    cursor: default;
    -webkit-font-smoothing: antialiased;
}
.increment {
    position: absolute;
    z-index: 0;
    width: 14%;
    height: 7%;
    opacity: 0.3;
    animation-duration: 250ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    animation-name: increment-flash;
    transition: opacity 0.1s linear, color 0.1s linear;
}
.increment--on {
    opacity: 1;
}
.increment-0 {
    top: 79.75%;
    left: 20.75%;
    animation-delay: 750ms;
    text-align: left;
}
.increment-1 {
    top: 60.25%;
    left: 13%;
    animation-delay: 0.8s;
    text-align: left;
}
.increment-2 {
    top: 38.25%;
    left: 15.25%;
    animation-delay: 850ms;
    text-align: left;
}
.increment-3 {
    top: 19.5%;
    left: 26.75%;
    animation-delay: 0.9s;
    text-align: left;
}
.increment-4 {
    top: 12%;
    left: 50%;
    animation-delay: 950ms;
    text-align: center;
    margin-left: -7%;
}
.increment-5 {
    top: 19.5%;
    right: 26.75%;
    animation-delay: 1s;
    text-align: right;
}
.increment-6 {
    top: 38.25%;
    right: 15.25%;
    animation-delay: 1.05s;
    text-align: right;
}
.increment-7 {
    top: 60.25%;
    right: 13%;
    animation-delay: 1.1s;
    text-align: right;
}
.increment-8 {
    top: 79.75%;
    right: 20.75%;
    animation-delay: 1.15s;
    text-align: right;
}
@keyframes increment-flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}
@keyframes gauge-loading-fill {
    0% {
        opacity: 1;
        stroke-dashoffset: 404px;
    }
    99% {
        opacity: 1;
        stroke-dashoffset: 202px;
    }
    100% {
        opacity: 0;
        stroke-dashoffset: 404px;
    }
}
@keyframes gauge-loading-progress {
    0% {
        opacity: 0;
    }
    99% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes progress-bounce {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    50% {
        transform: translate3d(950%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
.gauge-needle {
    color: #a6a6a6;
}
.stroke-primary {
    stroke: #3372e8;
}
.monochrome-primary {
    color: rgba(50, 50, 50);
}
.gauge-effect {
   color: #6a8fa5
}
.monochrome-secondary {
    color: rgba(115, 115, 115);
}
@keyframes share-button-load {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, 0);
    }
}
.speed-test-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 900px;
    transition: all 0.5s ease;
    flex-direction: column;
}
@media screen and (max-width: 730px) {
    .speed-test-container {
        flex-direction: column;
    }
}
.meter-container {
    transition: all 0.5s ease;
}
.test-results-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    max-width: 550px;
    margin-left: 5px;
    margin-right: 5px;
}
@media screen and (min-width: 730px) {
    .test-results-container {
        margin-left: 30px;
        margin-right: 10px;
    }
}
@media screen and (max-width: 730px) {
    .test-results-container {
        width: 100%;
    }
}
.stats {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
}
@media screen and (max-width: 450px) {
    .stats {
        flex-wrap: wrap;
        margin-bottom: 10px;
        justify-content: space-around;
    }
}
@media screen and (max-width: 450px) {
    .stat-hide-450 {
        display: none;
    }
}
.stat {
    text-align: center;
    min-width: 150px;
    align-items: center;
    margin-bottom: 20px;
    transform: scale(1);
}
@media screen and (max-width: 730px) {
    .stat {
        min-width: 120px;
    }
}
.stat-grow {
    flex-grow: 1;
}
@media screen and (max-width: 450px) {
    .stat-grow {
        flex-grow: 0;
    }
}
.stat_heading {
    display: flex;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
}
.stat_heading > i {
    margin-right: 5px;
    color: #0388c9;
}
.stat_value {
    font-size: 2.5rem;
}
.stats_unit {
    font-size: 1.2rem;
}
@media screen and (min-width: 428px) and (max-width: 730px) {
    .stat_value {
        font-size: 2.2rem;
    }
    .stat_unit {
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 428px) {
    .stat_heading {
        font-size: 1rem;
    }
    .stat_value {
        font-size: 2rem;
    }
    .stat_unit {
        font-size: 1.2rem;
    }
}
.selected-server {
    display: flex;
    align-items: start;
    width: 100%;
    padding-bottom: 1rem;
}
.selected-server > i {
    margin-right: 5px;
    color: #0388c9;
}
.selected-server > span {
    padding-right: 0.2rem;
}
.selected-server-info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.selected-server-info > span {
    padding-right: 0.2rem;
}
.test-again-container {
    transition: all 0.5s ease;
    width: 250px;
}
@media screen and (max-width: 730px) {
    .test-again-container {
        display: flex;
        justify-content: center;
    }
}
@media screen and (min-width: 730px) {
    .test-again-container {
        width: 350px;
    }
}
.hidden {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}
.absolute {
    position: absolute;
}
.gauge-path-background {
    stroke: #d6d6d6;
    stroke-dasharray: 404px;
    stroke-dashoffset: 204px;
}
.gauge-path-background-animation {
    animation: gauge-loading-fill 0.5s;
}
.syncing-up {
    font-size: 14px
}

.message-area {
    display: flex;
    justify-content: center;
    font-family: monospace;
    color: darkgray;
}
.host-server {
    display: flex;
    width: 100%;
}
.host-server > section {
    flex: 1;
}
.connection_setup {
    display: flex;
    justify-content: space-between;
}
.connection_setup .client, .connection_setup .server {
    display: flex;
    flex-direction: column;
}
.connection_setup i {
    font-size: 40px;
    color: #039be5;
}
.connection_setup span {
    color: #888888;
}
.speed-test-links{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: transparent;
    border: none;
    text-align: center;
    width: 85px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    color: #888888;
}
.speed-test-links:hover{
    color: #039be5;
}
.speed-test-links:disabled {
    color: #888888;
}
.vertical-align--center{
    vertical-align: middle;
}
.connectionType{
    position: relative;
    bottom: 10px;
    display: flex;
    padding-left: 20px;
}

.backbtn-speedtest{
    width: 200px;
    border: 1px solid #039be5;
    background: transparent;
    border-radius: 6px;
    margin-bottom: 20px;
}
.container--invert {
    transform: scaleX(-1);
}

.progress-bar__container {
    position: relative;
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    height: 8px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    right: 0;
    transition: width 0.1s linear;
    background: inherit;
}


.impulse {
    position: absolute;
    left: 0;
    top: 0;
    width: 10%; 
    height: 100%;
    background: linear-gradient(to right, #4da6ff 0%, #66b2ff 20%, #99ccff 40%, #cce6ff 60%, #66b2ff 80%, #4da6ff 100%);
    animation: moveImpulse 2s infinite;
}

.progress-bar.upload{
    background: linear-gradient(to right, #047A76 0%, #1F9A9A 20%, #4ADEDE 40%, #6FD8D8 60%,#8FE1E0 80%, #A0E7E5 100%);
}

.progress-bar.download {
    background: linear-gradient(to right, #ff5e62 0%, #ff7766 20%, #ff9966 40%, #ffc766 60%,#ffe166 80%, #fbd786 100%);
}
@keyframes moveImpulse {
    0% { left: 0%; }
    50% { left: 90%; } 
    100% { left: 0%; }
}

.display-metric {
    padding: 5px;
}
.display-metric h3{  
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 4px 0 5px;
}
.display-metric h4{
    font-size: 15px;
    margin: 0;
}