/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    line-height: 1.3;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MY STYLING */

* {
    color: #ffffff;
}

b {
    font-weight: bold;
    font-size: 1.2em;
}

i {
    font-style: italic;
}

ul {
    list-style-type: square;
    padding-left: 1em;
}

hr {
    color: #00ff00;
}

img {
    image-rendering: crisp-edges;
}

body {
    height: 100%;
    margin: 0;
    font-family: monospace;
    background-color: black;
    background-image: url('img/stars.jpg'); /* fallback for js background */
    font-size: 11px;
    word-wrap: break-word;
    font-size: calc(min(1vh, 0.9vw) * 1.5);
    z-index: 0;
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

#main-content {
    position: relative;
    width: 640px;
    margin: 8em auto;
    width: min(100vh, 90vw);
    background: #000000;
    background-image: none;
    border: 2px solid #005500;
    zoom: 1;
    /*box-shadow: 0 0 20px #005500;*/
}
.actual-main-content {
    width: 100%;
    zoom: 1;
    overflow: hidden;
}

.triangle {
    position: absolute;
    bottom: 100%;
    width: 20%;
    zoom: 1;
    /*filter: drop-shadow(0 0 20px #005500);*/
}
.triangle-left {
    left: -2px;
}
.triangle-right {
    right: -2px;
}
.snout {
    position: absolute;
    top: 100%;
    width: 50%;
    margin: 0 25%;
    left: 0;
    zoom: 1;
    /*filter: drop-shadow(0 0 20px #005500);*/
}

.topbar-img, .topbar-img-wap, .topbar-img-pda {
    position: relative;
    width: 100%;
    z-index: 2;
}
.topbar-img-wap, .topbar-img-pda {
    display: none;
}

.topbar-area {
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.leftbar-ext {
    position: absolute;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    background-color: #080808;
    border-right: 0.3em #050505 solid;
    z-index: 0;
}

.leftbar {
    position: relative;
    z-index: 2;
    width: 20%;
    background-color: #080808;
    border-right: 0.3em #050505 solid;
    float: left;
    margin: 0;
    padding: 0;
    text-align: center;
    padding-bottom: 2em;
}

.page {
    position: relative;
    z-index: 99;
    width: 68%;
    float: right;
    zoom: 1;
    margin-top: -2em;

    padding: 2% 5%;
    margin-left: 0;
    margin-right: 0;
}

.top-cutout {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 100%;
    height: 2em;
    zoom: 1;
    text-align: right;
}

.top-cutout img {
    display: inline;
    vertical-align: top;
    height: 1.4em;
    zoom: 1;
    margin-right: 2%;
}

.top-cutout h1 {
    display: inline;
    font-size: 2em;
    font-weight: bold;
    margin-right: 1em;
    vertical-align: top;
}


.contents-text {
    display: block;
    width: 60%;
    margin: 0 20%;
    padding: 10% 0;
    zoom: 1;
}

.category-img {
    width: 70%;
    margin: 0 auto;
    zoom: 1;

    margin-top: 0.3em;
    margin-top: min(0.4em, 6px);
}

.column1 {
    float: left;
    vertical-align: top;
    width: 58%;
    margin-right: 2%;
}
.column2 {
    float: left;
    vertical-align: top;
    width: 40%;
}

.greenbar {
    margin-bottom: 0.3em;
    margin-bottom: min(0.4em, 6px);
    image-rendering: unset;
}

.box {
    position: relative;
    background: #111;
    color: #0f0;
    border: 1px solid #050;
    padding-top: 20px; /* old ie fallback */
    padding: 1.5em 1em;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    white-space: normal;
    margin-bottom: 2em;
}

.box-title-small {
    font-family: sans-serif;
    color: #0f0;
    position: absolute;
    top: -0.5em;
    left: 0.5em;
    padding: 0 2em;
    background-color: #070707;
    font-size: larger;
    font-weight: bold;
    border-top: 1px solid #050;
}

.box img {
    height: 1.5em;
    width: auto;
    vertical-align: middle;
}

.project-container {
    width: 100%;
    position: relative;

    /*background-color: #0F0F0F;
    border: 2px solid #002200;*/
    zoom: 1;
    display: block;
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #002200;
    zoom: 1;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    /*cursor: default;*/
}

.project-container:hover {
    text-decoration: underline;
    /*cursor: pointer;*/
}


.project-container-n div img {
    height: 5em;
    zoom: 1;
    margin-right: 1em;
}
.project-container-u div img {
    height: 5em;
    zoom: 1;
    margin-left: 1em;
}
.project-container span h2 {
    font-size: 1.5em;
    font-weight: bold;
}

.project-container-n div {
    float: left;
}
.project-container-u div {
    float: right;
    text-align: right;
}

.progress-label {
    position: absolute;
    top: 0.5em;
    left: 0;
    border-radius: 0.5em;
    background-color: #005500;
    font-size: 0.7em;
}

.project-container-u .progress-label {
    left: auto;
    right: 0;
}

.mobile-warning {
    display: none;
}

.page-markdown h1, .page-markdown h2, .page-markdown h3 {
    font-size: 1.5em;
    font-weight: bold;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #005500;
    width: fit-content;
    margin-bottom: 1em;
}

.project-screenshots {
    height: 10em;
    margin: 1em 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.project-screenshots img {
    height: 100%;
    zoom: 1;
    display: inline-block;
    margin-right: 1em;
    vertical-align: middle;
}

.ice-breaker img, b img {
    height: 1em;
}

.markdown-h1 {
    margin-top: 2em;
}

.ice-breaker .fursona {
    width: 50%; height: auto; zoom: 1; float: right;
}

.nohighlight:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .topbar-img {
        display: none;
    }
    .topbar-img-pda {
        display: block;
    }
    body {
        background-image: none;
    }
    .box {
        font-size: calc(min(1vh, 0.8vw) * 5)
    }
    #main-content {
        width: 100%;
        width: calc(100% - 4px);
        margin: 0;
        padding: 0;
    }
    #starCanvas, .top-cutout, .leftbar-ext, .contents-text, .triangle, .snout {
        display: none;
    }
    .fursona {
        float: none;
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 1em;
    }
    .leftbar {
        margin: 0;
        padding: 0;
        margin-top: 2em;
        width: 100vw;
        float: none;
    }
    .page {
        float: none;
        width: 90vw;
        padding-top: 3em;
        margin-top: 0;
        font-size: 2.5em;
    }
    .category-img {
        display: inline-block;
        width: 28vw;
        height: auto;
        padding: 0;
        margin: 0;
        padding-right: 2vw;
        border-right: 2px solid #005500;
        margin-left: 2vw;
    }
    .mobile-warning {
        display: block;
        width: 100%;
        background-color: #005500;
        font-size: 2em;
    }
    .greenbar {
        display: none;
    }
    .project-container {
        font-size: 1em;
    }
    .box-title-small {
        padding: 0 1em;
    }
    .column1, .column2 {
        float: none;
        width: 100%;
    }
}
