body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.navbar {
    position: absolute;
    width: 50px;
    backdrop-filter: blur(5px);
    height: calc(100vh - 140px);
    margin: 0px;
    padding: 20px 0px;
    top: 50px;
    left: 30px;
    display: flex;
    vertical-align: middle;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.6) inset,
                0px 0px 10px 2px rgba(0, 0, 0, 0.1) inset;
    border: 1px solid rgba(0, 0, 0, 0.2);
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.home {
    width: fit-content;
    display: flex;
    fill: #454545;
}

.navbar:has(.active)::before {
    display: block;
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 6px rgba(255, 255, 255, 0.6) inset,
                0px 0px 10px 2px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar:has(.home.active)::before {
    top: 13px;
}

.gear {
    position: absolute;
    width: 800px;
    height: 800px;
    left: -400px;
    bottom: -400px;
    fill: black;
    z-index: 8;
    animation: spin 2s linear infinite;
}

.gear path{
    fill: black;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.darkmode {
    position: absolute;
    width: 40px;
    height: 40px;    
    z-index: 16;
    backdrop-filter: invert(100%);
    bottom: 60px;
    left: 36px;
    border-radius: 100%;
    cursor: pointer;
}

.darkmode.dark {
    animation: inc 1s forwards;
}

.darkmode.light {
    animation: dec 1s forwards;
}

@keyframes inc {
    0% {
        left: 36px;
        bottom: 60px;
        width: 40px;
        height: 40px;
    }
    100% {
        left: -250vh;
        width: 500vh;
        height: 500vh;
        bottom: -250vh;
    }
}

@keyframes dec {
    0% {
        left: -250vh;
        width: 500vh;
        height: 500vh;
        bottom: -250vh;
    }
    100% {
        left: 36px;
        bottom: 60px;
        width: 40px;
        height: 40px;
    }
}