:root {
    --text-col : white;
    --background-col: #111;
    --secondary-col: rgb(120, 120, 226);
    --tertiary-col:  rgb(179, 171, 171);
    --font: sans-serif;
    --accent-font: Bariol, sans-serif;

}

html,body {
    font-family: var(--font);
    background-color: var(--background-col);
    color: var(--text-col);
    text-rendering: optimizeSpeed;
    line-height: 1.5;

    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0;
}

header {
    flex: 0;
    padding-bottom: 4px;
    background-color: var(--background-col);
    border-bottom: 4px dashed var(--text-col);
}
.head {
    display: flex;
    align-items: center;   
    justify-content: center;
    color: var(--secondary-col); 
}
.head h1 {
    font-size: 2.5em;   
    margin: 0.33em;
	
}

h2,h3,h4,h5 {
    color: var(--text-col);
    font-family: var(--accent-font);
}


nav menu {
    display: flex;
    justify-content: center;
    margin-top: -1.5em;
}

nav menu li{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav menu li a{
    display: block;
    color: var(--text-col);
    text-align: center;
    padding: 0.5em 0.5em;
    text-decoration: none;
}
nav menu li a:hover{
    background-color: var(--secondary-col);
}
main {
    /*margin-top: var(--text-start);*/
    width: 100%;
    display: flex;
    flex: 1;
}
main aside {
    flex-grow: 0;
    flex-basis: 10%;
}
main article {
    position: relative;
    max-width: 40rem;
    margin: 0px auto;
}

.date  {
    color: var(--tertiary-col);
    font-family: var(--accent-font);
}

main img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;  
}

a {
 color: var(--secondary-col); 
}

footer {
    color: var(--tertiary-col);
    max-width: 40rem;
    margin: 0px auto;
    font-size: smaller;
    flex-grow: 0;
    padding: 10px;
}

