@import url('var.css');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    accent-color: var(--primary);
}


body {
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 47%, rgba(15, 0, 48, 1) 93%);
    background-repeat: repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 20px);
    font-family: "Lato", sans-serif;
    overflow: hidden;
    padding: 10px;
}

header {
    background: var(--achtergrond-blok);
    position: relative;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: var(--shaduw);
    padding: 8px 18px;
    border: 1px solid #1e1e1e;
    z-index: 11;
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        img {
            height: 46px;
        }
    }
    .dropdown{
        i.material-icons {
            font-size: 32px;
            color: #ffffff;
            width: 32px;
            aspect-ratio: 1 / 1;
            display: flex;
            justify-content: center;
            align-items: center;
            user-select: none;
        }
        .fruurd-app-menu {
            margin-top: 20px !important;
            background: var(--achtergrond-blok);
            border-radius: 12px;
            min-width: 300px;
            box-shadow: var(--shaduw);
            border: 1px solid #1e1e1e;
            backdrop-filter: blur(5px);
            .apps-menu-item{
                text-align: center;
                padding: 1rem;
                text-decoration: none;
                color: #ffffff;
                user-select: none;
                img.apps-menu-icon {
                    width: 64px;
                    aspect-ratio: 1 / 1;
                    box-shadow: 2px 2px 5px black;
                    margin-bottom: 10px;
                    border-radius: 20px;
                    height: auto;
                }
            }
        }
    }
}

.fruurd-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    height: calc(100% - 70px);
    z-index: 10;
    position: relative;
    #category-container {
        flex: 1;
        max-width: 300px;
        background: var(--achtergrond-blok);
        height: 100%;
        padding: 30px;
        border-radius: 10px;
        border: 1px solid #1e1e1e;
        box-shadow: var(--shaduw);
        overflow-y: auto;
        z-index: 1;
        position: relative;
        font-family: 'Open Sans';
        #category-list {
            list-style-type: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            flex-direction: column;
            height: 100%;
            #sidebar-nav {
                flex: 1;
                max-width: 300px;
                height: calc(100% - 300px);
                display: flex;
                overflow-y: auto;
                flex-direction: column;
                justify-content: space-between;
                .category-section {
                    display: flex;
                    gap: 10px;
                    flex-direction: column;
                    margin: 20px 0;
                    a{
                        text-decoration: none;
                        li, li#new-sounds {
                            user-select: none;
                            display: flex;
                            cursor: pointer;
                            flex-direction: row;
                            align-items: center;
                            color: var(--tekst-kleur);
                            border-radius: 10px;
                            transition: .3s;
                            text-decoration: none;
                            padding: 2px 10px;
                            border: 1px solid transparent;
                            font-weight: 400;
                            img#profielfoto {
                                width: 28px;
                                height: 28px;
                                display: flex;
                                flex-direction: row;
                                justify-content: center;
                                align-items: center;
                                background: linear-gradient(rgb(66, 66, 66) 0%, rgb(0, 0, 0) 100%);
                                margin: 5px;
                                border-radius: 100px;
                            }
                            .sidebar-button p {
                                margin: 0 !important;
                            }
                        }
                    }
                }
                .sidebar-category-container{
                    .category-section {
                        display: flex;
                        gap: 10px;
                        flex-direction: column;
                        margin: 20px 0;
                        .section-title {
                            color: #858585;
                            font-size: 16px;
                            margin-bottom: 20px;
                        }
                        li{
                            user-select: none;
                            display: flex;
                            cursor: pointer;
                            flex-direction: row;
                            align-items: center;
                            color: var(--tekst-kleur);
                            border-radius: 10px;
                            transition: .3s;
                            text-decoration: none;
                            padding: 2px 10px;
                            border: 1px solid transparent;
                            font-weight: 400;
                            .cat-image {
                                width: 28px;
                                height: 28px;
                                display: flex;
                                flex-direction: row;
                                justify-content: center;
                                align-items: center;
                                margin: 5px;
                                border-radius: 100px;
                            }
                        }
                        li.active-sidebar {
                            background: #69696952;
                        }
                    }
                }

            }
            .indicator {
                position: absolute;
                left: 0;
                width: 3px;
                height: 40px;
                background: #5300f5;
                border-radius: 2px;
                transition: transform 0.2s ease, height 0.2s ease;
                will-change: transform, height;
                pointer-events: none;
                z-index: 2;
            }
        }
    }
    #tierlist-container {
        flex: 3;
        position: relative;
        background: var(--achtergrond-blok);
        height: 100%;
        padding: 30px;
        border-radius: 10px;
        border: 1px solid #1e1e1e;
        box-shadow: var(--shaduw);
        overflow-y: auto;
        z-index: 1;
        .tierlist-card{
            position: relative;
            background: var(--achtergrond-blok);
            height: 100%;
            padding: 30px;
            border-radius: 10px;
            border: 1px solid #1e1e1e;
            box-shadow: var(--shaduw);
            z-index: 1;
            color: var(--tekst-kleur);
        }
    }
}

#mobile-menu, #fullscreen-menu {
    display: none;
}

@media only screen and (max-width: 995px) {
    #category-container {
        display: none !important;
    }
    #mobile-menu {
        position: fixed;
        bottom: 20px;
        height: 74px;
        left: 20px;
        display: flex;
        right: 20px;
        flex-direction: row;
        border: none;
        overflow: hidden;
        background: var(--achtergrond-blok);
        box-shadow: var(--shaduw);
        color: var(--tekst-kleur);
        justify-content: space-between;
        border-radius: 20px;
        z-index: 1000;
        backdrop-filter: blur(15px);
        width: auto;
        top: auto;
        visibility: visible;
    }
    #fullscreen-menu {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000000;
        color: var(--tekst-kleur);
        z-index: 1000;
        overflow-y: hidden;
        transition: .3s;
    }
    #fullscreen-menu.hidden {
        visibility: hidden;
        height: 0;
        user-select: none;
    }
}