.container-header { position: fixed; transition: all 0.5s; top: 0; left: 0; width: 100%; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, 0.1); --nav-color: #fff; } .container-header .default { display: none; } .container-header .white { display: block; } .header { width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 2rem 1rem; position: relative; z-index: 999; } @media (min-width: 1024px) { .header { padding: 0; } } .header .logo { width: 10rem; } @media (min-width: 768px) { .header .logo { width: 8rem; } } .header .logo a, .header .logo img { width: 100%; } .header-navs { display: none; } @media (min-width: 1024px) { .header-navs { display: flex; flex: 1; justify-content: flex-end; color: #fff; margin-right: 2rem; } .header-navs .nav-bar { position: relative; margin: 0 1.1rem; color: var(--nav-color); } .header-navs .nav-bar:hover .nav-bar_group { display: block !important; } .header-navs .nav-bar.hover .nav-bar-head,.header-navs .nav-bar:hover .nav-bar-head { border-bottom: 3px solid #2a76bf; } .header-navs .nav-bar-head { height: 4rem; display: block; line-height: 4rem; font-size: 0.8rem; } .header-navs .nav-bar-head .iconfont { display: none; } .header-navs .nav-bar_group { position: absolute; top: 100%; left: 0%; margin-left: 50%; transform: translate(-50%); background-color: #fff; color: #333; display: none; } .header-navs .nav-bar_group a { display: block; padding: 0.3rem 1rem; line-height: 1.5rem; text-align: center; font-size: 0.7rem; white-space: nowrap; } .header-navs .nav-bar_group a:hover { background-color: #2a76bf; color: #fff; } } .header-navs-open { display: block; position: absolute; z-index: 50; top: 100%; left: 0; width: 100%; background: #fff; border-top: 1px solid rgba(204, 204, 204, 0.3411764706); } .header-navs-open .nav-bar { padding: 0 1rem; } .header-navs-open .nav-bar-head { border-bottom: 1px solid rgba(204, 204, 204, 0.3411764706); display: flex; width: 100%; padding: 1.4rem 1rem; font-size: 1.2rem; color: #333; justify-content: space-between; } .header-navs-open .nav-bar-head .iconfont { transition: all 0.3s; font-size: 1rem; } .header-navs-open .nav-bar_group { display: none; padding: 0 1rem; font-size: 1.1rem; } .header-navs-open .nav-bar_group .group_link { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(204, 204, 204, 0.3411764706); } .header-navs-open .active .nav-bar_group { display: block; } .header-navs-open .active .iconfont { transform: rotate(90deg); } .header-btns { display: flex; gap: 1rem; } .search-btn, .nav-menu-btn { cursor: pointer; } .search-btn .iconfont, .nav-menu-btn .iconfont { font-size: 2.5rem; transition: all 0.3s; color: var(--nav-color); } @media (min-width: 1024px) { .search-btn .iconfont, .nav-menu-btn .iconfont { font-size: 1.2rem; } } .search-btn .icon-sousuo1, .nav-menu-btn .icon-sousuo1 { font-size: 1.3rem; } @media (min-width: 1024px) { .search-btn .icon-sousuo1, .nav-menu-btn .icon-sousuo1 { font-size: 1rem !important; } } @media (min-width: 1024px) { .nav-menu-btn { display: none; } } .languages-btns { display: flex; position: relative; } .languages-btns .languages-head { color: var(--nav-color); display: flex; align-items: center; gap: 0.3rem; } @media (min-width: 1024px) { .languages-btns .languages-head { gap: 0.2rem; } } .languages-btns .languages-head .laber { font-size: 1.4rem; } @media (min-width: 1024px) { .languages-btns .languages-head .laber { font-size: 0.8rem; } } .languages-btns .languages-head .icon-yuyan { font-size: 1.8rem; } @media (min-width: 1024px) { .languages-btns .languages-head .icon-yuyan { font-size: 1rem; } } .languages-btns .languages-head .icon-arrow-down { font-size: 1.5rem; } @media (min-width: 1024px) { .languages-btns .languages-head .icon-arrow-down { font-size: 1rem; } } .languages-btns .languages { position: absolute; top: 100%; background-color: #fff; width: 100%; display: none; margin-top: 1rem; } .languages-btns .languages-active { display: block; } .languages-btns .languages a { display: block; text-align: center; padding: 0.5rem 0; margin: 0.5rem 0; font-size: 1.5rem; } @media (min-width: 1024px) { .languages-btns .languages a { font-size: 0.8rem; } } .sacrch-box { position: absolute; width: 100%; top: 100%; left: 0; background-color: #fff; display: flex; align-items: center; padding: 1rem; gap: 1rem; height: 5rem; display: none; } .sacrch-box input { width: 75%; height: 100%; border: 1px solid #ccc; padding: 3px; background-color: transparent; border-radius: 5px; outline: 0; font-size: 1.5rem; } .sacrch-box button { flex: 1; height: 100%; color: #fff; background-color: #2a76bf; border-radius: 5px; font-size: 1.5rem; } @media (min-width: 1024px) { .sacrch-box { padding: 0.5rem; width: 25rem; height: 3rem; left: auto; right: 0; } .sacrch-box input { font-size: 0.8rem; } .sacrch-box button { font-size: 1rem; } } .sacrch-box-active { display: flex; } .header-bg { --nav-color: #222222; background-color: #fff; transition: all 0.5s; } .header-bg .default { display: block; } .header-bg .white { display: none; } .footer-container { background-color: #202020; --footer-color: #fff; color: var(--footer-color); } .footer-container .footer { width: var(--max-width); margin: 0 auto; } .footer-one { padding: 2.5rem 1rem 2rem; } @media (min-width: 768px) { .footer-one { display: flex; justify-content: space-between; align-items: center; } } @media (min-width: 768px) { .footer-one .bottom-links { display: flex; } } .footer-one .links { display: none; } @media (min-width: 768px) { .footer-one .links { display: block; margin-right: 3rem; } } @media (min-width: 1024px) { .footer-one .links { margin-right: 4rem; } } @media (min-width: 1280px) { .footer-one .links { margin-right: 5rem; } } .footer-one .links .title { font-size: 1.8rem; font-weight: 400; color: #fff; } @media (min-width: 768px) { .footer-one .links .title { font-size: 0.8rem; } } .footer-one .links .icon { width: 1.5rem; height: 3px; background: #2a76bf; margin-top: 1.8rem; display: block; } @media (min-width: 768px) { .footer-one .links .icon { margin-top: 1rem; } } .footer-one .links .box { color: #999; font-size: 1.3rem; line-height: 3rem; margin-top: 2.5rem; display: flex; flex-direction: column; } @media (min-width: 768px) { .footer-one .links .box { margin-top: 1rem; line-height: 1.6rem; font-size: 0.75rem; } } .footer-one .links .a { display: flex; } .footer-one .links .laber { flex-shrink: 0; } .footer-one .contact { display: block; } @media (min-width: 768px) { .footer-one { padding: 2.5rem 0 2rem; } } .footer-one .code-img { display: flex; flex-direction: column; align-items: center; margin-top: 3rem; } @media (min-width: 768px) { .footer-one .code-img { margin-top: 0rem; } } .footer-one .code-img img { width: 40%; } @media (min-width: 768px) { .footer-one .code-img img { width: 100%; } } @media (min-width: 768px) { .footer-one .code-img { width: 7rem; } } .footer-one .code-img span { color: #999; font-size: 1.4rem; margin-top: 1.5rem; } @media (min-width: 768px) { .footer-one .code-img span { margin-top: 1rem; font-size: 0.7rem; } } .footer-tow { color: #999; display: flex; justify-content: space-between; align-items: center; flex-direction: column; font-size: 1rem; padding: 2rem; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } @media (min-width: 768px) { .footer-tow { font-size: 0.7rem; padding: 1rem 0; flex-direction: row; } } .footer-tow .copyright { text-align: center; line-height: 2.2rem; } @media (min-width: 768px) { .footer-tow .copyright { line-height: 1.2rem; } } .footer-tow .record { display: flex; align-items: center; justify-content: center; font-size: 1rem; } @media (min-width: 768px) { .footer-tow .record { font-size: 0.7rem; } } .footer-tow .record img { width: 0.8rem; margin-right: 0.5rem; } .one-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .clearfix:after, .clearfix:before { clear: both; content: ''; display: block; height: 0; line-height: 0; overflow: hidden; } body, html { --root-font-size: 11px; --max-width: 100%; --root-base-size: 8px; --root-padding-x: 1rem; font-size: var(--root-font-size, 10px); } @media (min-width: 640px) { body, html { --root-font-size: 12px; --max-width: 100%; --root-base-size: 10px; font-size: var(--root-font-size, 12px); } } @media (min-width: 768px) { body, html { --root-padding-x: 0px; --root-base-size: 12px; --root-font-size: 14px; --max-width: 100%; --max-width2: 95%; font-size: var(--root-font-size, 14px); } } @media (min-width: 1024px) { body, html { --root-font-size: 16px; --root-base-size: 14px; --max-width: 1024px; --max-width2 : 600px; font-size: var(--root-font-size, 16px); } } @media (min-width: 1280px) { body, html { --root-base-size: 16px; --root-font-size: 18px; --max-width: 1200px; --max-width2:800px; font-size: var(--root-font-size, 18px); } } @media (min-width: 1536px) { body, html { --root-font-size: 20px; --root-base-size: 18px; --max-width: 1400px; --max-width2:1000px; font-size: var(--root-font-size, 20px); } }