.wrap{
    width: 100%;
    height: 100%;
    margin: 64px auto 32px auto;
}

#header {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;

    .header_inner {
        width: 100%;
        margin: 0 auto;
        padding: 0 32px;
        display: flex;
        height: 64px;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #efefef;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
    }

    h1 {
        a {
            display: flex;
            align-items: center;
            gap: 16px;
            color: #333;
            font-size: 14px;
            font-weight: 400;
            line-height: normal;

            img {
                height: 32px;
            }

            p {
                position: relative;
                display: flex;
                align-items: baseline;
                gap: 8px;
                font-family: 'Montserrat', sans-serif;
                line-height: 20px;

                b {
                    color: #333;
                    text-align: center;
                    font-size: 20px;
                    font-weight: 700;
                    line-height: normal;
                }
            }
        }

        img {
            height: 24px;
            object-fit: contain;
        }
    }

    .header_right {
        display: flex;
        align-items: center;
        gap: 16px;

        .lang {
            display: flex;
            justify-content: center;
            position: relative;

            .lang_btn {
                display: flex;
                align-items: center;
                justify-content: center;
                border: none;
                outline: none;
                background-color: transparent;
                padding: 2px;
                margin: 0;
                width: 24px;
                height: 24px;
                border-radius: 4px;
                box-sizing: border-box;
                img {
                    width: 100%;
                    height: 100%;
                    filter: grayscale(1) brightness(0);
                }
            }
            ul {
                position: absolute;
                flex-direction: column;
                top: calc(100% + 6px);
                transform: translateX(0%);
                background-color: #fff;
                border-radius: 4px;
                box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
                padding: 4px;
                color: #333;

                li {
                    width: 100%;
                    text-align: center;

                    a {
                        font-size: 14px;
                        display: flex;
                        padding: 4px 8px;
                        border-radius: 4px;

                        &.eng {
                            margin-top: 4px;
                        }

                        &:hover {
                            background-color: var(--color-main);
                            color: #fff;
                        }

                        &.lang_select {
                            background-color: var(--color-main);
                            color: #fff;
                        }
                    }
                }
            }
        }
        .LoginProfile {
            width: 24px;
            height: 24px;
            display: flex;
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }
}

#main{
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 64px 32px;
    margin: 0 auto;
    max-width: 1280px;

    .doc-title{
        font-size: 32px;
        font-weight: 700;
    }

    section{
        display: flex;
        flex-direction: column;

        h2{
            margin-bottom: 32px;
        }
        h3{
            display: flex;
            color: #444;
            text-wrap: nowrap;
            align-items: center;

            hr{
                width: 100%;
                height: 1px;
                background-color: #888;
                margin-left: 16px;
                border: none;
            }

        }
        
        table{
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            border: 1px solid #efefef;

            thead{
                background-color: #f4f4f4;
                text-align: left;
            }
            th, td{
                border: 1px solid #efefef;
                padding: 16px;

                code{
                    background-color: #f4f4f4;
                    padding: 2px 4px;
                    border-radius: 4px;
                }
            }
            }
        }   
        .code-group{
            display: flex;
            flex-direction: column;
            gap: 40px;

            .code-block{
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
        }

        pre{
            background-color: #f4f4f4;
            padding: 16px;
            border-radius: 12px;
        }

            

        ol,ul{
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-left: 32px;
            color: #444;
        }
    }


.sub-footer {
    display: flex;
    width: 100%;
    margin: 0 auto;
    height: fit-content;
    flex: 1 0 auto;
    background-color: #f4f4f4;
    
    .sub-footer-inner {
        max-width: 1280px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding: 32px;
        width: 100%;
        flex-wrap: wrap;
        box-sizing: border-box;
        margin: 0 auto;

        .sub-footer-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 16px;
            flex: 0 0 auto;
            width: calc(100% / 5);

            h4 {
                font: 700 20px / normal 'Noto Sans KR', sans-serif;
                color: #333;
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 8px;
                list-style: none;

                li {
                    a {
                        font: 400 16px / normal 'Noto Sans KR', sans-serif;
                        color: #333;
                    }
                }
            }
        }
    }
}

#footer {
    position: fixed !important;
    bottom: 0;
    width: 100%;
    z-index: 99;

    .footer_inner {
        display: flex;
        width: 100%;
        height: 32px;
        padding: 0 32px;
        justify-content: space-between;
        flex-shrink: 0;
        align-self: stretch;
        border-top: 1px solid #efefef;
        background-color: #fff;
        align-items: center;

        span {
            color: #333;
            font: 400 12px / normal 'Montserrat', sans-serif;
        }

        p {
            color: #666;
            font: 400 12px / normal 'Montserrat', sans-serif;
        }
    }
}