/************************/
/* Fonts                */
/************************/

@font-face {
    font-family: "Noto Mono";
    src: url('fonts/NotoSansMono-Regular.ttf');
    src: url('fonts/NotoSansMono-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Mono Bold";
    src: url('fonts/NotoSansMono-Bold.ttf');
    src: url('fonts/NotoSansMono-Bold.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Mono Thin";
    src: url('fonts/NotoSansMono-Thin.ttf');
    src: url('fonts/NotoSansMono-Thin.ttf') format('truetype');
}

/*************************/
/* Colours and Variables */
/*************************/

:root{ }

/************************/
/* Main Layout          */
/************************/

body {
    background-color: #9E90A2; /*#ccc8c9*/
    color: #468189;
    font-family:  "Noto Mono", monospace;
    font-size:1.4em;
    line-height: 1.6em;
    font-style: normal;
    font-stretch: normal;
    font-optical-sizing: auto;
    margin: 0;
}



#content {
    background-color: #fffbfc;
    max-width: 50em;
    margin: auto;
    padding-left: 10em;
    padding-right: 10em;
    padding-bottom: 10em;
}



ol li {
    padding-top:1.4em;
}

ol {
    margin-left: 1em;
}


/************************/
/* Titles and Text      */
/************************/

h1, h2, h3, h4, h5 {
    font-family: 'Noto Mono Bold', monospace;
    color: #D26E12;

}

h1 {
    font-size: 4em;
    line-height: 0.75em;
    margin-bottom:0.5em;
    margin-top: 0;
}

h2 { font-size: 1.8em; }

h3 { font-size: 1.6em; }

.title {
    text-align: center;
    margin-bottom: .2em; }

.subtitle {
    font-family: 'Noto Mono Thin', Monospace;
    text-align: center;
    font-size: 2rem;
    margin-top:0; }

p{

}

blockquote {
    box-shadow: -0.5em 0.5em #9E90A2;
    color: #468189;
    background-color: #f6e8ea;
    padding: 1em;
}

code {
    background-color: #f6e8ea;
    border: 1px solid #9E90A2;
    border-radius: 0.25em;
    padding: 0.1em;

}

.content img {
    box-shadow: -0.5em 0.5em #9E90A2;
    color: #468189;
    background-color: #f6e8ea;
    padding: 1em;
}


/************************/
/* Navigation and Links */
/************************/
#preamble {
    background-color: #fffbfc;
    max-width: 60em;
    margin: auto;
    padding-left: 5em;
    padding-right: 5em;
    padding-bottom: 5em;
    padding-top: 5em;
}

nav {
    display:flex;
    justify-content:space-between;
}

nav ul{
    list-style:none;
    display: flex;
    justify-content:right;
    align-items:center;
}

nav ul li{
    font-family: 'Noto Mono', monospace;
    font-size: 1.4em;
    margin: 0 0.5em;    
}


a:link {
    color: #FF7F00;
    text-decoration: none;
    
}

a:visited {
    color: #FF7F00;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    background: #FF7F00;
    color: #FFFBFC;
    padding: 3px 10px;
}

a:active {
    background: #FFFBFC;
    color: #FF7F00;
}

/*************************/
/* Footer and Postamble  */
/*************************/

footer {
    font-family: "Noto Mono Thin", monospace;
    display:flex;
    flex-direction: column;
    align-content:end;
    align-items:center;
    justify-content:center;
    padding: 50px;
    background-color: lightgrey;
}

/*************************/
/* Media Queries         */
/*************************/

@media screen and (max-width: 1250px) {
    #content {
	padding-left: 7em;
	padding-right: 7em;
    }
    #preamble {
	padding-left: 5em;
	padding-right: 5em;
    }
    nav{font-size:1.2rem;}
}

@media screen and (max-width: 1000px) {
    body{font-size:1em;}
    nav img {
	width:20vw;
    }
}

@media screen and (max-width: 900px)  {
    #preamble {
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 2em;
	padding-top: 4em;
    }
    nav {
	flex-direction:column;
	align-items:center;
    }
    nav ul{padding:0;}
    nav img {
	margin-bottom: 1em;
    }
    .subtitle {font-size:1.4rem;}
}

@media screen and (max-width: 700px)  {
    .subtitle {
	line-height: 1rem;
	font-size: 0.8rem;
    }

    #content {
	padding-left: 2em;
	padding-right: 2em;
    }
    nav ul {
	flex-wrap:wrap;
	justify-content: center;
	padding:0;
    }
    nav ul li {
	font-size: 1.2em;
	margin-top:0.5em;
    }

    nav img {
	width:30vw;
    }


}

/*************************/
/* Org Specific Styles   */
/*************************/

.todo {
    font-family: monospace;
    color: red;
}

    .done {
	font-family: monospace;
	color: green;
    }

    .priority {
	font-family: monospace;
	color: orange;
    }

    .tag {
	background-color: #eee;
	font-family: monospace;
	padding: 2px;
	font-size: 80%;
	font-weight: normal;
    }

    .timestamp { color: #bebebe; }

    .timestamp-kwd { color: #5f9ea0; }

    .org-right  { margin-left: auto; margin-right: 0px;  text-align: right; }

    .org-left   { margin-left: 0px;  margin-right: auto; text-align: left; }

    .org-center { margin-left: auto; margin-right: auto; text-align: center; }

    .underline { text-decoration: underline; }

    #postamble p, #preamble p { font-size: 90%; margin: .2em; }

    p.verse { margin-left: 3%; }

    pre {
	border: 1px solid #e6e6e6;
	border-radius: 3px;
	background-color: #f2f2f2;
	padding: 8pt;
	font-family: monospace;
	overflow: auto;
	margin: 1.2em;
    }

    table { border-collapse:collapse; }

    caption.t-above { caption-side: top; }

    caption.t-bottom { caption-side: bottom; }

    td, th { vertical-align:top;  }

    th.org-right  { text-align: center;  }

    th.org-left   { text-align: center;   }

    th.org-center { text-align: center; }

    td.org-right  { text-align: right;  }

    td.org-left   { text-align: left;   }

    td.org-center { text-align: center; }

    dt { font-weight: bold; }

    .footpara { display: inline; }

    .footdef  { margin-bottom: 1em; }

    .figure { padding: 1em; }

    .figure p { text-align: center; }

    .equation-container {
	display: table;
	text-align: center;
	width: 100%;
    }

    .equation {
	vertical-align: middle;
    }

    .equation-label {
	display: table-cell;
	text-align: right;
	vertical-align: middle;
    }

    .inlinetask {
	padding: 10px;
	border: 2px solid gray;
	margin: 10px;
	background: #ffffcc;
    }

    #org-div-home-and-up{
	text-align: right;
	font-size: 70%;
	white-space: nowrap;
    }

    textarea { overflow-x: auto; }

    .linenr { font-size: smaller }

    .code-highlighted { background-color: #ffff00; }

    .org-info-js_info-navigation { border-style: none; }

    #org-info-js_console-label{
	font-size: 10px;
	font-weight: bold;
	white-space: nowrap;
    }

    .org-info-js_search-highlight{
	background-color: #ffff00;
	color: #000000;
	font-weight: bold;
    }

    .org-svg { }
