/* Theme: Clean (Default) */
/* This is a copy of the original resume-stylesheet.css */

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/**
 * Remove default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    background: transparent;
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C""\201D""\2018""\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 2 */
    margin: 0;
    /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],
/* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto;
    /* 1 */
    vertical-align: top;
    /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.go-top {
    position: fixed;
    bottom: 2em;
    right: 2em;
    text-decoration: none;
    background-color: #E0E0E0;
    font-size: 12px;
    padding: 1em;
    display: inline;
}

/* Github css */


@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: local('Roboto Thin'), local('Roboto-Thin'), url(https://themes.googleusercontent.com/static/fonts/roboto/v10/vzIUHo9z-oJ4WgkpPOtg1_esZW2xOQ-xsNqO47m55DA.woff) format('woff');
}


html,
body {
    margin: auto;
    padding-right: 1em;
    padding-left: 1em;
    max-width: 64em;
    color: black;
}

*:not('#mkdbuttons') {
    margin: 0;
    padding: 0
}

body {
    font: 13.34pxHelvetica;
    -webkit-font-smoothing: subpixel-antialiased;
    line-height: 1.4;
    padding: 3px;
    background: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

p {
    margin: 1em 0
}

a {
    color: #4183c4;
    text-decoration: none
}

body {
    background-color: #fff;
    padding: 30px;
    margin: 15px;
    font-size: 14px;
    line-height: 1.6
}

body>*:first-child {
    margin-top: 0 !important
}

body>*:last-child {
    margin-bottom: 0 !important
}

@media screen {
    body {
        box-shadow: none
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 20px 0 10px;
    padding: 0;
    font-weight: bold;
    -webkit-font-smoothing: subpixel-antialiased;
    cursor: text
}

h1 {
    font-size: 37px;
    color: #000;
    text-align: center
}

h2 {
    font-size: 24px;
    border-bottom: 1px solid #ccc;
    color: rgb(0, 0, 0)
}

h3 {
    font-size: 18px;
    color: #333;
    -webkit-margin-before: 0.01em;
    -webkit-margin-after: 0.01em;
}

h4 {
    font-size: 16px;
    color: #333;
    text-align: center;
    -webkit-margin-before: 0.02em;
    -webkit-margin-after: 0.02em;
}

h5 {
    font-size: 14px;
    color: #333;
    text-align: center
}

h6 {
    color: #777;
    font-size: 14px;
    text-align: center
}

p,
blockquote,
table,
pre {
    margin: 15px 0
}

ul {
    padding-left: 30px
}

ol {
    padding-left: 30px
}

ol li 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G9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
    border: 0 none;
    color: #ccc;
    height: 4px;
    padding: 0
}

body>h2:first-child {
    margin-top: 0;
    padding-top: 0
}

body>h1:first-child {
    margin-top: 0;
    padding-top: 0
}

body>h1:first-child+h2 {
    margin-top: 0;
    padding-top: 0
}

body>h3:first-child,
body>h4:first-child,
body>h5:first-child,
body>h6:first-child {
    margin-top: 0;
    padding-top: 0
}

a:first-child h1,
a:first-child h2,
a:first-child h3,
a:first-child h4,
a:first-child h5,
a:first-child h6 {
    margin-top: 0;
    padding-top: 0
}

h1+p,
h2+p,
h3+p,
h4+p,
h5+p,
h6+p,
ul li>:first-child,
ol li>:first-child {
    margin-top: 0
}

dl {
    padding: 0
}

dl dt {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    padding: 0;
    margin: 15px 0 5px
}

dl dt:first-child {
    padding: 0
}

dl dt>:first-child {
    margin-top: 0
}

dl dt>:last-child {
    margin-bottom: 0
}

dl dd {
    margin: 0 0 15px;
    padding: 0 15px
}

dl dd>:first-child {
    margin-top: 0
}

dl dd>:last-child {
    margin-bottom: 0
}

blockquote {
    border-left: 4px solid #DDD;
    padding: 0 15px;
    color: #777
}

blockquote>:first-child {
    margin-top: 0
}

blockquote>:last-child {
    margin-bottom: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 100%;
    font: inherit
}

table th {
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 6px 13px
}

table td {
    border: 1px solid #ccc;
    padding: 6px 13px
}

table tr {
    border-top: 1px solid #ccc;
    background-color: #fff
}

table tr:nth-child(2n) {
    background-color: #f8f8f8
}

img {
    max-width: 100%
}

code,
tt {
    margin: 0 2px;
    padding: 0 5px;
    white-space: nowrap;
    border: 1px solid #eaeaea;
    background-color: #f8f8f8;
    border-radius: 3px;
    font-family: Consolas, 'Liberation Mono', Courier, monospace;
    font-size: 12px;
    color: #333
}

pre>code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: 0;
    background: transparent
}

