@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic&display=swap');


a,
a:hover{
    text-decoration: none;
    outline: none;
}

.menu *,
.pagination *,
.contact *{
    margin: 0;
    padding: 0;
}

.metismenu li,
.widget li,
.pagination li,
.mobile-pagination li
{
    list-style: none;
}




body {
    font-family: 'Nanum Gothic', sans-serif;
    margin: 50px 100px;
    display : flex;
    justify-content: center;
    overflow-y: auto;
}
.whole-page{
    display: grid;
    grid-template-columns: 330px 990px;
    min-height: 770px;
    width: 1320px;
}


/* nav */
.description{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}
.description img{
    max-height: 150px;
    margin-bottom: 20px;
}


.nav{
    font-size: 14px;
    overflow: hidden;
}

.metismenu> li{
    margin: 20px;
}

.menu > ul > li > a{
    display: block;
    text-decoration: none !important;
    margin: 2px 0;
    /* font-size: 1rem; */
    position: relative;
    transition: all 0.5s;
}


.menu-second li a{
    padding: 8px 20px 8px 20px;
    transition: all 0.5s;
    display: block;
    text-decoration: none;
    font-size: 14px;
    text-decoration: none;

}

/* mobile nav */
.mobile-nav{
    display: none;
}

body.enlarged .nav {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: auto;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
}


/* contents */

.about-post i{
    margin-right: 5px;
}

.outer-contents{
    padding: 20px;
    margin: 20px;

}

.post-box{
    padding: 15px 0px;
}

.post-box > .title {
    font-size: 20px;
    margin: 0 0 10px;
}

.post-box > .title a {
    -webkit-transition:  .3s ease-out;
    transition:  .3s ease-out;
}

.about-post > div{
    display:inline-block;
    margin-right: 30px;
    font-size: 14px;
}

.post-list .post-content{
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: normal;
}

.post-page .post-content{
    margin-top: 50px;
    margin-bottom: 50px;
    line-height: 180%;
    max-height: 600px;
    overflow-y: auto;
}
    /* post markdown*/
    .post-page .post-content a{
        color: rgb(66, 184, 231);
    }
    .post-list .post-content *{
        font-size: 15px;
        font-style: normal;
        font-weight: normal;
        color: black;
        list-style: none;
        background: none;
        border: none;
        font-family: 'Nanum Gothic', sans-serif;
        padding: 0px;
        margin: 0px;

    }
    
    .post-page code.highlighter-rouge {
        padding: 2px 4px;
        font-family: monospace;
        background-color: #f5f5f5;
        border: 1px solid #ccc;
        border-radius: 1px;
        color: #333;
    }

    div.highlight{
        padding: 20px;
        padding-left: 40px;
        margin: 30px;
        max-width: 700px;
        overflow-x: auto;
    }



/* pagination */
.mobile-pagination{
    display: none;
}

.p-wrapper{
    display: flex;
    justify-content: center;
    padding: 20px;
}

.pagination > li {
    display: inline-block;
    margin-right: 2px;
}

.pagination {
    display: inline-block;
}

.pagination > li > a{
    display: block;
    float: none;
    padding: 8px 13px;
    transition: all 0.5s;
    border-radius: 50%;
}



.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover{
    cursor: default;
    z-index: 3;
}



/* sidebar */
/* .sidebar{
    padding: 30px;
    font-size: 14px;
    text-align: center;
} */

.widget-name{
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

/* .widget-name:after {
    border-bottom: 1px solid #0db3e3;
} */


.aboutme > img {
    margin-bottom: 20px;
    max-width: 100%;
    width: 120px;
    height: auto;
    border-radius: 50%;
}

.aboutme > p{
    text-align: center;
}

.widget{
    padding: 20px;
}


.tagcloud > a {
    border-radius: 2px;
    font-weight: 700;
    display: inline-block;
    font-size: 9px;
    letter-spacing: 1px;
    margin: 6px 6px 6px 0;
    padding: 7px 5px 5px 7px;
    text-transform: uppercase;
    transition: all 0.5s;
}

.tagcloud > a:hover {
    color: #fff;
}

.contact > ul{
    display: flex;
    justify-content: center;
}
.contact li{
    font-size: 20px;
    padding: 10px;
    margin: 5px;
}

/* category page */
.category-title{
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 10px;
}


.sidebar{
    display: none;
}

/* responsive */
@media (max-width: 1024px){

    
    body {
        margin: 0;
        padding: 0;
        display : flex;
        justify-content: center;
    }

    .whole-page{
        display: block;
        width: 100%;
    }

    .sidebar{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav .widget{display: none;}
    .nav .menu{display: block;}
    .sidebar .widget{padding: 20px;}

    .p-wrapper{padding: 0px;}
    .p-wrapper ul{padding: 0px;}

    .outer-contents{padding: 0px;}
    .about-post > div{margin-right: 15px; font-size: 12px;}
    
    .post-box > .title {
        font-size: 18px;
    }
    .post-page .post-content{
        max-height: none;
    }
    div.highlight{
        padding: 0;
        margin: 0;
        max-width: 90vh;
        overflow-x: auto;
    }

    #myBtn {
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        padding: 8px; /* Some padding */
        border-radius: 5px;
        font-size: 14px; /* Increase font size */
      }
      

}




