@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Comfortaa:wght@300..700&family=Fredoka:wght@300..700&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    outline: none;
    box-sizing: border-box;
    .material-icons{
        user-select: none;
        pointer-events: none;
    }
    img{
        object-fit: cover;
    }
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-track {
        background: #000;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #444;
        border-radius: 20px;
    }
}
body{
    margin: 0;
    padding: 0;
    background-color: #000;
    color:white;
}
.BackgroundVideo{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    video,source{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.HeaderWeb{
    width: 100%;
    height: 4rem;
    background-color: #0009;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 1em #0008;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    .Logo{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.7rem;
        gap: 0.5rem;
        font-family: 'Comfortaa',Arial, Helvetica, sans-serif;
        img{
            width: 2rem;
            object-fit: cover;
        }
    }
}
main{
    position: relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .Panels{
        width: 100%;
        height: 100%;
        background-color: #0005;
    }
    .SideBar-Button{
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        justify-content: center;
        align-items: center;
        width: 5rem;
        height: 3rem;
        background-color: #0009;
        overflow: hidden;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        border-bottom: 1px solid #444;
        border-left: 1px solid #444;
        border-right: 1px solid #444;
        transition: all .1s ease-in-out;
        box-shadow: 0 0 1em #0008;
        z-index: 9999;
        &:hover{
            height: 4rem;
        }
        button{
            pointer-events: all !important;
            color: white;
            width: 100%;
            height: 100%;
            font-size: 1.2rem;
            border: none;
            background-color: transparent;
            &:hover{
                background-color: #3339;
            }
        }
    }
    .Sidebar{
        position: relative;
        border-right: 1px solid #444;
        backdrop-filter: blur(5px);
        width: 20rem;
        height: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        background-color: #0009;
        ::-webkit-scrollbar{
            width: 10px !important;
        }
        ::-webkit-scrollbar-thumb {
            background-color: white;
        }
        .Sidebar-Item{
            margin: 1rem auto;
            width: 90%;
            height: auto;
            background-color: #222;
            display: flex;
            gap: 0.5rem;
            flex-direction: column;
            border-radius: 0.5rem;
            .Sidebar-ItemTittle{
                width: 100%;
                height: 3.5rem;
                margin: auto;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-family: Arial, Helvetica, sans-serif;
                position: relative;
                *{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                h1{
                    margin-left: 0.5rem;
                    font-size: 100%;
                }
                label{
                    position: absolute;
                    right: 0.5rem;
                    width: 2rem;
                    height: 3rem;
                    border-radius: 0.5rem;
                    background-color: #0009;
                    transition: all .1s ease-in-out;
                    &:hover{
                        background-color: #5559;
                    }
                    span{
                        font-size: 2rem;
                        transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    }
                    span.open{
                        rotate: 90deg;
                    }
                }
            }
            .Sidebar-ItemSubPanels{
                border: 1px solid #5559 ;
                margin: auto;
                width: 100%;
                padding: 0.5rem;
                height: auto;
                border-radius: 0.5rem;
                background-color: #0009;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 0.5rem;
                transition: all .1s ease-in-out;
                &.close{
                    height: 0rem;
                    display: none;
                }
                .SubPanel-Item{
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    font-family: Arial, Helvetica, sans-serif;
                    width: 100%;
                    height: 3rem;
                    padding: 0 0.5rem;
                    background-color: #222;
                    border-radius: 0.5rem;
                    font-size: 0.9rem;
                    transition: all .1s ease-in-out;
                    &:hover{
                        background-color: #333;
                    }
                }
            }
        }
    }
}
.FooterWeb{
    height: 10rem;
    width: 100%;
    background-color: #0009;
    backdrop-filter: blur(5px);
    border-top: 1px solid #444;
}
@media (max-width: 768px){
    .HeaderWeb{
        height: 4rem;
    }
    .HeaderWeb > .Logo{
        img{
            width: 2.5rem;
        }
        font-size: 0.6rem;
    }
    main{
        display: flex;
        justify-content: baseline;
        align-items: center;
        .Panels{
            width: 100%;
        }
    }
    main > .SideBar-Button{
        display: block;
    }
    main > .Sidebar{
        position: absolute;
        transform: translateX(-100%);
        &.open{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transform: translateX(0%);
            backdrop-filter: blur(5px);
            z-index: 1;
            .Sidebar-Item:first-child{
                margin-top: 4rem;
            }
        }
    }
}