.navbar-brand {
    display: flex;
    align-items: center;
}

.nav-title {
    margin-left: 10px;
    font-weight: 700;
    font-size: 28px;
    color: #ff3150;
    /* font-family: "Courier New", Courier, monospace; */

}

#banner .item {
    background-size: cover;
}

#whyus h3 {
    margin-bottom: 20px;
}

#whyus p {
    line-height: 22px;
}

@media (max-width: 767px) {
    #banner .carousel-control {
        display: none;
    }

    .partner-section .partner-list .img-responsive {
        max-width: 200px;
        padding: 0 20px;
    }
}

.carousel {
    width: 100vw;
    height: 100vh;
}

body {
    /*padding-top: 0;*/
    padding-top: 60px !important;
}

.navbar {
    /*max-width: 1400px;*/
    /*top: 15px;*/
    /* height: 80px; */
    margin: 0 auto;
    /*margin-left: 2px;*/
    /*margin-right: 2px;*/
    margin-top: 0px;
    border-radius: 5px;
    /*background-color: rgba(68, 76, 105, 0.49);*/
    /* 添加过渡效果 */
    /*opacity: 1;*/
    /*transition: transform 0.5s ease, opacity 0.5s ease;*/

}

.page-box {
    background-color: #fff;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeDownOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.navbar-white {
    background-color: none;
}

.navbar.nav-up {
    animation: fadeInOut 0.8s;
    opacity: 0;
    /* 移动导航栏向上 */
    transform: translateY(-100%);

}

.navbar.nav-up .navbar-nav li>a {
    font-size: 18px !important;
}

.navbar.nav-down {
    animation: fadeDownOut 0.8s;
    opacity: 1;
}

.navbar.nav-bg {
    background: #f3f3f3c8;
}

.item.active {
    /* transition-delay: 1.5s;  */
    /* 延迟时间 */
    /* 添加缩小动画 */
    transform-origin: center center;
    /* 缩放的原点设置为图片的中心 */
    animation: zoomIn 1.8s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.05);
        /* 从原始大小的1.5倍开始 */
    }

    to {
        transform: scale(1);
        /* 最终缩小到原始大小 */
    }
}

.floatbtn-item-top {
    display: none;
}

.top-show {
    display: block;
}

/*赛事页面样式 start*/
.banner-box {
    background-size: cover;
    background-color: #c9e9e6;
    /*width: 100%;*/
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.banner-box>img {
    display: block;
    width: 100%;
    height: 100%;

}

.breadcrumb {
    background: #f0f0f0;
    padding: 10px 50px;
    /*margin: 10px 30px;*/
    /*border-radius: 25px;*/
}

.match_nav {
    /*position: relative;*/
    width: 100%;
    height: 50px;
    background: #a1ddd7;
    margin-top: 10px;
}

.match_nav .layui-row {
    display: flex;
    justify-content: space-around;
}

.matchNav-item {
    display: block;
    /*float: left;*/
    width: 100%;
    height: 50px;
    line-height: 50px;
    color: #444c69;
    font-size: 20px;
    text-align: center;
    outline: none;
}

.matchNav-item:hover {
    background: #58ada4;
    color: #fff;
}


.match-desc {
    background: #fff;
    padding: 10px 20px;
    margin: 20px 0px 10px;
    border-radius: 10px;

}

.title-box {
    width: 280px;
    height: 70px;
    background-size: 280px auto;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    color: white;
    margin: 0 auto;
}

.intro-text {
    background-color: #fff;
    font-size: 20px;
}

/* 当屏幕宽度小于等于 768px 时 */
@media screen and (max-width: 768px) {

    /*    !* 在这里设置适合手机等小屏幕设备的样式 *!*/
    .matchNav-item {
        font-size: 14px;
    }

    .match-desc {
        margin: 40px 10px;
    }

    .gongzhong {
        bottom: 60% !important;
    }
}


.detail-item {
    width: 268px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .06);
}

.detail-item:last-child {
    margin-right: auto;
}

.detail-item_img {
    width: 100%;
    height: 90px;
    align-items: center;
    display: flex;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    background-color: #4492d7;
    font-size: 20px;
}

.detail-item_bottom {
    padding: 8px 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 72px;
    color: #16baaa !important;
}

.detail-item_desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 15px;
    color: #16baaa !important;
}

/*赛事页面样式 end*/

.required-font {
    position: absolute;
    left: -2px;
    top: 15px;
}

.line2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**
重新layuicss
 */

.layui-form-label {
    padding: 9px 5px !important;
}

.btn-start {
    background-color: #31bdec;
}

.layui-fixbar li {
    border-radius: 5px !important;
    /*line-height: 25px !important;*/
}

.layui-fixbar {
    z-index: 999 !important;
}

/* 赛事作品展示样式 */

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.work-list-box {
    margin-top: 10px;
}

.work-item-box {
    margin: 8px auto;
    text-align: center;
    display: flex;
    justify-content: center;

}

.work-item-center {
    border-radius: 8px;
    width: 95%;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .06);
    /* padding-bottom: 8px; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-awads {
    display: flex;
    justify-content: center;
    margin: 6px 0;
}

.work-item-events-name {
    position: absolute;
    text-align: center;
    width: 100%;
    background: #00000060;
    color: #ffffff;
    height: 30px;
    font-weight: 700;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.work-student-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin: 5px;
    overflow: hidden;
}

.work-student-workname {
    background: #2196f391;
    color: #fff;
    border-radius: 15px;
    padding: 2px 5px;
}

.work-item-cover-url {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-item-desc {
    padding: 2px 10px;
}

.worksname {
    color: #393939;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    height: 20px;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.author_info {
    display: flex;
    justify-content: space-around;
}

.studentname {
    width: 30%;
    margin-right: 10px;
}

.studentname,
.schoolname {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top
}

.font-red {
    color: #f00;
}

.work-share {
    text-align: right;
    cursor: pointer;
    margin-right: 10px;
    font-size: 12px;
    color: #4CAF50;
    display: flex;
    justify-content: space-around;
}