﻿/*PC端百度搜索功能css*/
@media screen and (min-width: 1000px) {
    body{
        margin: 0 auto;
        min-width: 700px;
    }

    #logo {
        width: 270px;
        height: 129px;
        background-image: url('../images/bd_logo1.png');
        background-size: cover;
        margin: 0 auto;
    }

    #search-box {
        width: 50%;
        margin: 0 auto;
        margin-top: 50px;
        position: relative;
    }

    #search-form {
        font-size: 0px;
        margin: 0 auto;
    }

    #search-input {
        width: calc(100% - 124px);
        height: 20px;
        line-height: 20px;
        font-size: 16px;
        padding: 9px 7px;
        border-width: 2px 0px 2px 2px;
        border-style: solid;
        border-color: rgba(168, 168, 168, 0.5) ;
        /*border: 2px 0px 2px 2px solid rgba(168, 168, 168, 0.5);*/
        border-radius: 5px 0px 0px 5px;
    }

    #search-input:hover {
        border-color: rgba(168, 168, 168, 0.9);
        /*border: 2px solid rgba(168, 168, 168, 0.9);*/
    }

    #search-input:focus{
        outline: none;
        border-color: rgba(51, 136, 255,1);
        /*border: 2px solid rgba(51, 136, 255,1);*/
    }

    #search-botton {
        width: 104px;
        height: 42px;
        border: 2px solid #38f;
        border-radius: 0px 5px 5px 0px;
        border-bottom: 2px solid #2e7ae5;
        background-color: #38f;
        color: #fff;
        font-size: 18px;
        position: relative;
        cursor: pointer;
    }

    #search-botton:hover {
        background-color: #377ad8;
    }

    #suggestions {
        /*width: 535px;*/
        width: calc(100% - 124px);
        border: 1px solid #d8d8d8;
        position: absolute;
        display: none;
        z-index: 99999;
    }

    #suggestions ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #suggestions li {
        font-size: 16px;
        height: 20px;
        line-height: 20px;
        padding: 3px 7px;
        cursor: pointer;
        background-color: #fff;
        color: rgba(0,0,0,1);
    }

    #suggestions li:hover {
        background-color: #38f;
        color: rgba(255,255,255,1);
    }
}
/*移动端百度搜索功能css*/
@media screen and (max-width: 1000px) {
    body{
        margin: 0 auto;
    }
    
    #logo {
        width: 270px;
        height: 129px;
        background-image: url('../images/bd_logo1.png');
        background-size: cover;
        margin: 0 auto;
    }
    
    #search-box {
        width: 95%;
        margin: 0 auto;
        /*margin-top: 25px;*/
        position: relative;
    }
    
    #search-form {
        font-size: 0px;
        margin: 0 auto;
    }
    
    #search-input {
        width: calc(100% - 140px);
        height: 20px;
        line-height: 20px;
        font-size: 16px;
        padding: 9px 7px;
        border-width: 2px 0px 2px 2px;
        border-style: solid;
        border-color: rgba(168, 168, 168, 0.5) ;
        /*border: 2px 0px 2px 2px solid rgba(168, 168, 168, 0.5);*/
        border-radius: 5px 0px 0px 5px;
    }
    
    #search-input:hover {
        border-color: rgba(168, 168, 168, 0.9);
        /*border: 2px solid rgba(168, 168, 168, 0.9);*/
    }
    
    #search-input:focus{
        outline: none;
        border-color: rgba(51, 136, 255,1);
        /*border: 2px solid rgba(51, 136, 255,1);*/
    }
    
    #search-botton {
        width: 120px;
        height: 42px;
        border: 2px solid #38f;
        border-radius: 0px 5px 5px 0px;
        border-bottom: 2px solid #2e7ae5;
        background-color: #38f;
        color: #fff;
        font-size: 18px;
        position: relative;
        cursor: pointer;
    }
    
    #search-botton:hover {
        background-color: #377ad8;
    }
    
    #suggestions {
        /*width: 535px;*/
        width: calc(100%);
        border: 1px solid #d8d8d8;
        position: absolute;
        display: none;
        z-index: 99999;
    }
    
    #suggestions ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    #suggestions li {
        font-size: 16px;
        height: 20px;
        line-height: 20px;
        padding: 3px 7px;
        cursor: pointer;
        background-color: #fff;
        color: rgba(0,0,0,1);
        overflow: hidden;
    }
    
    #suggestions li:hover {
        background-color: #38f;
        color: rgba(255,255,255,1);
    }

    #yiyan h1{
        font-size: 1em;
    }

    #yiyan h3{
        font-size: 0.8em;
    }
}

.backgroundpage{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg_page{
    height: 100%;
    width: 100%;
}
.box_first{
    width: 100%;
    height: 100vh;
}
.box0{
    width: 100%;
    height: 70vh;
    /*background-color: aqua;*/
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

/* 使用 clamp 函数实现日期和时间的字体大小自适应 */
.responsive-text {
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: rgba(255, 255, 255, 0.8);
}
.responsive-time {
    font-size: clamp(2rem, 10vw, 6rem);
    color: rgba(255, 255, 255, 0.8);
}

.yiyan{
   width: 100%;
   height: auto;
   margin: 0 auto;
   text-align: center;
   position: absolute;
   bottom: 0px;
}

.yiyan h1{
    margin-bottom: 20px;
}