@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: rgb(129, 126, 126);
}

html {
    font-weight: 300;
    color: #000;
}

form,
input,
button {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
    
}

input::-webkit-input-placeholder {
    color: #ccc;
    letter-spacing: 2px;
    font-size: 16px;
}

ul,
li {
    display: block;
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

#content {
    width: 100%;
    height: 100%;
}

.con {
    width: 100%;
    transition: 1s all;
    margin: auto;
    min-width: 320px;
    height: 380px;
    position: absolute;
    left: 0;
    top: -100px;
    right: 0;
    bottom: 0;
}

.con .shlogo {
    position: relative;
    width: 320px;
    height: 100px;
    margin: 20px auto;
    background: url(logo.png) no-repeat center/cover;
}

.con .sou {
    max-width: 680px;
    position: relative;
    width: calc(100% - 60px);
    min-width: 320px;
    margin: 0 auto;
}

.con .sou form {
    width: 100%;
    /*border: 1px solid #ddd;*/
    height: 50px;
    display: block;
    margin: 10px auto 30px;
    position: relative;
}

.con .sou form .wd {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    line-height: 100%;
    text-indent: 20px;
    font-size: 15px;
}

.con .sou form .wd:focus {
    background: rgba(160, 156, 156, 0.116);
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.021);
    border-color: #fff
}

.con .sou form button {
    cursor: pointer;  
    position: absolute;    
    right: 6px;
    top: 6px;    
    font-size: 22px;
    width: 50px;
    height: 500px; 
    border-radius: 50%;    
    background: url(百度.png) ;
}

.con .sou ul {
    height: 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.button {
    width: 100px;
    height: 40px;
    margin: 0 10px;
    float: center;
    -webkit-tap-highlight-color: transparent;
    background: rgba(241, 236, 236, 0.212);
    font-size: 13.88px;
    text-align: center;
    line-height: 40px;  
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    font-weight:normal;
    box-shadow:0 2px 0 #bebaba,0 3px 6px rgba(182, 216, 240, 0.9);
    top:6px;
    user-select:none;     
}


.button:active {
    background: rgb(212, 209, 209);
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .1);    
}

.list {
    width: 335px;
    padding: 0 20px;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0px;
    z-index: 2000;    
    transition: 0.3s all linear;
    background-color:rgba(108, 108, 114, 0.9);
}

.list ul {
    width: 330px;
    float: left;
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.list ul li {
    float: left;
    margin: 5px;
    width: 100px;
    height: 30px;
    text-align: left;
    line-height: 30px;
}

.list ul li a {
    width: 100%;
    border-radius: 5px;
    transition: 0.2s all linear;
    height: 100%;
    display: block;
    color: rgb(12, 0, 0);
    font-weight: 500;
    background: #c9cbce;
    text-align: center;
    font-size: 12px;
}


.list ul li:hover a {
    color: #fff;
    background-color: #29f;
    background-image: linear-gradient(135deg, rgba(35, 153, 255) 0%, rgba(84, 175, 253) 100%);
    box-shadow: 0 3px 3px rgba(0, 40, 70, .3);
}


.list ul li.title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 30px 0 0;
    text-align: left;
    text-indent: 10px;

    color: #fff;
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 640px) {
    .con {
        top: 0px;
    }

    .con .shlogo {
        width: 320px;
        height: 100px;
    }

    .con .sou form .wd:focus {
        background: #f1f1f1;
        box-shadow: none;
        border-color: #ccc
    }

    .con .sou form button {
        border-radius: 25px;
    }

    .list {
        width: 227px;
    }

    .list ul {
        width: 220px;
    }

    .con .sou ul li {
        width: 100px;
        font-size: 12px;
        text-indent: 30px;
    }
}

@media (max-height: 420px) {
    .con {
        margin: 0;
        top: 0px;
    }

    .con .sou form .wd {
        text-indent: 50px;
    }

    .con .sou form:after {
        content: "";
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        left: 10px;
        top: 10px;        
        border-radius: 50%;
        overflow: hidden;
    }

    .con .shlogo {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #162035;
    }

    .con .sou ul li {
        background: #293550;
        color: #fff;
    }

    .con .sou form .wd:focus {
        background: #293550;
        border: 1px solid #162035;
    }

    .con .sou form .wd {
        border: 1px solid #293550;
        color: #bbb;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #222d46;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: #293550;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #293550;
}

::-webkit-scrollbar-corner {
    background: #222d46;
}