/* search.css */

.search-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgb(0 0 0 / 52%);
    box-shadow: 0 8px 32px 0 rgb(0 0 0 / 37%);
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 20px;
    border-radius: 8px;
    z-index: 91611;
    width: 50vw;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }


.search-container.visible {
    display: block;
    opacity: 1;
}

#search-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 40px;
    background: transparent;
    outline: none !important;
    color: white;
}

#search-input::placeholder {
    color: #ffffffa6;
    text-shadow: 0 0 3px #00000087;
}

#search-input:focus,
#search-input:active {
    border-bottom: 1px solid #fff;
}
.search-results {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 0 0 5px;
    margin: 0 -10px 0 -15px;
}

.search-results a {
    color: #ffffffbf;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    text-decoration: none;
    line-height: 20px;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    border-radius: 100px;
    margin: 0 10px 5px 0;
    text-shadow: 0px 0px 6px black;
    padding: 4px 20px 0 !important;
}

.search-results a:active,
.search-results a:focus,
.search-results a:target,
.search-results a:hover {
    background: linear-gradient(#ffffff94, #6d6d6d54 52%, #000000c7 3%, #003b613b);
    border-bottom: 1px solid #002b61;
    border-top: 1px solid #000761;
    /* text-shadow: 0px 1px 13px black; */
}

.search-results a .path {
    font-size: 10px;
    color: #bbb;
    display: block;
    line-height: 8px;
    margin: 5px 0;
}
