:root {
    --primary-color: #111;
    --secondary-color: white;
    --tertiary-color: #767676;
    --quartary-color: linen;
}

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DejaVu Serif','Cantarell', serif;
}

html {
    height: 100%; /* Making sure it stretches to viewport height */
}
body {
	
    height: 100%; /* Making sure it stretches to viewport height */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

main {
    flex: 1; /* Take up all remaining content so footer is always at the bottom of the screen */
    margin: auto;
    max-width: 700px;
    min-width: 40%;
    text-align: left;
    padding-top: 2em;
    
}
.logo {
    font-weight: bolder;
    font-size: 2.5rem;
    text-shadow: 2px 2px tomato;
    animation: ro;
}
h1 {
    padding: 2rem;
    text-align: center;
}
h2 {
    text-align: center;
    padding: 1rem 2rem;
}
h3,h4 {
    padding-left:1rem;
}

a:hover{
    text-decoration: underline dotted var(--tertiary-color);
}
a.post-date-link{
    float:right;
    font-size: 0.7rem;
}
a.card {
    display: block;
}
p,ul {
    padding: 1rem;
}
li ul {
    margin-top: -2rem;
    margin-left: 1rem;
}

div.post {
    margin-bottom: 1rem;
    /*border-radius: 2rem;
    box-shadow: 0rem 0.2rem  var(--tertiary-color);*/
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--secondary-color);
}
nav a{
    display: inline-block;
    padding: 2rem;
    text-decoration: none;
    /*transition: all 0.5s ease;*/
    /*border-radius: 12px; */
    align-self: baseline;
}
a, a:visited {
    color: var(--primary-color);
}
nav a:hover {
    background-color: var(--tertiary-color);
}
footer {
    color: var(--tertiary-color);
    padding: 1rem;
}
.site-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    padding: 6px;
}
.site-links ul {
    margin: 2rem;
    list-style-type: none;    
}
.disclaimer {
    text-align: center;
}
hr {
    margin: 0% 35%;
    border: 0.1rem var(--tertiary-color) inset
}

@media all and (max-width: 768px) {
    nav {
	flex-flow: column wrap;
	height: 5rem;
	margin-top: 1rem;
	
    }
    .logo {
	height: 5rem;
	margin-left: 0;
	font-size: 4rem;

    }
    nav a {
	margin: auto 0 auto auto;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	justify-content: right;
    }
    
}
