/* ==========================================================
   FONTS
========================================================== */

@font-face {
    font-family: "AceAttorney";
    src: url("/fonts/Ace-Attorney.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================
   GLOBAL
========================================================== */

html {
    font-size: 200%;
	word-spacing: 5pt;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
}

body {
    background-color: #222;
    color: #a4a4a4;
    font-family: "AceAttorney", serif;
}

img {
    display: block;
    margin: 10px 0;
}

hr {
    margin: 20px 0;
}

a {
	color:inherit;
}

a:hover {
	color:#ffff;
}


/* ==========================================================
   HEADER
========================================================== */

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;

    margin-bottom: 0px;
	
	background-color: #1a1a1a;
}

.logo {
    flex: 1;
    align-self: flex-end;
}

.logo img {
	margin-left: 2vw;
    max-width: 120px;
    max-height: 120px;
}

.hero * {
    align-self: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

/* ==========================================================
   NAVIGATION
========================================================== */

.navBar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    position: sticky;
    top: 0;

    padding: 15px 30px;
    margin-bottom: 0px; /*0 so that page heroes can touch*/

    background-color: #1a1a1a;
}

.navLinks {
    display: flex;
    list-style: none;
}

.navLinks li {
    padding: 0 15px;
}

.navLinks a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navLinks a:hover {
    color: #00adb5;
}

/* ==========================================================
   PAGE LAYOUT
========================================================== */

.pageBody {
    margin: 20px 120px;
}

.pfp {
    max-width: 120px;
    border-radius: 50%;
}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2 {
    margin-bottom: 4vh;
}

p {
    margin-bottom: 4vh;
}

ul {
    margin-left: 8vw;
}

/* ==========================================================
   BLOG   -    LISTING
========================================================== */

#article-list {
    list-style: none;
    /* margin-left: 10vw; */
    /* padding-left: 0; */
}

#article-list li {
    margin-bottom: 2rem;
}

#article-list a {
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 60vw;

    color: inherit;
    text-decoration: none;

    transition: color 0.3s ease;
}

#article-list a:hover {
    color: #fff;
}

.article-list-thumbnail {
    display: block;
    width: auto;
    max-height: 3.5rem;
    margin-right: 1rem;
}

.article-list-date {
    font-size: 1rem;
    color: #777;
	margin-bottom:0px;
}

.article-list-title {
    font-size: 2rem;
	margin-bottom:0px;
}

.article-list-subtitle {
    font-size: 1.5rem;
}


/* ==========================================================
   BLOG  -  PAGE
========================================================== */

.article-page-main {
	margin-top: 2vh;
	margin-left: 25%;
	margin-right: 25%;
}

.article-page-date {
	margin-bottom:0px;
	color: #777;
}

.article-page-title {
	margin-bottom:0px;
}

.article-page-subtitle {
	font-size:1rem;
	margin-bottom:0px;
}


.article-page-taglist {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	list-style: none;
	font-size: 0.8rem;
	margin-top:1vh;
	color: #777;
}

.article-page-hero {
	margin-top: 0;
	margin-bottom: 3vh;
	background-color: #161616;
}

.article-page-hero img {
	display: block;
	margin:0;
	margin-left:auto;
	margin-right:auto;
}

.article-page-figcaption {
	display:block;
	text-align:center;
	margin-bottom:4vh;
}

.article-page-figcaption img {
	display:block;
	justify-content:center;
	margin-left:auto;
	margin-right:auto;
	max-width:45vw;
}

.article-page-figcaption figcaption {
	font-style: italic;
	font-size: 0.8rem;
    color: #777;
}

footer {
	font-size: 0.8rem;
    color: #777;
}