/* global */
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

body{
    margin: 0;
    padding: 0;
    transition:
            color 0.5s,
            background-color 0.5s;
    line-height: 1.6;
    font-family:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            'Segoe UI',
            Roboto,
            Oxygen,
            Ubuntu,
            Cantarell,
            'Fira Sans',
            'Droid Sans',
            'Helvetica Neue',
            sans-serif;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: "Quicksand", sans-serif;
    /*font-family: 'Poppins', 'Roboto', sans-serif;*/
    /* font-family: 'Ubuntu', sans-serif; */
    /* font-family: Helvetica, sans-serif; */
    /* font-weight: 500; */
}

a {
    color: inherit;
    height: fit-content;
}

a:hover {
    color: #999;
}

.wrapper {
    max-width: 960px;
}

/* index.html */

#main{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 53px;
    justify-content: center;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    width: 100vw;
    justify-content: center;
    font-size: 14px;
    position: fixed;
    color: gray;
    z-index: 100;
    transition: all 0.2s ease-in-out;
    height: 3rem;
}

.navbar-brand {
    display: none;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

.logo {
    height: 18px;
    position: relative;
    top: -4px;
}

.mobile-hide {
    transition: all 0.4s ease-in-out;
}

.nav-item-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hide {
    display: none;
}

#avatar {
    width: 100%;
    max-width: 240px;
    border-radius: 120px;
    overflow: hidden;
}

.profile-info-icon{
    font-size: 20px;
    margin-left: 6px;
    margin-right: 6px;
}

.profile-email-area{
    margin-left: 7px;
}

#avatar-block .label-i {
    font-size: inherit;
}

.card img {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
}

.card {
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    overflow: hidden;
    background-color: transparent;
}

.research-card{
    border: none;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn-research {
    font-size: 13px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 9px;
    padding-right: 9px;
}

.btn-collapse {
    font-size: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 9px;
    padding-right: 9px;
    border-radius: 20px;
}

.bg-tag {
    border-radius: 20px;
    font-weight: 600;
    color: rgb(13, 110, 253);
    background-color: rgba(13, 110, 253, 0.25) !important;
}

.news-card
{
    overflow: hidden;
    text-align: left;
    border-left: 3px solid #ddd;
    padding-left: 15px;
    margin-bottom: 30px;
}

.news-year{
    color: #999999;
}

.school-logo
{
    width: 100px !important; 
    position: absolute !important; 
    top: 0 !important; 
    right: 0 !important; 
    opacity: 0.8;
    z-index: -1;
}

.talk-logo{
    width: 250px !important;
    position: absolute !important;
    border-radius: 5px;
    top: 10px !important;
    right: 10px !important;
    /*opacity: 0.25;*/
    z-index: -1;
}

.news-date{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999999;
    border-top-style: solid;
    border-width: 1px;
    border-color: #dddddd;
}

.news-date-month{
    font-size: 16px;
}


/* blog.html */

#blog-header {
    background-color: rgb(203, 218, 252);
    font-family: 'Poppins', 'Roboto', sans-serif;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-image: url('images/blog-bk.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#blog-header h1 {
    font-size: 55px;
    font-weight: 600;
    color: #fff;
}

.nav-underline a
{
    color: #333 !important;
}

.blog-card
{
    overflow: hidden;
    text-align: left;
}

.blog-time
{
    height: 100%;
}

.quote {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: lighter;
    color: #333;
}

#info-banner{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom: 0.5px solid lightgray;
}

.info-banner{
    /*background-color: #f5f5f5;*/
    width: 100vw;
    height: fit-content;
    transition: all 0.4s ease-in-out;
}

.background-filter{
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(1.8) blur(30px);
    -webkit-backdrop-filter: saturate(1.8) blur(30px);
}

.text-body-secondary{
    color: rgba(33, 37, 41, 0.75) !important;
}

.btn-arxiv{
    background-color: #f1f1f1;
}

.btn-arxiv:hover{
    background-color: #dedede;
}

.btn-poster{
    background-color: #fbbd16;
    color: white;
}

.btn-poster:hover{
    background-color: #d39f15;
    color: white;
}

.btn-arxiv img{
    width: 10px!important;
}

