:root {
    --red: #fe2031;
    --dark: #0d0d0c;
    --gray: #111111;
    --white: #ffffff;
    --gray-dark: #272727;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.05);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 3px;
}

*::-webkit-scrollbar-track {
    background: var(--dark);
}

*::-webkit-scrollbar-thumb {
    background: var(--red);
}

*::-webkit-scrollbar-thumb:active {
    background: var(--red);
}

::selection {
    background-color: var(--red);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    zoom: 75%
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: var(--dark);
    color: var(--white);
    height: 100%;
}

nav {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
    padding: 1.5rem 12vw;
}

nav .logo {
    margin-right: auto;
    transition: transform 0.3s ease-in-out;
}

nav .logo img {
    height: 5rem;
}

nav .logo:hover {
    transform: scale(1.1);
}

.main-layout {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 30px;
    max-width: 1500px; 
    margin: 0 auto;
}

.category {
    flex: 0 0 200px;
    background-color: var(--dark);
    box-shadow: var(--shadow);
    padding: 10px;
    border-radius: 5px;
    height: auto;
    position: relative;
    max-height: 300px;
}

.value {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    color: var(--red);
    display: flex;
    position: relative;
    gap: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.850rem;
    text-align: left;
    width: 100%;
}

.value:not(:active):hover,
.value:focus {
    background-color: var(--gray-dark);
}

.value:focus,
.value:active {
    background-color: var(--gray-dark);
    outline: none;
}

.value::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -10px;
    width: 5px;
    height: 80%;
    background-color: var(--red);
    border-radius: 5px;
    opacity: 0;
}

.value:focus::before,
.value:active::before {
    opacity: 1;
}

.value svg {
    width: 15px;
}

.category:hover > :not(.value:hover) {
    transition: 300ms;
    filter: blur(1px);
    transform: scale(0.95, 0.95);
}

.value.active {
    background-color: var(--gray-dark);
    font-weight: bold;
}

.value.active::before {
    opacity: 1;
}

@media only screen and (max-width: 777px) {
    nav {
        flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 3rem 12vw;
        gap: 2rem;
    }

    nav .logo {
        margin-right: 0;
        transition: all .3s ease-in-out;
    }

    .main-layout {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .category {
        width: 100%;
        flex: 0 0 auto;
        margin-bottom: 15px;
        height: auto;
        max-height: 330px;
    }
}