/* ==========================================================
   AUTHOR.CSS (Optimized)
   Safe version for Punjabi Kahani / Punjabi Kavita
========================================================== */

/* ---------- Header ---------- */

.header{
    width:100%;
    background:#038ff8;
    padding:10px 0;
    overflow:visible;
}

.header .container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
    display:table;
    table-layout:fixed;
}

.logo{
    display:table-cell;
    width:200px;
    vertical-align:middle;
    padding-left:10px;
}

.logo img{
    display:block;
    width:100%;
    max-width:160px;
    height:auto;
}

.menu{
    display:table-cell;
    vertical-align:middle;
    text-align:right;
    list-style:none;
    margin:0;
    padding:0;
}

.menu li{
    display:inline-block;
    margin-left:20px;
}

.menu li a{
    color:#f4faff;
    text-decoration:none;
    font-weight:700;
    font-size:16px;
}

.menu li a:hover{
    text-decoration:underline;
}

/* ---------- Mobile Menu ---------- */

.menu-btn{
    display:none;
}

.menu-icon{
    display:none;
    cursor:pointer;
    padding:10px;
    text-align:right;
}

.navicon{
    display:inline-block;
    width:25px;
    height:3px;
    background:#fff;
    position:relative;
}

.navicon:before,
.navicon:after{
    content:"";
    position:absolute;
    left:0;
    width:25px;
    height:3px;
    background:#fff;
}

.navicon:before{
    top:8px;
}

.navicon:after{
    top:-8px;
}

@media (max-width:1025px){

.menu-icon{
    display:block;
}

.menu{
    display:none;
    width:100%;
    background:#038ff8;
    text-align:center;
    padding:10px 0;
}

.menu li{
    display:block;
    margin:10px 0;
}

.menu-btn:checked ~ .menu{
    display:block;
}

}

/* ---------- Headings ---------- */

body h1,
body h1 a,
.section h1,
.section h1 a{

    color:#038ff8;
    font-family:Arial,Helvetica,sans-serif;
    font-size:32px;
    line-height:1.3;
    margin:10px 0 15px;

}

.section h2{

    font-size:18px;
    line-height:1.8;
    font-weight:400;
    color:#222;
    margin:0;

}

.section h3{

    font-size:20px;
    margin:20px 0 10px;

}

/* ---------- Author Section ---------- */

.section{

    background:#F4FAFF;
    width:100%;
    margin-top:20px;
    padding:20px;
    border:1px solid #0072C6;

    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;

    box-sizing:border-box;

}

.left{

    flex:1;
    min-width:250px;
    padding-right:25px;
    box-sizing:border-box;

    font-family:Arial,Helvetica,sans-serif;
    line-height:1.8;
    color:#222;

}

.right{

    width:160px;
    flex-shrink:0;

}

.right img{

    width:100%;
    height:auto;
    display:block;

}

/* ---------- Paragraphs ---------- */

.left p{

    font-size:18px;
    line-height:1.8;
    margin-bottom:18px;

}

/* ---------- Lists ---------- */

.left ul,
.list ul{

    list-style:none;
    padding:0;
    margin:0;

}

.left li,
.list li{

    list-style:none;
    margin-bottom:8px;

}

.left ul li a,
.list li a{

    color:#006400;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;

}

.left ul li a:hover,
.list li a:hover{

    color:#004d00;
    text-decoration:underline;

}

.left ul li a:visited,
.list li a:visited{

    color:#006400;

}

/* ---------- PRE ---------- */

pre{

    white-space:pre-wrap;
    word-wrap:break-word;
    overflow-x:auto;
    max-width:100%;

}

/* ---------- TABLE ---------- */

table{

    width:100%;
    table-layout:fixed;
    border-collapse:collapse;

}

/* ---------- Mobile ---------- */

@media only screen and (max-width:540px){

.section{

    flex-direction:column;

}

.left{

    width:100%;
    padding-right:0;
    min-width:100%;

}

.right{

    width:100%;
    order:-1;
    margin-bottom:15px;

}

.right img{

    width:50%;
    margin:auto;

}

body h1{

    font-size:28px;

}

.section h2,
.left p,
.list li a{

    font-size:17px;

}

}