﻿.head-bg {
    width: 100%;
    background: url(static/image/bg-1.png) center/cover no-repeat;
    transition: all 0.7s cubic-bezier(0.5, 0, 0.2, 1) 0s;
    overflow: hidden;
    position: relative;
}

.bg-mc-box,
.head-bg .kt-container {
    height: 100%;
}

.head-bg .kt-container .bg-mc {
    max-width: 100%;
    max-height: 100%;
}

.head-bg.hasheight {
    height: calc(100vh - 101px);
}

.head-bg.noneheight {
    height: 0;
}

.huadong-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    color: #3A3D42;
}

.tishi-box {
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #3A3D42;
    animation: bb 2s linear 0s infinite;
    margin: 0 auto;
}

.tishi-box::after {
    content: "";
    display: block;
    width: 3px;
    height: 4px;
    background: #3A3D42;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%);
}

.head-bg.noneheight .huadong-box {
    opacity: 0;
}

@keyframes bb {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    20% {
        transform: translate(0, -3px);
        opacity: 1;
    }

    80% {
        transform: translate(0, -10px);
        opacity: 1;
    }

    90% {
        transform: translate(0, -10px);
        opacity: 0;
    }

    100% {
        transform: translate(0, -10px);
        opacity: 0;
    }
}

/* 大赛简介 */
.banner-bg {
    width: 100%;
    background: url(static/image/banner.jpg) center/cover no-repeat;
}

.body-content.top {
    top: 0;
    bottom: 0;
}

.body-content.bottom {
    top: 100%;
    bottom: 0;
}

.dasai-all {
    padding: 45px 0;
    box-shadow: 0px 2px 12px 0px rgba(202, 208, 219, 0.5);
}

.dasai-content {
    flex-direction: row-reverse;
}

.dasai-box {
    width: 800px;
    background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, .5) 100%);
    padding: 265px 50px 70px;
    margin-bottom: 70px;
}

.dasai-title {
    position: relative;
    z-index: 1;
}

    .dasai-title::after {
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background: linear-gradient(0deg, var(--blue) 0%, rgba(101, 159, 132, 0) 100%);
        border-radius: 50%;
        position: absolute;
        left: -22px;
        top: -4px;
        z-index: -1;
    }

.dasai-en {
    margin-bottom: 50px;
}

.dasai-info {
    font-size: 16px;
    color: #434343;
}

.public-title {
    font-size: 38px;
    color: #3A3D42;
    font-family: Microsoft YaHei;
}

.public-en {
    font-weight: 700;
    font-size: 18px;
    color: var(--blue);
    font-family: Source Han Serif CN;
    word-spacing: 8px;
}

/* 大赛日程安排 */
.anpai-title {
    margin-bottom: 5px;
}

.anpai-left {
    padding: 0 33px;
    text-align: center;
}

.anpai-right {
    text-align: center;
    position: relative;
    flex: 1;
}

    .anpai-right::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        position: absolute;
        top: 68px;
        background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, var(--blue) 15%, var(--blue) 85%, rgba(0, 0, 0, 0) 100%);
    }

.jieduan-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--blue);
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jieduan-yuan {
    margin: 5px 0;
}

    .jieduan-yuan span {
        width: 20px;
        height: 20px;
        background: #FFFFFF;
        border-radius: 50%;
        border: 3px solid var(--blue);
        display: inline-block;
        z-index: 1;
        position: relative;
    }

.jieduan-yuan.active span {
    background: #4C9372;
    box-shadow: 0 2px 10px 0 #4C9372;
}

.jieduan-jiezhi {
    font-size: 14px;
    color: #898989;
}

.jieduan-riqi {
    font-size: 20px;
    color: #434343;
}

/* 赛道介绍 */
.saidao-content {
    padding: 60px 0;
}

.public-yuan {
    position: relative;
    display: inline-block;
}

    .public-yuan::before {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        background: linear-gradient(180deg, var(--blue) 0%, rgba(101, 159, 132, 0) 100%);
        border-radius: 50%;
        position: absolute;
        top: 20px;
        left: -30px;
    }

    .public-yuan::after {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        background: linear-gradient(180deg, var(--blue) 0%, rgba(101, 159, 132, 0) 100%);
        border-radius: 50%;
        position: absolute;
        top: 20px;
        right: -30px;
    }

.saidao-top {
    text-align: center;
    margin-bottom: 40px;
}

.saidao-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .saidao-body {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-gap: 10px;
} */


.saidao-body {
    display: flex;
    justify-content: space-between;
}

.saidao-img {
    height: 560px;
    width: 25%;
    border-radius: 4px;
    position: relative;
    transition: all .3s ease;
}

.saidao-mc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    padding-top: 250px;
    padding-left: 45px;
    padding-right: 45px;
}

    .saidao-mc .label {
        font-size: 14px;
        color: #fff;
        background: var(--blue);
        border-radius: 4px;
        display: inline-block;
        text-align: center;
        padding: 4px 9px;
        line-height: normal;
        margin-bottom: 15px;
    }

.saidao-mc .label-title {
    font-size: 30px;
    color: #fff;
    margin-bottom: 30px;
}

.saidao-mc .label-info {
    font-size: 16px;
    color: #fff;
    margin-bottom: 50px;

    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
}

    .saidao-mc .label-link a {
        background: #fff;
        border-radius: 4px;
        font-size: 16px;
        color: var(--blue);
        line-height: normal;
        padding: 10px 25px;
        transition: all .3s ease;
        display: none;
    }

