blockquote,
body,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
    padding: 0;
    margin: 0
}

body {
    font-size: 12px;
    font-family: "Microsoft YaHei", Arial, "\5B8B\4F53", Helvetica, sans-serif;
    -webkit-tap-highlight-color: transparent;

}



html {
    color: #333;
    background: #fff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

audio,
canvas,
video {
    display: inline-block
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

abbr,
acronym,
fieldset,
img {
    border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: 400
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 400
}

q:after,
q:before {
    content: ''
}

abbr,
acronym {
    border: 0;
    font-variant: normal
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit
}

input {
    outline: 0
}

a {
    text-decoration: none;
    color: #333
}

img {
    border: 0
}

.clear:after,
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: "\20";
    clear: both;
    height: 0
}

body,
html {
    /* background: url(../images/bgshviet.png) center center no-repeat; */
    background-size: cover;
}

.wrapper {
    width: 1000px;
    min-width: 1000px;
    margin-left: auto;
    margin-right: auto
}

.font-text h2 {
    font-weight: 700;
    font-size: 25px;
    color: white;
}

.fl {
    float: left
}

.fr {
    float: right
}


.red {
    color: red !important
}

.blue {
    color: #0048ff !important
}

.blue2 {
    color: #008aff !important
}

.yellow {
    color: #f7e18a !important
}

.orange {
    color: #ff6000 !important
}

.green {
    color: #2aa200 !important
}

img {
    vertical-align: middle
}



/*///////////////NEW///////////////////*/
#container {
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    height: 100%;
    z-index: 20;
    text-align: center;
    cursor: context-menu;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2.5rem;
    padding: 5rem 1rem 0 1rem;
}

.list-link {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10.5rem;
    margin-top: 100px;
}

.link-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.speed-item {
    position: relative;
}

.speed-item img {
    object-fit: fill;
    width: 90%;
}

.speed-item a span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    color: transparent;
    background: linear-gradient(90deg, rgba(249, 203, 82, 1) 0%, rgba(250, 255, 0, 1) 50%, rgba(255, 245, 0, 1) 100%);
    background-clip: text;
    font-weight: 400;
}

.link-item .linkok {
    background: #fff;
    padding: 0.25rem;
    border-radius: 15px;
    width: 100%;
    font-size: 20px;
    color: #252B38;
    font-weight: 700;
}

#check-speed {
    cursor: pointer;
    position: relative;
    transition: transform 0.4s ease-in-out;
}

#check-speed:hover {
    transform: scale(0.95);
}



@media screen and (max-width:768px) {
    #container {
        padding: 0 1rem 0 1rem;
        justify-content: space-around;
        gap: 0;
    }

    .list-link {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3.5rem;
        margin-top: 10rem;
        margin-bottom: 1.5rem;
    }

    .speed-item img {
        width: 100%;
    }

    .link-item .linkok {
        width: 100%;
        font-size: 13px;
    }

    .speed-item a span {
        font-size: 17px;
    }

    #check-speed {
        width: 60%;
    }

    .list-link {
        grid-template-columns: repeat(3, 1fr);
    }

    #counters #tat {
        display: none !important;
    }
}

@media screen and (max-width: 767.98px) {
    .speed-item img {
        width: 80px;
        height: 80px;
    }

    .list-link {
        gap: 1.5rem;
    }
}



/*//////////////////////////////////*/
.main {
    width: 50%;
    background-color: #ffffffc2;
    margin: 0 auto;
    padding: 50px 20px 70px 20px;
    border-radius: 14px;
    box-shadow: rgb(50 50 93 / 25%) 0px 6px 12px -2px, rgb(0 0 0 / 30%) 0px 3px 7px -3px;
}

.main a {
    display: block;
}

#link {
    margin-top: 20px;
    display: inline-block;
    font-size: 20px;
    color: #fff;
    padding: 12px 10px;
    border-radius: 9999px;
    border: 2px solid #fff;
    font-weight: 700;
    transition: all 0.5s ease-in-out;
    width: 350px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background: url(../images/bgbtn.png) no-repeat center center;
}