.oral{
    color: #CC1E42!important;
}

/* 定义渐变色动画 */
@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 定义渐变色动画 */
@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 按钮容器 */
.cilix-demo {
    margin-left: 1px;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer!important;
    z-index: 1;
    border-radius: 7px!important;
}

/* 渐变边框效果 */
.cilix-demo::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #ef8734, #fcefb1, #f6ca56, #ef8734);
    background-size: 400% 400%;
    animation: borderAnimation 8s ease infinite;
    -webkit-mask:
            linear-gradient(#fff 0 0) padding-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    border-radius: 6px!important;
}

/* 渐变文字效果 */
.cilix-demo span {
    background: linear-gradient(45deg, #ef8734, #fcefb1, #f6ca56, #ef8734);
    background-size: 400% 400%;
    animation: borderAnimation 8s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.talk-btn{
    margin: 0 10px 0 0;
    padding: 0;
}

.talk-link-youtube:hover{
    color: #FF0000;
}

.talk-link-bilibili:hover{
    color: #00A1D6;
}

@media (max-width: 992px) {

    .navbar {
        background-color: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: saturate(1.8) blur(20px);
        -webkit-backdrop-filter: saturate(1.8) blur(20px);
        width: 100vw;
        justify-content: center;
        font-size: 14px;
        position: fixed;
        color: gray;
        z-index: 100;
        transition: all 0.2s ease-in-out;
        height: auto;
    }

    .navbar-brand{
        display: block;
    }
    .navbar {
        justify-content: space-between;
        /*height: 3rem;*/
    }

    .mobile-hide {
        height: 0;
        z-index: 2;
        overflow: hidden;
        width: 100vw;
        background-color: transparent;
        font-size: 17px;
    }

    .mobile-hide .navbar-nav {
        margin: 25px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .mobile-show {
        height: calc(100vh - 54px);
    }

    .profile-button-active {
        font-size: 25px;
    }

    .nav-item-custom {
        margin-bottom: 10px;
    }

    .hide {
        display: block;
    }

    .info-banner .wrapper {
        flex-direction: column;
        text-align: center;
    }

    .info-banner .first {
        order: 2;
        margin-top: 24px;
    }

    .info-banner .second {
        order: 1;
    }

    .news-date{
        flex-direction: row;
        justify-content: normal;
        margin-bottom: 10px;
    }

    .news-date-month{
        margin-left: 8px;
        margin-top: 2px;
        font-size: 14px;
    }

    .footer{
        flex-direction: column;
        align-items: center;
    }

    .paper-btn{
        font-size: 0;
        margin-right: 15px;
        margin-bottom: 10px;
        height: 40px!important;
        border-radius: 10px;
    }

    .paper-btn i{
        font-size: 20px;
    }

    .btn-arxiv{
        width: 40px;
        height: 36px;
    }

    .btn-arxiv img{
        width: 13px!important;
    }

    .cilix-demo{
        cursor: pointer;
    }

    .cilix-demo::before {
        content: '';
        position: absolute;
        top: -1px;
        left: -2px;
        right: -2px;
        bottom: -1px;
        border: 2px solid transparent;
        background: linear-gradient(45deg, #ef8734, #fcefb1, #f6ca56, #ef8734);
        background-size: 400% 400%;
        animation: borderAnimation 8s ease infinite;
        -webkit-mask:
                linear-gradient(#fff 0 0) padding-box,
                linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
        border-radius: 10px!important;
    }

    .talk-logo{
        width: 100% !important;
        position: relative !important;
        top: 0px !important;
        right: 0px !important;
        margin-bottom: 10px;
    }

    .talk-btn{
        width: 40px;
        height: 40px;
        background-color: #CC1E42;
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 9px;
        padding-right: 9px;
        border-radius: 10px;
        margin-right: 10px;
        color: white;
    }

    .talk-btn:hover{
        background-color: #ffffff;
    }

    .talk-btn-youtube{
        background-color: #ff0000;
    }

    .talk-btn-bilibili{
        background-color: #00A1D6;
    }

    .talk-btn-youtube:hover{
        border-color: #ff0000;
    }

    .talk-btn-bilibili:hover{
        border-color: #00A1D6;
    }
}
