@charset "UTF-8";
/*------------------------------------------------------------
	Default
------------------------------------------------------------*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
button,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 1em;
}

body,
table,
input,
textarea,
select,
option,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

table,
input,
textarea,
select,
option {
    line-height: 1.1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

:focus {
    outline: 0;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

img {
    vertical-align: top;
}

* {
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.container {
    margin: 0 auto;
    text-align: left;
    max-width: 1000px;
    padding: 0 24px;
}

.main-bg {
    /* background: url('../images/speedtest.jpg') no-repeat; */
    background: #fff;
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
}

.main-bg .checking {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-bg .checking .checking-content {
    width: 200px;
    height: 200px;
    border: 4px solid #ccc;
    border-radius: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.main-bg .checking .checking-content::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: -4px;
    left: -4px;
    border-radius: 200px;
    border-top: 4px solid #002287;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #002287;
    animation: loader 1.5s linear infinite;
}

.main-bg .checking .checking-content .logo {
    width: 70%;
    padding: 8px;
    background: #002287;
    border-radius: 8px;
}

.main-bg .checking .checking-content .logo img {
    width: 100%;
}

.main-bg .checking .checking-content p {
    font-size: 14px;
    color: #181818;
}

.main-bg .navbar-brand {
    padding: 24px 0;
    display: block;
}

.container .title-page {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    font-style: italic;
    margin-top: 40px;
    margin-bottom: 16px;
}

.domain-list {
    width: 100%;
    height: 100%;
    padding: 1rem;
    z-index: 2;
}

.domain-list .speed-line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
    border-radius: 0.5rem;
    padding: 0.6rem 0.5rem;
    margin-bottom: 2rem;
}

.domain-list .speed-line .speed-label {
    width: 260px;
    min-width: 220px;
    color: #dead43;
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
}

.domain-list .speed-line .speed-info {
    background: #363649;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 35px;
    z-index: 3;
    margin-right: -10px;
    height: 36px;
}

.domain-list .speed-line .speed-info img {
    width: 60px;
    height: 60px;
}

.domain-list .speed-line .speed-num {
    width: 8%;
    font-weight: bold;
    border-radius: 50%;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.domain-list .speed-line .speed-num .speed-list {
    width: 46px;
    height: 46px;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
}

.domain-list .speed-line .speed-num::before {
    position: absolute;
    content: '';
    border-radius: 200px;
    background: #17182d;
    background-image: linear-gradient(to right, transparent 50%, #c38816 0);
    border-radius: 50%;
    height: 68px;
    width: 68px !important;
    position: absolute;
    left: -4px;
    top: -4px;
}

.domain-list .speed-line .speed-list::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    border: 5px solid #17489f;
    left: -12%;
    top: -12%;
    border-radius: 50%;
}

.domain-list .speed-line .speed-num .speed-rotate {
    position: absolute;
    display: block;
    margin-left: 50%;
    height: 68px;
    width: 34px;
    border-radius: 0 100% 100% 0 / 50%;
    transform-origin: left;
    left: 0;
    top: -4px;
    background-image: linear-gradient(to right, #c38816, #fde675);
    transition: 1s all ease-in-out;
}

.domain-list .speed-line .speed-num .speed-list.sp-good {
    color: #17489f;
}

.domain-list .speed-line .speed-num .speed-list.sp-good::after {
    border: 5px solid #17489f;
}
.domain-list .speed-line .speed-num .speed-list.sp-good small {
    color: #17489f;
}

.domain-list .speed-line .speed-num .speed-list.sp-normal {
    color: #82439a;
}

.domain-list .speed-line .speed-num .speed-list.sp-normal::after {
    border: 5px solid #82439a;
}
.domain-list .speed-line .speed-num .speed-list.sp-normal small {
    color: #82439a;
}

.domain-list .speed-line .speed-num .speed-list.sp-bad {
    color: #363649;
}

.domain-list .speed-line .speed-num .speed-list.sp-bad ::after {
    border: 5px solid #363649;
}
.domain-list .speed-line .speed-num .speed-list.sp-bad small {
    color: #363649;
}

.domain-list .speed-line .speed-link {
    width: 15%;
    height: 100%;
    text-align: center;
    background: url('../images/truycap.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #d09e56;
    font-weight: bold;
    color: #000;
    margin-left: 20px;
    max-width: 140px;
    padding: 7px 10px;
    text-decoration: none;
}
.domain-list .speed-line .speed-link:hover {
    color: #fff;
}

.domain-list .speed-line .speed-process {
    position: relative;
    width: 40%;
    height: 2.2rem;
    border-radius: 14px;
    line-height: 1.8;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background: #fff;
    padding: 5px 10px;
    display: block;
    z-index: 0;
    padding-right: 40px;
}

.domain-list .speed-line .speed-process .bar-speed {
    padding-left: 10px;
    width: 98%;
    position: relative;
    height: 100%;
}
.domain-list .speed-line .speed-process .speed-run {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: inherit;
    border-radius: 8px;
    transition: all 2s cubic-bezier(0.22, 0.61, 0.36, 1);
    height: 60%;
    background-image: linear-gradient(to right, #efc66b, #fffece, #ffe07f, #6e3c02, #cb9f47);
    transition: 1s all ease-in-out;
    width: 0;
}

.speedtest-reload {
    position: relative;
    text-align: center;
    width: 400px;
    margin: 0 auto;
    border-radius: 10px 15px 10px 15px;
    padding: 10px 26px 10px;
    background-image: linear-gradient(to bottom, #fffece, #efc66b);
    transform: skew(-20deg);
    cursor: pointer;
}

.speedtest-reload:hover {
    cursor: pointer;
}

.speedtest-reload:hover span {
    color: #fff;
}

.speedtest-reload span {
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.35s ease-in-out;
    color: #000;
}

.speedtest-reload .loading-emu {
    position: absolute;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    opacity: 0;
}
.speedtest-reload .loading-emu .lds-ripple {
    position: relative;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.speedtest-reload .loading-emu .lds-ripple div {
    position: absolute;
    border: 6px solid #c70039;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.speedtest-reload .loading-emu .lds-ripple div:nth-child(2) {
    -webkit-animation-delay: -0.8s;
    -moz-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@keyframes lds-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 4.8rem;
        height: 4.8rem;
        opacity: 0;
    }
}

@media screen and (max-width: 800px) {
    .container .title-page {
        font-size: 20px;
        margin-top: 28px;
    }
    .domain-list {
        padding: 16px 0;
    }
    .domain-list .speed-line .speed-label {
        width: 180px;
    }
}

@media screen and (max-width: 720px) {
    .main-bg .navbar-brand {
        padding: 16px 0;
    }
    .main-bg .navbar-brand img {
        width: 160px;
    }
    .domain-list .speed-line .speed-link {
        flex: 0 0 100px;
    }
    .domain-list .speed-line .speed-process {
        display: none;
    }
    .domain-list .speed-line .speed-label {
        width: 120px;
    }
    .domain-list .speed-line .speed-num::before {
        left: -5px;
    }
}

@media screen and (max-width: 520px) {
    .container {
        padding: 0 16px;
    }
    .container .title-page {
        font-size: 18px;
        margin-top: 16px;
        margin-bottom: 12px;
    }
    .domain-list .speed-line .speed-info > img {
        display: none;
    }
    .speedtest-reload {
        width: 300px;
    }
}

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