.saidao-mc .label-link a:hover {
    transform: translateY(-5px);
}

/* 激活样式 */
.saidao-img.active {
    width: 48.5%;
}

    .saidao-img.active .saidao-mc {
        background: linear-gradient(0deg, var(--blue) 0%, rgba(3, 66, 37, 0) 100%);
    }

.saidao-img.active .label-info {
    -webkit-box-orient: unset;
    margin-bottom: 40px;
}

.saidao-img.active .label-link img {
    display: none;
}

.saidao-img.active .label-link a {
    display: inline-block;
}

/* 大赛主题 */
.zhuti-bg {
    width: 100%;
    background: url(../image/12.jpg) center/cover no-repeat;
}

.zhuti-mengceng {
    width: 100%;
    height: 100%;
    background: #00000080;
    padding: 60px 0 40px;
}

.zhuti-title.public-title,
.zhuti-en.public-en {
    color: #fff;
}


.zhuti-box {
    padding: 0 230px;
}

.zhuti-top {
    text-align: center;
    margin-bottom: 40px;
}

.zhuti-info {
    padding: 40px 60px;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 30px;
    background: var(--blue70);
    margin-bottom: 50px;
}

.zhuti-more a {
    transition: all .3s ease;
}

.zhuti-more a:hover {
    transform: translateY(-5px);
}

/* 友情链接 */
.youqing-content {
    background: url(../image/youqing.png) 0 0/cover no-repeat;
}

.youqing-top {
    text-align: center;
    margin-bottom: 60px;
}

.youqing-box {
    padding: 70px 0;
}

.youqing-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.youqing-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 39px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 2px 12px 0px rgba(202, 208, 219, 0.6);
}

/* 四川大学 */
/* .sichuandaxue img {
    width: 241px;
    transition: all .3s ease;
}

.sichuandaxue:hover img {
    content: url(../../../../img/Index/14-1.png);
    transform: scale(1.1);
} */

/* 四川大学博物馆 */
.sichuanshengbwg img {
    width: 287px;
    height: 62px;
    transition: all .3s ease;
}

.sichuanshengbwg:hover img {
    content: url(static/image/15-1.svg);
    transform: scale(1.1);
}

/* 四川省博物馆学会 */
.sichuandaxuebwg img {
    width: 248px;
    transition: all .3s ease;
}

.sichuandaxuebwg:hover img {
    content: url(../image/16-1.png);
    transform: scale(1.1);
}

/* 中国邮政 */
.youzheng img {
    width: 189px;
    transition: all .3s ease;
}

.youzheng:hover img {
    content: url(../image/17-1.svg);
    transform: scale(1.1);
}


@media screen and (min-width:1024px) {
    .body-content {
        position: fixed;
        transition: top 0.7s cubic-bezier(0.5, 0, 0.2, 1) 0s;
        width: 100%;
        overflow: auto;
    }

    .huadong-box {
        opacity: 1;
    }
}

@media screen and (max-width:1340px) {
    .zhuti-box {
        padding: 0 120px;
    }

    .saidao-mc {
        padding-top: 220px;
        padding-left: 35px;
        padding-right: 35px;
    }


    .youqing-link {
        padding: 23px 0;
    }

    .youzheng img,
    .sichuandaxuebwg img,
    .sichuanshengbwg img,
    .sichuandaxue img {
        width: 190px;
    }
}

@media screen and (max-width:1023px) {
    .head-bg>.kt-container {
        display: none;
    }

    .head-bg {
        background: url(../image/bg-3.jpg) 0 0 / 100% 100% no-repeat;
    }

    .youqing-body {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .body-top {
        padding-top: 60px;
    }

    .head-bg.hasheight {
        height: calc(100vh - 60px);
    }

    /*  */
    .dasai-box {
        padding: 200px 50px 70px;
    }

    /* 大赛日程安排 */
    .anpai-box {
        flex-wrap: wrap;
    }

    .anpai-box>div {
        width: 100%;
    }

    .anpai-right {
        width: 100%;
    }

    .anpai-jieduan {
        overflow: scroll;
        white-space: nowrap;
    }

    .anpai-jieduan>div {
        margin: 0 10px;
    }

    .anpai-left {
        margin-bottom: 40px;
    }

    /* 赛道介绍 */
    .saidao-img {
        display: none;
    }

    .saidao-img.active {
        display: block;
        width: 100%;
    }

    .saidao-mc {
        padding-top: 180px;
    }

    .saidao-yuan {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid var(--blue);
        margin: 0 10px;
    }

        .saidao-yuan.active {
            background: var(--blue);
        }

    .saidao-tishi {
        margin-top: 15px;
        display: block;
    }

}

@media screen and (max-width:800px) {
    .zhuti-box {
        padding: 0;
    }
}

@media screen and (max-width:550px) {
    .dasai-box {
        padding: 150px 40px 60px;
    }

    .zhuti-info {
        padding: 30px;
    }

}

@media screen and (max-width:450px) {
    .dasai-box {
        padding: 70px 40px 40px;
    }

    .dasai-en {
        margin-bottom: 20px;
    }

    .public-title {
        font-size: 32px;
    }

    .public-en {
        font-size: 14px;
    }

    .youqing-body {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }

    .youqing-top {
        margin-bottom: 40px;
    }

    .saidao-mc {
        padding-top: 125px;
    }

}