.root {
    background: linear-gradient(180deg, var(--fg-2) 0%, var(--root) 500px);
}

#floating-search {
    top: var(--nav-h);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w);
    position: fixed;
    z-index: 2;
    padding: 10px;
    transition: .5s cubic-bezier(.5, 1, 0, 1);
    opacity: 1;
}
#floating-search.hide {
    top: 0;
    transform: translate(-50%, -100%);
}

.search-hold {
    position: relative;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid hsl(var(--fg-h), 0%, 60%);
}

.search-hold input {
    width: 100%;
    border-radius: 100px;
    background-color: hsla(var(--fg-h), 0%, 100%, .7);
    backdrop-filter: blur(1vw);
    padding: 20px 30px;
    border: none;
}
.search-hold input:focus {
    background-color: hsla(var(--fg-h), 0%, 100%, .8);
}

#search-btn {
    transition: .4s;
}
#search-btn:hover {
    background-color: var(--fg-2);
}

.search-hold svg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 20px;
    cursor: pointer;
}

.search-hold svg, .search-hold path {
    fill: none;
    stroke: hsl(var(--bg-h), 30%, 50%);
    stroke-width: .6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.categories-hold {
    width: 100%;
    overflow-x: scroll;
    display: flex;
    flex-wrap: wrap;
    border-radius: 20px;
    justify-content: space-evenly;
    position: relative;
    gap: 10px;
}

.controls-2 {
    position: relative;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}
/* .controls-2::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        hsla(var(--hue), 0%, 0%, 0) 0%,
        hsla(var(--hue), 0%, 0%, .5) 100%);
    z-index: 1;
    pointer-events: none;
} */

.divide {
    /* border-top: 1px solid var(--bg-2);
    border-bottom: 1px solid var(--bg-2); */
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        hsla(var(--hue), 0%, 0%, .05),
        hsla(var(--hue), 0%, 0%, 0));
}

.categories-hold button {
    box-sizing: content-box;
    flex: 1 0 150px;
    width: auto;
    max-width: none;
    min-width: none;
    position: relative;
    padding: 10px;
    border: none;
    border-radius: 20px;
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    background: hsl(var(--hue), 0%, 95%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 10px;
    font-size: 1em;
    font-family: var(--body);
    cursor: pointer;
    transform: scale(1);
    transition: transform .3s cubic-bezier(.5, .5, 0, 1);
    border: 1px solid hsla(var(--hue-5), 80%, 70%, 0);
}

.categories-hold button:active {
    transform: scale(.9);
}

.categories-hold button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    transition: .3s cubic-bezier(.5, .5, 0, 1);
}

.categories-hold button:not(.active):hover::before {
    height: 100%;
    background-color: hsl(var(--hue-5), 80%, 95%);
}

.categories-hold button.active {
    background-color: hsl(var(--hue-5), 80%, 90%);
    border: 1px solid hsl(var(--hue-5), 80%, 70%);
}

.categories-hold button * {
    position: relative;
}

.categories-hold svg, .categories-hold path, .categories-hold use, .categories-hold defs path {
    fill: var(--fg);
    height: 40px;
    transition: .3s cubic-bezier(.5, .5, 0, 1);
}

/* .categories-hold button.active svg,
.categories-hold button.active path {
    fill: var(--root);
} */

.tab-desc {
    padding: 20px;
}
.tab-desc.hidden {
    display: none;
}

.side-image {
    width: 200px;
    object-fit: cover;
    border-radius: 10px;
    border-top-right-radius: 30px;
    box-shadow: 2px 2px 0 var(--root);
}
#tab-desc-main .stacked {
    width: 200px;
}

.showcase-trio {
    background-color: hsl(var(--bg-h), 20%, 97%);
    border: 1px solid hsl(var(--bg-h), 20%, 90%);
    padding: 20px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    grid-column: 1/-1;
}

.showcase-trio > a {
    box-shadow: 3px 3px 10px #0003;
    border-radius: 10px;
}

@media screen and (max-width: 700px) {
    .categories-hold button {
        font-size: .9em;
    }

    .side-image {
        width: 150px;
    }

    .showcase-trio {
        gap: 20px
    }
}

@media screen and (max-width: 530px) {
    #tab-desc-main {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }
}