html {
    position: relative;
    min-height: 100%;

}

body {
    min-height: 100vh;

}

.background_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* 默认无模糊 */
    filter: blur(0px);
    transition: filter 0.3s ease;
}



.search {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

.logo {
    display: block;
    margin: 0 auto 15px;
    max-width: 90px;
    height: auto;
}

input[type=text] {
    width: 80%;
    padding: 15px 5px;
    margin: 5px 0;
    box-sizing: border-box;
    outline: none;
    border-radius: 10px;
    border: none;
    display: inline-block;
}

input[type=button] {
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    display: inline-block;
}




.sidebar {
    width: 40%;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background: rgba(234, 250, 255, 0.7);
    color: black;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.sidebar.active {
    transform: translateX(0);
}

.main-content {
    margin-left: 0;
}

@media (max-width: 768px) {
    .sidebar {

        width: 60%;
    }


}

.toggle-sidebar {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 123, 255, 0.3);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    outline: none;
    text-decoration: none;
    border: none;
    font-size: 150%;
}

.toggle-sidebar:hover {
    background-color: rgba(0, 103, 255, 0.4);
}