#link:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.animated-box {
    position: relative;
}

.animated-box:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(120deg, #00F260, #0575E6, #00F260);
    background-size: 300% 300%;
    clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 3px calc(100% - 3px), 3px 100%, 100% 100%, 100% 0%, 0% 0%);
}

.animated-box.in:after {
    animation: frame-enter 1s forwards ease-in-out reverse, gradient-animation 10s ease-in-out infinite;
}

/* motion */
@keyframes gradient-animation {
    0% {
        background-position: 15% 0%;
    }

    50% {
        background-position: 85% 100%;
    }

    100% {
        background-position: 15% 0%;
    }
}

@keyframes frame-enter {
    0% {
        clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 3px calc(100% - 3px), 3px 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    25% {
        clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    50% {
        clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, 100% 0%, 0% 0%);
    }

    75% {
        -webkit-clip-path: polygon(0% 100%, 3px 100%, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 0%, 0% 0%);
    }

    100% {
        -webkit-clip-path: polygon(0% 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 0% 100%);
    }
}


@keyframes myboder {

    0%,
    100% {
        border-color: #f7ce37;
    }

    50% {
        border-color: #fff;
    }
}



.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
    border-radius: 14px;
}

.domain {
    margin-top: -70px;
}

.url {
    width: 220px;
    text-align: center;
    color: #060400;
    font-size: 16px;
    margin-bottom: 20px
}

.url span {
    color: #f70925
}

.go {
    margin-bottom: 20px;
    display: block;
    width: 260px;
    height: 71px;
    background: url("../img/go.png") no-repeat;
    background-size: 100% auto;
}

.btn1 {
    display: block;
    width: 220px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    color: #eeeef2;
    background: #cd3216;
    border-radius: 14px;
    margin-bottom: 17px
}

.btn2 {
    display: block;
    border: 1px solid #d07102;
    width: 218px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 16px;
    color: #d07102;
    border-radius: 14px;
    margin-bottom: 35px
}


#yu {
    position: fixed;
    left: 50%;
    bottom: 0px;
    margin-left: -700px;
}

.title {
    position: relative;
}

.title a {
    width: 50%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.title a.btn22 {
    left: 66%;
}

.title a.btn11 {
    left: 42%;
}

.yu {
    position: absolute;
    width: 500px;
    margin: -100px 0 0 -140px;
}

.font-text h2 {
    margin-top: 30px;
    color: #154283;
}

.block {
    position: relative;
    margin: 0 auto 0;
    width: auto;
    height: auto;
    width: 50%;
    background-color: #ffffff;
}


.block:before,
.block:after {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094,
            #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 20s linear infinite;
}

@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.block:after {
    filter: blur(50px);
}

@media screen and (max-width:660px) {

    #yu {
        position: fixed;
        left: 50%;
        bottom: 0px;
        width: 80%;
        margin-left: -40%;
    }

    .font-text h2 {
        font-size: 20px;
    }

    .main {
        width: 85%;
    }


    .title {
        margin-bottom: 2%
    }

    .title img {
        width: 90%
    }

    .domain {

        margin-top: -40px;
    }

    .domain img {
        width: 40%;
    }

    .clear {
        width: 95%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex
    }

    #link {
        width: 90%;
    }

    .clear .left {
        float: none;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .clear .right {
        float: none;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1
    }


    .logo {
        width: 100%;
        margin-bottom: 20px;
        max-width: 250px;
    }

    .url {
        width: 100%;
        margin-bottom: 5%;
        font-size: 14px
    }

    .go {
        width: 183px;
        height: 50px;
        background-size: 183px 50px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5%
    }

    .btn1 {
        width: 160px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 3%;
        font-size: 14px
    }

    .btn2 {
        width: 160px;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px
    }

    .yu {
        position: absolute;
        width: 300px;
        margin: -50px 0 0 -100px;
    }

    .main .tbtn {
        max-width: 75%;
    }

    .title img {
        max-width: 90%;
    }
}


body {
    overflow: hidden;
}