*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Pretendard,sans-serif;
    background:#e9e9e9;
    overflow:hidden;
}

#container{
    display:flex;
    width:100vw;
    height:100vh;
}

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

#sidebar{
    width:340px;
    background:#ffffff;
    border-right:1px solid #dcdcdc;
    overflow-y:auto;
    padding:24px;
}

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

#sidebar h2{
    font-size:18px;
    margin-top:24px;
    margin-bottom:14px;
}

#sidebar h2:first-child{
    margin-top:0;
}

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

#sidebar label{
    display:block;
    margin-top:14px;
    margin-bottom:6px;
    font-size:14px;
    font-weight:600;
}

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

#sidebar input[type="text"]{
    width:100%;
    height:42px;

    padding:0 12px;

    border:1px solid #d5d5d5;
    border-radius:8px;

    font-size:15px;
}

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

#sidebar input[type="file"]{
    width:100%;
}

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

#saveButton{

    width:100%;
    height:48px;

    margin-top:30px;

    border:none;
    border-radius:10px;

    background:#1f6fff;
    color:white;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

#saveButton:hover{

    background:#185ddd;

}

@media (max-width:768px){

    body{
        overflow:hidden;
    }

    #sidebar{
        display:none;
    }

    #preview{

        width:100vw;
        height:100vh;

        display:flex;
        justify-content:center;

        align-items:flex-start;

        padding-top:5vh;

        overflow:hidden;

    }

    #captureArea{

        width:720px;

        transform:scale(.47);

        transform-origin:top center;

        flex-shrink:0;

    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px){

    body{

        overflow:hidden;

    }

    #container{

        width:100vw;
        height:100vh;

    }

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

    #sidebar{

        display:none;

    }

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

    #preview{

        position:relative;

        width:100vw;
        height:100vh;

        display:flex;

        justify-content:center;
        align-items:flex-start;

        background:#dadada;

        overflow:hidden;

        padding-top:33vh;
        padding-bottom:92px;

    }

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

    #captureArea{

        width:720px;

        transform:scale(.49);
        transform-origin:top center;

        flex-shrink:0;

        margin:0;

    }

}

#noticeModal{

    position:fixed;

    top:0;
    left:0;

    width:100vw;
    height:100vh;

    background:rgba(0,0,0,0.45);

    display:flex;

    justify-content:center;
    align-items:center;

    z-index:10000;

}

.noticeBox{

    width:360px;

    background:#fff;

    padding:30px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.2);

    text-align:center;

    font-family:"Pretendard",sans-serif;

}

.noticeBox h2{

    margin-bottom:20px;

    font-family:"Isamanru",sans-serif;

}

.noticeBox p{

    text-align:left;

    line-height:1.8;

    font-size:14px;

    margin-bottom:25px;

}

#noticeClose{

    width:100%;

    height:40px;

    border:1px solid #ccc;

    background:#fff;

    border-radius:6px;

    cursor:pointer;

    font-family:"Isamanru",sans-serif;

}

#noticeClose:hover{

    background:#f5f5f5;

}