body {
    margin:0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: 1100px;
    background-position:center;
    background-position-y: 0;
    background-image: url("https://github.com/kinestheticinteraction/searchbar2025.github.io/blob/main/YT%20BG%203%20col.png?raw=true");
}

#navBar{
    margin:0;
    padding: 0;
    height: 56px;
    width: 100%;
    /*background-color: #f0f0f0;*/
    z-index: 0;
}

#searchBar:hover{
     cursor:pointer;
}

#searchPanel, #searchBar{
    z-index: 2;
    position: relative;
    border-radius: 28px;
    background-color: white;
}

#searchPanel{
    overflow: hidden;
}

#searchBar{
    border-radius: 20px;
    border: solid 1px rgb(0, 0, 0, 0.1);
    border-style: inset;
    top:0;
    align-content: center;
    width: calc(100% - 2px);
    background-color: white;
}

#searchBar:hover{
    background-color: rgb(0, 0, 0, 0.05);
}

.sbCollapsedState{
    width: 550px;
    left: 50%;
    margin-left: -275px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    transition: .2s ease-in-out;
    transition-timing-function: cubic-bezier(.42,0,.05,1);
    border-radius: 0;
}

.sbExpandedState{
    left: 50%;
    margin-left: -292px;
    width: 600px;
    
    top: 50%;
    margin-top: -20px;
    height: 560px;
    
    padding: 8px;
    
    /*background-color: red;*/
    border-radius: 28px;
    transition: .2s ease-in-out;
    transition-timing-function: cubic-bezier(.42,0,.05,1);
}

#searchInput:focus {outline:none;}
#searchInput::placeholder {
    font-weight: 400;
    color: #909090;
}
#searchInput{
    /*background-color: #f0f0f0;*/
    width: calc(100% - 96px);
    margin:0;
    padding: 0;
    height: 38px;
    top:0;
    margin-left: 48px;
    color: #000000;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    border: none;
    background-color: rgb(255, 255, 255, 0);
}


#searchIcon, #micIcon{
    width: 24px;
    height: 24px;
    position: absolute;
    /*background-color: #f5f5f5;*/
    margin: 8px 0 0 12px;
}


#scrim {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0;
    transition: .2s ease-in-out;
    transition-timing-function: cubic-bezier(.42,0,.05,1);
}


#searchHistory{
    width: 100%;
    height: 512px;
    /*background-color: aqua;*/
    display: flex;
    flex-wrap: wrap;
    overflow: scroll;
    margin-top: 8px;
    z-index: -1;
    /*overflow-y: hidden;*/
}

#searchHistory::-webkit-scrollbar {
  display: none;
}

#scrollHint{
    position: absolute;
    z-index: 10;
    top: 100%;
    margin-top: calc(-64px - 8px);
    width: calc(100% - 16px);
    height: 64px;
    background-image: linear-gradient(180deg, rgb(255, 255, 255, 0), rgb(255, 255, 255, 100));
}

.listItem{
    width: 100%;
    height: 52px;
    /*background-color: yellow;*/
    display: flex;
    align-items: center;
    border-radius: 8px;
    font-weight: 500;
}

.listItem:hover{
    background-color: rgb(0, 0, 0, 0.05);
}

.listItem>img{
    width: 24px;
    height: 24px;
    margin-left: 12px;
}

.listItem>p{
    margin-left: 12px;
    color: black;
    font-family: roboto, sans-serif;
    font-size: 16px;
}

.listItem > p {
    width: 100%;
    /*background-color: aqua;*/
}

.listItem > .thumbnail {
    margin:0;
    padding:0;
    margin-right: 4px;
    width: 52px;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 2px;
}

.listItem > .deleteButton {
    margin:0;
    padding:0;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    cursor: pointer;
}

.show{
    visibility: visible;
}

.hide {
    visibility: hidden;
}









