/* 반응형 */
/* 모바일 */
/* 배너광고 변경 */
.readerbord_banner{
    display: block;
    width: 364px;
    height: 45px;
}

.mobileBanner{
    display: block;
}

/* header */
header{
    width: 100%;
    height: 1.7cm;
    display: flex;
    justify-content: center;
    align-items: center;

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

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

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

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

        /* 메뉴 */
        nav{

            display: none;
            #mainMenu{
                display: flex;

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

        /* 햄버거 메뉴 */
        #hambugerMenu{
            display: block;
            z-index: 101;
            transition: 0.2s all;
        }

        #hambugerMenu_Box{
            display: block;
            height: 450px;

            ul{
                margin-top: 40%;
            }
        }
    }
}

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

/* visualSection */
#visualSection{
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;

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

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

        p{
            font-size: 3rem;
            font-family: "sansFont";
            font-weight: bolder;
        }
    }
}

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

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

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

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


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

    .row{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        
        form.default{
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin-bottom: 20px;

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

                label{
                    font-size: 0.9rem;
                }
                select{
                    width: 140px;
                }
                select,input{
                    margin-top: 5px;
                    height: 50px;
                    padding-left: 5px;
                    font-size: 1.1rem;
                    width: 100%;
                }
            }
        }

        .valueBox{
            position: static;
            border-radius: 10px;
            box-shadow: inset 0 0 5px #9a9a9a;
            background: #fff;
            padding: 5px 10px;
            width: 80%;
            height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            margin-top: 200px;
            p{
                font-size: 1rem;
                margin-bottom: 5px;
            }
        }

        #calcBtn{
            position: absolute;
            top: auto;
            bottom: 360px;
            right: 50%;
            transform: translateX(50%);
            width: 50%;
            height: 90px;
            font-size: 2rem;
            font-family: "sansFont";
            font-weight: bolder;
            transition: 0.1s all;
            background: #fff;
            border: 3px solid #989898;
            border-radius: 3px;
            
            &:hover{
                cursor: pointer;
                box-shadow: inset 0 0 20px #000;
            }
        }
        
        #warning{
            bottom: 290px;
            width: 95%;
            right: 50%;
            transform: translateX(50%);
            font-size: 0.8rem;
            font-family: "sansFont";
            display: flex;
            flex-direction: column;
            align-items: center;

            span{
                color: #ff0000;
            }
        }
    }
}

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

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

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

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

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

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

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