/* Remove it from * and put it here */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: "Open Sans", sans-serif;
    background-color: #282c34;
    padding-top: 50px;
}

.header {
    font-size: 18px;
    background: #ffffff;
    height: 56px;
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    padding: 15px;
    color: rgb(0 0 0 / 70%) !important;
    border-bottom: 1px solid #ffffff2b;
    font-size: 16px;
    padding-left: 25px;
    b {
        font-size: 18px;
        color: #191c22;
    }
}
.container {
    display: flex;
    .left {
        border-right: 1px solid #ffffff2b;
        width: 300px;
        background-color: #191c22;
        color: white;
        position: fixed;
        top: 0;
        height: 100%;
        .navigation {
            padding: 30px;
            padding-top: 71px;
        }
        #postman {
            position: absolute;
            bottom: 0px;
            width: 300px;
            padding: 25px;
            border-top: 1px solid #ffffff2b;
            button {
                width: 100%;
                border: none;
                padding: 15px;
                border-radius: 5px;
                display: flex;
                align-items: center;
                cursor: pointer;
                background-color: rgb(40 44 52);
                color: white;
                border: 1px solid #ffffff2b;
                transition: all 0.25s;
                &:hover {
                    background-color: white;
                    color: black;
                }
                img {
                    width: 15px;
                    margin-right: 10px;
                }
            }
            
        }
        a {
            color: rgba(255, 255, 255, 0.534) !important;
            text-decoration: none;
            display: block;          /* Better for clicking */
            font-size: 15px;
        }

        a.active {
            color: white!important;
        }
        ul {
            list-style: none; /* Hide default square */
            padding-left: 0;

            li {
                display: flex;
                align-items: center;
                margin-bottom: 5px;

                /* Create custom square */
                &::before {
                    content: "";
                    display: inline-block;
                    width: 8px;
                    height: 8px;
                    background-color: rgba(255, 255, 255, 0.2);
                    margin-right: 12px;
                    transition: background-color 0.3s ease;
                }

                /* Change square color when active */
                &:has(a.active)::before {
                    background-color: #FF6C37;
                    box-shadow: 0 0 8px rgba(255, 108, 55, 0.5); /* Optional: slight glow */
                }
            }
        }
        b {
            font-size: 18px;
        }
    }
    .right {
        width: calc(100% - 300px);
        margin-left: 300px;
        section {
            border-top: 1px solid #ffffff2b;
            padding: 35px;
            scroll-margin-top: 55px; 
            &:first-child {
                border: none;
            }
        }
        pre {
            margin: 0px;
        }
        h2 {
            color: white;
            margin-top: 0px;
            font-size: 18px;
        }
        .hljs {
            background-color: #191c22;
            border-radius: 5px;
            border: 1px solid #ffffff2b;
            &.language-json {
                padding-top: 0px;
                padding-bottom: 0px;
            }
            .hljs-number {
                color: #98c379;
            }
            .hljs-attr {
                color: #FF6C37;
            }
        }
        .call {
            padding: 10px;
            border: 1px solid #ffffff2b;
            border-radius: 5px;
            margin-bottom: 15px;
            font-size: 15px;
            .type {
                background-color: #FF6C37;
                display: inline-block;
                padding: 10px;
                border-radius: 5px;
                color: white;
                font-weight: 600;
                margin-right: 5px;
            }
            .link {
                display: inline-block;
                color: white;
                a {
                    color: white!important;
                    text-decoration: none!important;
                }
            }
        }
        small {
            color: white;
            display: block;
            margin-bottom: 15px;
        }

    }
}