@keyframes category-tab-ani {
    from {background-color: white;}
    to {background-color: #f1f1f1;}
  }

html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100vw;
    padding: 0;
    margin: 0;
    user-select: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

.navbar {
    display: flex;
    width: 100%;
    height: 15vh;
    box-shadow: 0px 0px 12px 0px #0000001c;
    flex-direction: row;
    background-color: white;
    z-index: 100;
    position: sticky;
    top: 0;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    font-family: "Noto Sans", sans-serif;
    font-size: large;
    line-height: 190%;
}

.logo-img {
    display: flex;
    margin: 0.5vw;
    align-items: center;
}

.mainbar {
    z-index: 1;
    display: flex;
    width: 80vw;
    height: 100%;
    flex-direction: column;
}

.topbar {
    display: flex;
    width: 100%;
    height: 50%;
    flex-direction: row;
    justify-content: right;
    align-items: center;
}

.bottombar {
    display: flex;
    width: 100%;
    height: 50%;
    padding: 0px 10px 0px 0px;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: row;
}

.category-tab {
    z-index: 0;
    position: relative;
    display: flex;
    width: 7vw;
    height: 5vh;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    &:not(#active):before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0%;
        border-radius: 10px 10px 0px 0px;
        background: #f1f1f1;
        z-index: -1;
        transition: height 0.4s ease;
    }
    &:not(#active):hover::before {
        height: 100%;
    }
}

#active {
    box-shadow: inset 0px 0px 12px 0px #0000001c;
    color: black;

/*    position: absolute;

    left: var(--x);
    top: var(--y);

    width: var(--w);
    height: var(--h);

    border-radius: var(--r);

    border: 2px dashed white;*/
}

a {
    font-family: "Noto Sans", sans-serif;
    color: black;
    text-decoration: none;
}

.searchbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw;
    height: 3vh;
    display: flex;
    color: grey;
    font-family: "Noto Sans", sans-serif;
    flex-direction: row;
    column-gap: 10px;
    justify-content: left;
    align-items: center;
    border-bottom: 2px solid black;
}

.searchbar input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    width: 100%;
}

.nav-button {
    display: flex;
    width: 1.5vw;
    height: 1.5vw;
    object-fit: contain;
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
    object-fit: contain;
    transition: background-color 0.2s;
    &:hover {
        background-color: #f1f1f1;
    }
}

#filter-button {
    position: absolute;
    right: 0;
}