:root {
    --color-one: #000;
    --color-two: #dda6ef;
}

body {
    background-color: var(--color-two);
    font-family: "Helvetica";
}

a {
    text-decoration: underline;
    color: var(--color-one);
}
 
hr {
    height: 2px;
    background-color: var(--color-one);
    padding: 0;
    margin: 0;
    border: 0;
    margin-bottom: 20px;
}

footer hr {
    margin-top: 20px;
}

code {
    display: block;
    padding: 10px;
    background-color: var(--color-one);
    color: var(--color-two);
}

#main-container {
    width: 800px;
    margin: auto;
    margin-top: 20px;
}

nav {
    padding-bottom: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav a {
    text-decoration: none;
    padding: 10px 30px;
}

nav a:hover {
    background-color: var(--color-one);
    color: var(--color-two);
    text-decoration: underline;
}

.post {
    header > h2 {
        margin-top: 0px;

        a {
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }
    
    margin-bottom: 40px;
}

p.published {
    margin-bottom: 0px;
    time {
        font-size: 12px;
    }
}

p.tags a{
   &:hover {
        background-color: var(--color-one);
        color: var(--color-two);
        padding: 5px;
   }
}
