:root {
    --primary-color: #fee434;
    /* --nav-height: 12.5%; */
    --nav-height: 80px;
}

* {
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* 标准语法 */
}

html {
    font-size: 16px;
    /* 默认字体大小 */
}

html,
body {
    width: 100%;
    height: 100%;
}

.absolute {
    position: absolute;
}

.pointer {
    cursor: pointer;
}

/* 禁止滚动的样式 */
.no-scroll {
    overflow: hidden;
}

/* 超过文本省略 */
.overFlowEllipsis {
    overflow: hidden;
    /*超出部分隐藏*/
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    white-space: nowrap;
    /*规定段落中的文本不进行换行 */
}

.wrapper {
    position: relative;
}

.bg-img {
    /* position: absolute; */
    /* filter: brightness(.6) contrast(100%); */
    object-fit: fill;
    width: 100%;
}

main {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.main-setion {
    height: 50vw;
    width: 100%;
    position: relative;
    /* background-color: #fff; */
}

/* 首页 */
.main-index {
    top: 0;
}
.logo{
    position: absolute;
    width: 23vw;
    left: 0%;
    top: 0%;
}
.nav-left {
    background: url(../img/nav-bg.png) no-repeat;
    background-size: 100% 100%;
    width: 50%;
    height: 4vw;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    z-index: 100;
}

.nav-i {
    height: 100%;
    flex: 1;
    font-size: .1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2%;
    text-align: center;
    transition: all .2s ease-in-out;
}

.activation {
    font-size: .13rem;
    text-shadow: 2px 0 10px rgb(4, 49, 104);
    background: url(../img/nav-active.png) no-repeat;
    background-size: 100% 100%;
    font-weight: 600;
}

.nav-right {
    width: 15%;
    height: 4vw;
    position: absolute;
    right: 80px;
    top: 20px;
    display: flex;
    justify-content: space-between;
    transition: all .2s ease-in-out;
}

.nav-right>img {
    cursor: pointer;
}

.lg-list {
    position: absolute;
    width: 50%;
    height: 10vw;
    left: -29.2%;
    bottom: -240%;
    background: url(../img/lg-bg.png) no-repeat;
    background-size: 100% 100%;
    font-size: .06rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 5% 0;
    box-sizing: border-box;
    display: none;
}

.lg-item {
    width: 80%;
    height: 25%;
    color: #3970ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding: 0 2%;
    box-sizing: border-box;
}

.lg-item-active {
    color: #fff;
    /* background-color: #3970ff; */
    background: radial-gradient(#3970ff 0%, #2994ff 100%);
    border-radius: 6px;
}

.sc-box {
    width: 60%;
    height: 15vw;
    background: url(../img/index-sc-bg.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.qr-code-bg {
    width: 17%;
    height: 65%;
    background: url(../img/QrCode.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}
.qr-code{
    position: absolute;
    width: 82%;
    height: 86%;
    left: 12%;
    top: 9%;
}

.sc-main {
    width: 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sc-main>img {
    width: 100%;
    cursor: pointer;
}

.teen {
    width: 12%;
}

/* 新闻 */
.main-news {
    margin-top: 12%;
}

.news-swiper-container {
    position: absolute;
    top: 36%;
    left: 12%;
    width: 36%;
    height: 43%;
    overflow: hidden;
}

.news-more {
    position: absolute;
    top: 33.5%;
    right: 14%;
    width: 24%;
    height: 6%;
    font-size: .2rem;
    line-height: .2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: end;
    color: #5096f8;
}

.news-more img {
    height: 100%;
}


.news-swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-swiper-button-prev,
.news-swiper-button-next {
    position: absolute;
    z-index: 99;
    cursor: pointer;
    width: 4vw;
    top: 53%;
}

.news-swiper-button-prev {
    left: 9.2%
}

.news-swiper-button-next {
    left: 46.9%;
}

.news-list {
    position: absolute;
    top: 43%;
    right: 15%;
    width: 32%;
    height: 36%;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: .09rem;
}

.news-item {
    cursor: pointer;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

/* .news-item::after{
    content: '';
    width: 100%;
    height: 10px;
    position: absolute;
    z-index: 999;
    background: url('../images/news-line.png');
    bottom: 0;
} */
.news-item>div{
    height: 40%;
    display: flex;
    align-items: center;
}

.news-item-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item img{
    flex-shrink: 0;
    object-fit: contain;
    height: 90%;
    margin-right: 10px;
}
.news-item-time {
    flex-shrink: 0;
}

/* 数码兽图鉴 */
.main-illustrated {
    margin-top: 4.5%;
}

.stage {
    position: absolute;
    top: 40%;
    left: 15%;
    /* background-color: #fff; */
    width: 10vw;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.stage-item {
    /* background-color: #865454; */
    width: 100%;
    padding-left: 30%;
    box-sizing: border-box;
    height: 15%;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.08rem;
    cursor: pointer;
    transition: all .1s ease-in-out;
}

.stage-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-45%);
    width: 2vw;
    height: 2vw;
    background: url(../img/stage-btn.png) no-repeat;
    background-size: 100% 100%;
}

.stage-item-active {
    font-size: 0.12rem;
    color: #285aed;
    font-weight: 600;
    font-style: italic;
}

.stage-item-active::before {
    background: url(../img/stage-btn-click.png) no-repeat;
    background-size: 100% 100%;
}

.digimon {
    width: 28%;
    object-fit: contain;
    position: absolute;
    left: 24%;
    top: 35%
}

.digimon-un::after{
    content: '';
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    clip-path: polygon(1% 1%, 67% 1%, 77% 10%, 98% 10%,100% 12%,100% 99%,33% 99%,23% 90%,2% 90%,0% 88%);
    background-color: rgba(0,0,0,.7);
}

.digimon-name{
     position: absolute;
    left: 52%;
    top: 35%;
    max-width: 30%;
    width: 20%;
    /* height: 20%; */
    
}
.ill-name-r{
    position: absolute;
    left: 82%;
    top: 39%;
    width: 1%;
}
.digimon-list {
    width: 33%;
    position: absolute;
    right: 18%;
    bottom: 8%;
    height: 20%;
    /* display: flex;
    align-items: center;
    gap:5%; */
    /* justify-content: space-between; */
}

.digimon1,.digimon2,.digimon3,.ill-btn-box{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}

.digimon1{
    left: 0%;
}
.digimon2{
    left: 40%;
}
.digimon3{
    left: 70%;
}

.digimon-item {
    height: 80%;
    cursor: pointer;
    position: absolute;
    
}

.digimon-item>img {
    height: 100%;
}

.ill-btn-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    left: 28%;
}

.ill-btn-box img{
    height: 30%;
    object-fit: contain;
}


/* 特色展示 */
.main-feature {
    margin-top: 14.5%;
}

.feature-swiper-container {
    position: absolute;
    left: 0%;
    top: 16%;
    width: 75%;
    height: 80%;
    overflow: hidden;
}

.feature-swiper-container .swiper-slide {
    position: relative;
    width: 30%;
    transition: 300ms;
    transform: scale(0.8);
    opacity: 0;
}

.feature-swiper-container .swiper-slide img {
    width: 200%;
}

.feature-swiper-container .swiper-slide-active,
.swiper-slide-duplicate-active {
    transform: scale(1);
    opacity: 1;
}

.feature-swiper-container .swiper-slide-prev {
    opacity: 1;
}

.feature-swiper-container .swiper-slide-prev img {
    filter: brightness(0.5) contrast(100%);
}

.feature-swiper-container .swiper-slide-next {
    z-index: -1;
}

/* 特色展示轮播索引提示 */
.swiper-footer {
    position: absolute;
    bottom: 10%;
    width: 100%;
    height: 10%;
    display: flex;
    gap: 3%;
    z-index: 99;
    padding-left: 48.5%;
}

.feature-swiper-pagination {
    width: 28% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-swiper-container .swiper-pagination-bullet {
    width: 3vw;
    height: 1vw;
    background: url(../img/feature-pag.png) no-repeat;
    background-size: contain;
    opacity: 1;
    border-radius: unset;
}

.feature-swiper-container .swiper-pagination-bullet-active {
    width: 6vw;
    background: url(../img/feature-pag-click.png) no-repeat;
    background-size: contain;
}

.feature-swiper-button-next,
.feature-swiper-button-prev {
    cursor: pointer;
    width: 3vw;
}

/* 页脚 */
.main-footer {
    width: 100%;
    height: 10vw;
    bottom: 0;
    font-size: 0.08rem;
    color: #fff;
}

.footer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 50%;
}

.follow {
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
}

.follow>* {
    flex-shrink: 0;
}

.follow>img {
    height: 100%;
    cursor: pointer;
}

.footer-href {
    font-size: 0.06rem;
    margin-top: 2%;
    text-align: center;
    cursor: pointer;
}

/* 侧边媒体弹窗 */
.asideDialog {
    width: 70px;
    height: 180px;
    position: fixed;
    z-index: 101;
    right: 0;
    bottom: 40%;
    background: url(../img/aside-btn-bg.png) no-repeat;
    background-size: contain;
    transition: all 0.5s ease-in-out;
    transform: translateX(63px);
}

.asideDialog-btn {
    width: 25px;
    position: absolute;
    left: -18px;
    top: 25px;
}

.asideDialog-main {
    position: absolute;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.asideDialog-main>img {
    cursor: pointer;
    width: 50%;
}



/* dialog */

body .home-dialog {
    background: none;
    box-shadow: unset;
    width: 40vw;
    height: 25vh;
}

body .home-dialog .layui-layer-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: unset;
    background: url(../img/zh/dialog-bg.png) no-repeat;
    background-size: contain;
}

body .home-dialog .layui-layer-content::before {
    /* content: "";
    position: absolute;
    width: 110%;
    height: 110%;
    top: -10%;
    left: -5%;
    background: url(../img/zh/dialog-bg.png) no-repeat;
    background-size: 100% 100%;
    background-position: -10% -10%; */
}

body .home-dialog .dialog-content-self-title {
    position: absolute;
    z-index: 99;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 240px;
    font-weight: 900;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
}

body .home-dialog .dialog-content-self {
    position: absolute;
    z-index: 99;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5%;
}

.home-dialog .dialog-content-self>img {
    height: 40%;
    cursor: pointer;
}

.home-dialog .layui-layer-setwin {
    right: 3%;
    top: 20%;
}

.home-dialog .layui-layer-setwin .layui-layer-close2 {
    border: unset;
    background: unset;
    width: 30px;
    height: 30px;
    background: url('../img/dialog-close.png') no-repeat center;
}

.home-dialog .layui-layer-setwin .layui-layer-close2:hover {
    background-color: rgba(189, 226, 255, 0.9);
}

.home-dialog .layui-layer-setwin .layui-layer-close2::before {
    content: '';
    position: absolute;
    font-size: 35px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
