.search-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

@media (max-width: 1025px) {
    #search {
        visibility: hidden;
        background-color: white;
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 1.2rem;
        display: flex;
        flex-direction: column;
        z-index: 9999;
        gap: 20px;
        width: 100% !important;
    }
}

#search {
    visibility: hidden;
    background-color: white;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    gap: 20px;
    width: 80%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-top: .5rem;
}
#search .search-line{
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: row;
}
.search-line{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.search-line svg{
    width: 1rem;
    height: 1rem;
    fill: #7F7F7F;
}
#search-input {
    border: none;
    width: 100%;
    height: 3rem;
}
#close-search-btn{
    background-color: white;
    border: none;
    cursor: pointer;
    margin-left: auto;
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
        touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

#close-search-btn svg {
    width:rgba(0, 0, 0, 50%);
    height: 1rem;
    fill: #7F7F7F;
}
.search-history{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header__inner {
    position: relative;
}


