*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: #000;
}

/* font setting */
@font-face {
    /* cafe24 font */
    /* 메뉴 용도 */
    font-family: 'menuFont';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/Cafe24Ohsquare.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* G마켓 산스 */
    /* 비주얼 용도 */
    font-family: 'sansFont';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* 구름 산스 */
    /* main Content 용도 (간단한 소개/) */
    font-family: 'contentFont';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408@1.0/goorm-sans-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    /* 티몬체 */
    /* titleText 용도 */
    font-family: 'titleFont';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/TmonMonsori.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


html, body{
    background: #f5f5f5;
}

/* loading */
#loadingBox{
    width: 100%;
    height: 100vh;
    position: fixed;
    background: #00000024;
    z-index: 105;
}
#loading{
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3489db;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: loading 2s 0s infinite;

    position: absolute;
    left: 50%;
    top: 40%;

    transform: translate(-50%, -50%);
}

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

/* 모바일 배너 */
.mobileBanner{
    width: 300px;
    height: 50px;
    margin: 0 auto;

    top: 0;
    position: sticky;
    z-index: 105;

    display: none;
    
    &>div{
        width: 100%;
        height: 100%;
        background: #ffffff;
    }
}

/* 리더보드 배너광고 비활성화 */
.readerbord_banner{
    display: none;
    max-width: 728px;
    height: 90px;
    background: #fff;
    margin: 0 auto;
}

/* header */
header{
    width: 100%;
    height: 1.7cm;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background: #f5f5f5;

    #headerAll{
        width: 80%;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        /* logo */
        #logoBox{
            width: 200px;
            height: 100%;

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        /* 메뉴 */
        nav{
            margin-top: 5px;
            #mainMenu{
                display: flex;

                li{
                    
                }
                li>a{
                    font-size: 1.1rem;
                    padding: 0 10px;
                    font-family: "KOHIBaeumOTF";
                    
                    font-weight: bolder;
                    color: #636363;
                    &:hover{
                        border-bottom: 2px solid #000;
                        color: #000;
                    }
                }
            }
        }

        /* 햄버거 메뉴 */
        #hambugerMenu{
            width: 30px;
            height: 30px;
            margin-right: 20px;
            position: relative;
            display: none;

            div{
                background: #000;
                width: 100%;
                height: 13%;
                position: absolute;
            }

            &>div:nth-child(2){
                top: 50%;
                transform: translateY(-50%);
            }
            &>div:last-child{
                bottom: 0;
            }
        }

        #hambugerMenu.activeMenu{
            div:nth-child(2){
                display: none;
            }
            div:nth-child(1){
                top: 50%;
                transform: translateY(-50%) rotate(45deg);
            }
            div:nth-child(3){
                top: 50%;
                transform: translateY(-50%) rotate(135deg);
            }
        }

        #hambugerMenu_Box{
            position: absolute;
            background: #fff;
            right: 0;
            top: 0;
            height: 400px;
            z-index: 100;
            display: none; /* 비활성화 */
            box-shadow: 0 0 3px #000;

            width: 0;
            padding: 0;
            overflow: hidden;

            transition: 0.2s all;

            ul{
                margin-top: 20%;
                height: 300px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                z-index: 101;

                li{
                }
                li>a{
                    font-size: 1.2rem;
                    padding: 0 4px;
                    font-family: "KOHIBaeumOTF";
                    display: flex;
                    align-items: center;
                    
                    font-weight: bolder;
                    color: #636363;
                    &:hover{
                        border-bottom: 2px solid #000;
                        color: #000;

                    }
                    &::before{
                        content: '●';
                        font-size: 0.7rem;
                        margin-right: 10px;
                    }
                }

            }
        }
    }
}

/* ======================= */

/* visualSection */
#visualSection{
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-top: 1.7cm;

    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #visual_text{
        position: absolute;
        top: 20%;
        left: 13%;
        width: 500px;

        p{
            font-size: 4.8rem;
            font-family: "sansFont";
            font-weight: bolder;
            color: #fff;
        }
    }
}


/* main */
main{
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 80px;
    margin: 0 auto;
    
    /* 배너 광고판 */
    .bannerBox{
        width: 300px;
        height: 610px; /* 10px은 top 여유 공간 */
        position: sticky;
        display: flex;
        align-items: end;
        top: 0;
        
        .banner{
            background: #fff;
            width: 100%;
            height: 600px;
        }
    }
    
    /* mainContentBox */
    #mainContentBox{
        width: 60%;
        position: relative;
    }
}

/* 메인 타이틀 */
.titleText{
    font-family: "titleFont";
    font-size: 2rem;
    font-weight: 600;
}

/* 서브 타이틀 */
.subText{
    font-family: "contentFont";
    font-size: 1.3rem;
}

#titleTextBox{
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* 기본정보 입력창 */
#calcMain{
    width: 100%;
    height: 1000px;
    margin-top: 30px;

    .row{
        width: 100%;
        display: flex;
        position: relative;
        
        form.default{
            width: 50%;
            /* height: 80px; */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-left: 100px;

            .input_row{
                width: 60%;
                margin-bottom: 10px;

                label{
                    font-size: 0.9rem;
                    display: flex;
                    align-items: center;

                    input{
                        font-size: 1rem;
                        width: 50px;
                        height: 100%;
                        margin-left: 10px;
                        background: #00000000;
                        border: none;
                        border-bottom: 1px solid #505050;
                        position: relative;
                    }
                }
                select{
                    width: 140px;
                }
                select,input{
                    margin-top: 5px;
                    height: 50px;
                    padding-left: 5px;
                    font-size: 1.1rem;
                    width: 100%;
                }
            }
        }

        .valueBox{
            position: absolute;
            right: 10%;
            bottom: 160px;
            border-radius: 10px;
            box-shadow: inset 0 0 5px #9a9a9a;
            background: #fff;
            padding: 30px 10px;
            width: 40%;
            height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            p{
                font-size: 1.2rem;
                margin-bottom: 5px;
            }
        }

        #calcBtn{
            position: absolute;
            top: 40px;
            right: 16%;
            width: 27%;
            height: 200px;
            font-size: 3rem;
            font-family: "sansFont";
            font-weight: bolder;
            transition: 0.1s all;
            background: #fff;
            border: 5px solid #989898;
            border-radius: 3px;
            
            &:hover{
                cursor: pointer;
                box-shadow: inset 0 0 20px #000;
            }
        }
        
        #warning{
            position: absolute;
            bottom: 90px;
            width: 37%;
            right: 11%;
            font-size: 1rem;
            font-family: "sansFont";
            display: flex;
            flex-direction: column;
            align-items: center;

            span{
                color: #ff0000;
            }
        }
    }
}


/* ----------------- */
/* ================= */

/* footer */
footer{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;

    #footerAll{
        width: 79%;
        display: flex;
        align-items: center;
        justify-content: center;
        

        #f_content{
            width: 35%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            #f_logo{
                width: 300px;
                height: 150px;
    
                img{
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                }
            }

            span{
                font-size: 1.1rem;
            }
            p{
                margin-top: 20px;
                font-size: 1.1rem;
                color: #000000;
            }
        }
    }
}

/* 다음 단계 산출 바로가기 버튼 */
#nextBtn{
    position: fixed;
    right: 5%;
    bottom: 3%;
    width: 150px;
    height: 60px;

    text-align: center;
    font-size: 1.2rem;
    font-family: "contentFont";
    border-radius: 5%;
    
    border: 2px solid #000;
    background: #c9c9c9;

    cursor: pointer;
}
