@import url(https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600;700;800&display=swap);

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

body {
	width: 100vw;
	min-height: 100vh;
	color: #fff;
	font-size: 16px;
	font-family: -apple-system, "Helvetica Neue", Roboto, sans-serif
}

body.layout-bar {
	position: relative;
	background: url(../img/bg.png) top/cover no-repeat;
	background-color: #0e0e16
}

body.layout-bar::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10vw;
	background: url(../img/navigation/layout-bar/bottom-bg.png) bottom/cover no-repeat;
	z-index: 8
}

@media screen and (max-width:641px) {
	body.layout-bar {
		background-size: cover;
		background-position: top;
		background-image: url(../img/bg-h5.png)
	}
}

body.layout-bar header {
	padding-top: 30px;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 350px;
	overflow: hidden
}

@media screen and (max-width:641px) {
	body.layout-bar header {
		height: 245px
	}
}

body.layout-bar header .dec {
	width: 23%;
	top: 3%;
	position: absolute;
	display: block;
	margin: 0 auto;
	margin-bottom: -120px;
	left: 50%;
	transform: translate(-50%, 0)
}

@media screen and (max-width:641px) {
	body.layout-bar header .dec {
		width: 75%;
		top: 12%
	}
}

body.layout-bar .block-area {
	margin: 0 auto;
	padding: 40px 40px 20px;
	position: relative;
	max-width: 1280px;
	border-radius: 20px 20px 0 0;
	border: 1px solid;
	border-image-source: linear-gradient(180deg, #262634 0, rgba(38, 38, 52, 0) 53.43%);
	background: linear-gradient(180deg, rgba(20, 20, 28, .9) 0, #14141c);
	box-shadow: inset 0 4px 5px -7.2px #fff;
	backdrop-filter: blur(3px);
	z-index: 9
}

body.layout-bar .block-area .logo {
	position: relative;
	height: 70px;
	margin: 0 auto;
	top: -40px;
	display: block
}

@media screen and (max-width:641px) {
	body.layout-bar .block-area {
		padding: 12px 12px 40px;
		background: linear-gradient(180deg, rgba(20, 20, 28, .2) 10%, rgba(38, 38, 52, 0));
		box-shadow: inset 0 4px 5px -7.2px #fff
	}

	body.layout-bar .block-area .logo {
		height: 45px;
		top: -26px
	}
}

body.layout-bar .block-area #lineCtrl {
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-family: Kanit, sans-serif
}

body.layout-bar .block-area #lineCtrl .progress-content {
	width: calc(50% - 16px / 2)
}

@media screen and (max-width:1000px) {
	body.layout-bar .block-area #lineCtrl .progress-content {
		padding: 4px 7px;
		margin-right: 0 !important;
		width: 100%
	}
}

body.layout-bar .block-area .feature-items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	font-family: Kanit, sans-serif;
	font-weight: 400
}

body.layout-bar .block-area .feature-item {
	position: relative;
	width: calc(100% / 4 - 20px * 3 / 4)
}

body.layout-bar .block-area .feature-item:not(:last-child) {
	margin-right: 20px
}

@media screen and (max-width:1000px) {
	body.layout-bar .block-area .feature-item {
		margin: 0 !important;
		width: calc(100% / 2 - 10px / 2)
	}

	body.layout-bar .block-area .feature-item:not(:nth-child(2n)) {
		margin-right: 10px !important
	}
}

body.layout-bar .block-area .feature-item img {
	width: 100%
}

body.layout-bar .block-area .feature-item p {
	position: absolute;
	font-size: 20px;
	left: 50%;
	bottom: 8%;
	transform: translateX(-50%);
	color: #fff
}

@media screen and (max-width:641px) {
	body.layout-bar .block-area .feature-item p {
		bottom: 10%;
		font-size: 12px
	}
}

