
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body{
    overflow-x: hidden;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
.label-img{
    width:20px;
    height:20px;
}
::-webkit-scrollbar{
    width: 12px;
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(#00DBDE 0%,#FC00FF 100%);
    border-radius: 8px;
}
/*nav*/
nav{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: 60px;
    width: 100%;
    z-index: 10;
    position: fixed;
}
.n-line{
    position: absolute;
    top: 28px;
    width: 0px;
    border-bottom: 4px salmon solid;
    transition: .3s ease-in-out;
}
.logo{
    color: whitesmoke;
}
.nav_1{
    display: flex;
    align-items: center;
}
.nav_1 li img{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.nav_1 li{
    margin-left: 17px;
    display: flex;
    position: relative;
}
.nav_1 li a{
    color: whitesmoke;
    cursor: pointer;
}
.menu{
    display: none;
}
.mark{

    width: 100%;
    height: 60px;
    background-color: rgb(58, 58, 58);
    opacity: 0;
    position: absolute;
    left: 0;
    z-index: 1;
    position: fixed;
}

/*header*/
header{
    /* background-image: url(../img/search/bg0-2.png); */
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
   overflow: hidden;
}

.container{
    width: 80%;
    height: 100%;
    margin:  60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.Search{
    width: 100%;
    /* background: whitesmoke; */
    display: flex;
    justify-content: center;
}
.time{
    margin-top: 100px;
    font-size: 7vmin;
    color: whitesmoke;
    margin-bottom: 15px;
}
.searchImg img{
    width: 20px;
    height: 20px;
}
.searchImg{
    width: 50px;
    height: 35px;
    background-color: dodgerblue;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
}
.searchImg:active{
    background: rgb(17, 109, 202);
}
input{
    width: 30%;
    height: 35px;
    padding: 0 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow:20px 20px 50px rgba(0,0,0,.8);
    transition: .5s;
    font-weight: bold;
    font-size: 16px;
    color: rgb(53, 52, 52);
    outline: none;
}
.Menu{
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow:20px 20px 50px rgba(0,0,0,.5);
    position: absolute;
    bottom: 110px;
    color: whitesmoke;
    border-radius: 10px;
    transition: .8s;
}
.Menu h1{
    cursor: pointer;
    text-align: center;
    line-height: 70px;
    opacity: 0.8;
}
.Menu:active{
    background-color: rgba(255, 255, 255, 0.164);
    color: rgb(221, 220, 220);
    
}
.Menu .None{
    width: 17px;
    height: 17px;
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.9;
    display: none;
    cursor: pointer;
}
.Menu2{
    transform: translateX(0);
}
.row{
    display: grid;
    grid-template-rows: repeat(4,87px); 
    grid-template-columns: repeat(4,60px);
    place-content: space-between space-between;
   
}
.col{
    display: none;
    text-align: center;
    /* background-color: red; */
}
.col .bgImg{
    width: 60px;
    height: 60px;
    cursor: pointer;
    /* background: tomato; */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.col .bgImg img{
    width: 100%;
    
}
.col p{
    font-size: 12px;
}
/*背景图片*/
.big-Img{
    width: 710px;
    height: 550px;
    background: whitesmoke;
    position: absolute;
    top: 110px;
    padding: 13px;
    overflow-y: scroll;
    border-radius: 8px;
    display: none;
    z-index: 50;
    box-shadow: 5px 10px 20px rgb(70, 69, 69);
}
.cha{
    width: 18px;
    height: 18px;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    
}
.big-Img .line{
    width: 60%;
    border-bottom: 2px solid rgb(86, 87, 87);
    margin-top: 8px;
    margin-bottom: 8px;
}
.big-Img h3{
    color: rgb(86, 87, 87);
    
}
.bg-container{
    width: 100%;
    /* background: whitesmoke; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bg-container-img{
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}
/*搜索引擎*/
.switch{
    width: 710px;
    height: 550px;
    background: whitesmoke;
    position: absolute;
    top: 110px;
    padding: 13px;
    border-radius: 8px;
    display: none;
    z-index: 50;
    box-shadow: 5px 10px 20px rgb(70, 69, 69);
}
.switch .line{
    width: 60%;
    border-bottom: 2px solid rgb(86, 87, 87);
    margin-top: 8px;
    margin-bottom: 8px;
}
.switch h3{
    color: rgb(49, 49, 49);
}
.souImg:hover{
    box-shadow: 5px 10px 20px gray;
    
}
.switch-container{
    width: 100%;
    /* background: whitesmoke; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.souImg{
    cursor: pointer;
    width: 226px;
    height: 481px;
    background: thistle;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.souImg img{
    transition: .5s ease;
}
.souImg:hover img{
    transform: scale(1.1);
}

.souImg p{
    top: 180px;
    left: calc(50% - 19px);
    position: absolute;
    color: whitesmoke;
    font-weight: 500;
    font-size: 24px;
}
/**/
@media screen and (max-width:1050px){
/* nav */
nav{
    padding: 0 40px;
}
.n-line{
    display: none;
}
.nav_1{
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    width: 50vw;
    height: calc(100vh - 60px);
    background-color: rgb(58, 58, 58);
    flex-direction: column;
    z-index: 1;
    transform: translateX(100%);
    transition: 0.4s ease-in-out;
}
.open{
    transform: translateX(0);
}
.nav_1 li{
    margin: 3vh;
    transform: translateX(20px);
    opacity: 0; /*先设置在@keyframes*/
}
.menu{
    display: block;
}

/*header*/

.Menu{
    display: none;
}
.Input{
    width: 60%;
}

@keyframes slideIn {
    form{
        transform: translateX(20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

}

/*keyframes*/
@keyframes menuUp{
    from{
        width: 70px;
        height: 70px;
        transform: translateY(0px);
    }
    to{
        width: 500px;
        height: 300px;
        transform: translateY(-100px);
    }
}
@keyframes menuDonw{
    from{
        width: 500px;
        height: 300px;
        transform: translateY(-130px);
        
    }
    to{
        width: 70px;
        height: 70px;
        transform: translateY(0px);
    }
}