.highlight pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 19px;
    overflow: auto;
    padding: 6px 10px;
    border-radius: 3px
}

pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 19px;
    overflow: auto;
    padding: 6px 10px;
    border-radius: 3px
}

pre code,
pre tt {
    background-color: transparent;
    border: 0
}

.poetry pre {
    font-family: Georgia, Garamond, serif !important;
    font-style: italic;
    font-size: 110% !important;
    line-height: 1.6em;
    display: block;
    margin-left: 1em
}

.poetry pre code {
    font-family: Georgia, Garamond, serif !important;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    white-space: pre-wrap
}

sup,
sub,
a.footnote {
    font-size: 1.4ex;
    height: 0;
    line-height: 1;
    vertical-align: super;
    position: relative
}

sub {
    vertical-align: sub;
    top: -1px
}

.footer {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9em;
    color: #777;
}

@media print {
    /* Hide the download link and footer in print view */
    a[href$=".pdf"],
    .footer {
        display: none !important;
    }

    /* Ensure background colors (like code blocks) print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Reset margins for print to let the printer handle it */
    html, body {
        margin: 0 !important;
        padding: 5mm !important;
        background: #fff;
    }

    body {
        font-size: 10pt;
        line-height: 1.2;
    }
    
    /* Compact Headers */
    h1 {
        font-size: 16pt;
        margin: 0 0 8px 0;
    }

    h2 {
        font-size: 13pt;
        margin: 8px 0 4px 0;
        padding-bottom: 2px;
        page-break-after: avoid;
    }

    h3 {
        font-size: 11pt;
        margin: 6px 0 3px 0;
        page-break-after: avoid;
    }

    h4, h5, h6 {
        font-size: 10pt;
        margin: 4px 0;
    }

    /* Compact Paragraphs and Lists */
    p, ul, ol, dl {
        margin: 1px 0;
    }

    li {
        margin: 1px 0;
    }

    /* Prevent page breaks inside headers only */
    h2, h3 {
        page-break-inside: avoid;
    }
    
    /* Optimize Skills section to save space */
    ul {
        padding-left: 1.2em;
    }
}

/* Improve general readability on screen */
body {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

/* Theme Switcher Styles */
#theme-switcher {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: sans-serif;
    font-size: 14px;
}

#theme-switcher label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

#theme-select {
    padding: 6px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Dark Mode Styles (Merged from theme-dark.css) */
body.dark-mode {
    background-color: #1e1e1e;
    color: #d4d4d4;
}

body.dark-mode a {
    color: #4daafc;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6,
body.dark-mode b, 
body.dark-mode strong,
body.dark-mode dt,
body.dark-mode th {
    color: #ffffff;
}

body.dark-mode h2 {
    border-bottom-color: #444;
}

body.dark-mode hr {
    border-top-color: #444;
    color: #444;
}

body.dark-mode fieldset,
body.dark-mode table th,
body.dark-mode table td,
body.dark-mode table tr {
    border-color: #444;
}

body.dark-mode table tr {
    background-color: #1e1e1e;
}

body.dark-mode table tr:nth-child(2n) {
    background-color: #252526;
}

body.dark-mode button, 
body.dark-mode input, 
body.dark-mode select, 
body.dark-mode textarea {
    color: #d4d4d4;
    background-color: #333;
    border-color: #555;
}

body.dark-mode blockquote {
    border-left-color: #444;
    color: #999;
}

body.dark-mode code, 
body.dark-mode tt,
body.dark-mode pre,
body.dark-mode .highlight pre {
    background-color: #2d2d2d;
    border-color: #444;
    color: #d4d4d4;
}

body.dark-mode .go-top {
    background-color: #333;
    color: #d4d4d4;
}

/* Dark Mode Switcher Styles */
body.dark-mode #theme-switcher {
    background: #252526;
    border-color: #444;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.dark-mode #theme-switcher label {
    color: #d4d4d4;
}

body.dark-mode #theme-select {
    border-color: #555;
    background-color: #333;
    color: #d4d4d4;
}

@media print {
    #theme-switcher {
        display: none !important;
    }
    
    /* Dark Mode Print Overrides */
    body.dark-mode {
        background-color: #1e1e1e !important;
        color: #d4d4d4 !important;
    }
    
    body.dark-mode h1, 
    body.dark-mode h2, 
    body.dark-mode h3, 
    body.dark-mode h4, 
    body.dark-mode h5, 
    body.dark-mode h6 {
        color: #ffffff !important;
    }
    
    body.dark-mode h2 {
        border-bottom-color: #555 !important;
    }
    
    body.dark-mode a {
        color: #4daafc !important;
    }
}
