.searchBox{
    width: auto;
    height: 100%;
    padding-left: 20px;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

h2{
    color: #fff;
}

.noSearchBtn{
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.searchBox input{
    width: 170px;
    height: 40px;
    /* border: 1px solid #fff; */
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: transparent;
    outline: none;
    border-right: none;
    padding: 0px 10px;
    color: #fff;
    background-color: #4a4f5d;
    border: none;
}

.searchBox input::placeholder {
    color: #fff; /* 替换为你想要的颜色 */
}

.searchBox p{
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4a4f5d;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.searchBox p img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}


@media screen and (max-width:960px) {
    .right{
        display: flex;
    }
    .searchBox{
        width: 100%;
        background-color: #1a1a2e;
        position: absolute;
        right: 0;
        top: 60px;
        z-index: 99999;
        align-content: flex-start;
        align-items: flex-start;
        padding-top: 50px;
        transition: all 0.5s;
        display: none;
        margin-right: 0;
    }
    header{
        overflow-x: hidden;
    }

    .searchBox input{
        width: calc(100% - 80px);
    }
}