body.layout-bar .speed-bar {
	margin-bottom: 16px;
	padding: 18px 13px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 88px;
	border-radius: 12px;
	background: #20212c;
	border: .6px solid #45486299;
	text-decoration: none
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar {
		padding: 3px;
		width: 100%;
		height: 54px;
		margin-bottom: 8px
	}
}

body.layout-bar .speed-bar .title {
	padding: 15px 20px;
	position: relative;
	color: #56586b;
	font-size: 22px;
	font-weight: 700;
	width: 54px;
	height: 54px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center
}

body.layout-bar .speed-bar .title.bg-num-2 {
	background-size: 105%
}

body.layout-bar .speed-bar .title.bg-num-3 {
	background-position: center 2px
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .title.bg-num-3 {
		background-position: center 7px
	}
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .title {
		padding: 7px 13px;
		width: 45px;
		font-size: 18px;
		font-weight: 500;
		font-weight: 600
	}
}

body.layout-bar .speed-bar .title span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

body.layout-bar .speed-bar.very-fast {
	background: #262835
}

body.layout-bar .speed-bar.very-fast .progress-bar {
	background: linear-gradient(90deg, #198153 0, #41da97 100%)
}

body.layout-bar .speed-bar.very-fast .speed-content::after {
	width: 68px;
	background-image: url(../img/navigation/layout-bar/speed-fastest.png);
	background-size: contain;
	opacity: 1
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar.very-fast .speed-content::after {
		width: 50px
	}
}

body.layout-bar .speed-bar.very-fast .val-box .val {
	color: #40d895
}

body.layout-bar .speed-bar.very-fast .link {
	background: #f9ce1e;
	border: 1px solid rgba(255, 255, 255, .6)
}

body.layout-bar .speed-bar.very-fast .link .icon {
	opacity: 1
}

body.layout-bar .speed-bar.very-fast .link .hot {
	display: block
}

body.layout-bar .speed-bar.fast .progress-bar {
	background: linear-gradient(90deg, #0177ff 0, #01abff 100%)
}

body.layout-bar .speed-bar.fast .speed-content::after {
	width: 56px;
	background-image: url(../img/navigation/layout-bar/speed-great.png);
	background-size: contain;
	opacity: 1
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar.fast .speed-content::after {
		width: 42px
	}
}

body.layout-bar .speed-bar.fast .val-box .val {
	color: #01abff
}

body.layout-bar .speed-bar.slightly-slow .progress-bar {
	background: linear-gradient(90deg, #f40 0, #ffb701 100%)
}

body.layout-bar .speed-bar.slightly-slow .speed-content::after {
	width: 76px;
	background-image: url(../img/navigation/layout-bar/speed-notbad.png);
	background-size: contain;
	opacity: 1
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar.slightly-slow .speed-content::after {
		width: 56px
	}
}

body.layout-bar .speed-bar.slightly-slow .val-box .val {
	color: #ff6e20
}

body.layout-bar .speed-bar.slow .progress-bar {
	background: linear-gradient(90deg, #ce001f 0, #ff001c 51.68%, #ff4451 100%)
}

body.layout-bar .speed-bar.slow .speed-content::after {
	width: 71px;
	background-image: url(../img/navigation/layout-bar/speed-slowest.png);
	background-size: contain;
	opacity: 1
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar.slow .speed-content::after {
		width: 52px
	}
}

body.layout-bar .speed-bar.slow .val-box .val {
	color: #ff3033
}

body.layout-bar .speed-bar .speed-content {
	padding-left: 15px;
	padding-right: 20px;
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: calc(100% - 243px);
	height: 100%;
	border-radius: 35px
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .speed-content {
		padding-left: 7px;
		padding-right: 5px;
		width: calc(100% - 164px)
	}
}

body.layout-bar .speed-bar .speed-content::after {
	position: absolute;
	bottom: 3px;
	left: 100%;
	display: block;
	height: 28px;
	content: '';
	background-repeat: no-repeat;
	background-size: cover;
	transform: translateX(-100px);
	opacity: 0;
	transition: opacity ease-in-out .5s
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .speed-content::after {
		bottom: 12px;
		height: 20px;
		transform: translateX(-70px)
	}
}

body.layout-bar .speed-bar .speed-content .progress {
	margin-bottom: 6px;
	position: relative;
	width: 100%;
	height: 8px;
	border-radius: 10px;
	background: #181922
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .speed-content .progress {
		margin-top: 3px;
		margin-bottom: 4px;
		height: 5px
	}
}

body.layout-bar .speed-bar .speed-content .progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	border-radius: 5px 0 0 5px;
	transition: .5s
}

body.layout-bar .speed-bar .speed-content .info {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%
}

body.layout-bar .speed-bar .speed-content .info .text {
	font-weight: 600;
	font-size: 16px;
	flex-shrink: 0
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .speed-content .info .text {
		font-size: 14px
	}
}

@media screen and (max-width:321px) {
	body.layout-bar .speed-bar .speed-content .info .text {
		font-size: 12px
	}
}

body.layout-bar .speed-bar .speed-content .info .domain {
	padding-right: 90px;
	overflow: hidden;
	width: 220px;
	color: #56586b;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .speed-content .info .domain {
		width: 160px;
		font-size: 14px
	}
}

@media screen and (max-width:321px) {
	body.layout-bar .speed-bar .speed-content .info .domain {
		font-size: 12px
	}
}

body.layout-bar .speed-bar .link {
	position: relative;
	padding: 0 16px 4px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	border: .5px solid transparent;
	border-radius: 30px;
	color: #fff;
	text-decoration: none;
	background: #343756;
	font-size: 18px;
	font-style: italic;
	font-weight: 500
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .link {
		padding: 1px 10px;
		font-size: 16px
	}
}

body.layout-bar .speed-bar .link .icon {
	position: relative;
	top: 2px;
	margin-left: 7px;
	width: 12px;
	opacity: .5;
	-o-object-fit: cover;
	object-fit: cover
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .link .icon {
		top: 0;
		width: 8px
	}
}

body.layout-bar .speed-bar .link .hot {
	position: absolute;
	height: 35px;
	top: -16px;
	right: -8px;
	display: none
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .link .hot {
		top: -10px;
		right: -4px;
		height: 24px
	}
}

body.layout-bar .speed-bar .link:hover {
	background: #1e1f28;
	transition: filter ease-in-out .5s
}

body.layout-bar .speed-bar .link:hover:before {
	position: absolute;
	content: '';
	border: .8px solid #fffFFF66;
	height: 100%;
	width: 100%;
	border-radius: 30px
}

body.layout-bar .speed-bar .link:hover .icon {
	opacity: .8
}

body.layout-bar .speed-bar .val-box {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	margin: auto 20px auto 0;
	color: #fff;
	width: 100.5px
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .val-box {
		width: 65px;
		font-weight: 400;
		margin: auto 10px auto 0
	}
}

body.layout-bar .speed-bar .val-box .val {
	display: inline;
	font-weight: 500;
	font-size: 40px;
	margin-right: 4px
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .val-box .val {
		font-size: 24px
	}
}

@media screen and (max-width:321px) {
	body.layout-bar .speed-bar .val-box .val {
		font-size: 20px
	}
}

body.layout-bar .speed-bar .val-box .ms {
	color: #56586B99;
	font-size: 18px;
	font-weight: 300
}

@media screen and (max-width:641px) {
	body.layout-bar .speed-bar .val-box .ms {
		font-size: 14px
	}
}

body.layout-bar .online-kf {
	position: fixed;
	right: 100px;
	bottom: 100px;
	width: 80px;
	height: 80px;
	z-index: 99
}

@media screen and (max-width:641px) {
	body.layout-bar .online-kf {
		right: 20px;
		bottom: 20px;
		width: 50px;
		height: 50px
	}
}

body.layout-bar .online-kf img {
	max-width: 100%
}

