/*
Theme Name: FNV TU Delft
Author: RW
Description: Custom theme for FNV at TU Delft
Version: 0.1
*/

html, body 
{
    background-color: #eef0f2;
}

h1, h2, h3
{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-weight: 700;
}

p
{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    line-height: 1.55;
    color: #1a1a1a;
}

a:focus, a:hover
{
    color: #009cde;
}

a:visited, a:active
{
    color: #1a1a1a;
}

article, header
{
    background-color: #fff;
}

header
{
    padding: 10px 0;
    max-height: 60px;
}

header .logo
{
    max-height: 60px;
    display: inline-block;
}

header h1
{
    font-size: 1.2em;
    display: inline-block;
    position: relative;
    top: -1.2em;
    left: .5em;
    color: #009cde;
}

header a
{
	color: #009cde;
	text-decoration: none;
}

header nav
{
    position: relative;
    top: -1.5em;
    display: inline-block;
}

header ol
{
    list-style: none;
    display: inline-block;
}

header li
{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1.1em;
    font-weight: 700;
}

header li a
{
    color: #000;
}

header li a:hover, header li a:focus
{
    color: #009cde;
}

header li a.active
{
    color: #009cde;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 3px;
}

aside
{
    background-image: url("./assets/tu-header.jpg");
    background-size: cover;
    background-position: center;
    height: 280px;
}

aside .callout
{
    background-color: #fff;
    padding: 30px;
    width: 50%;
    position: relative;
    top: 100px;
}

aside h2
{
    font-size: 1.5em;
    margin-top: 0;
}

main
{
    margin-top: 120px;
    margin-bottom: 60px;
}

main.post
{
    margin-top: 20px;
}

article
{
    padding: 30px;
}

article h2
{
    margin-top: 0;
    font-size: 2em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 2px solid #dde2e6;
}

article a, article a:visited 
{
    color: #000;
    text-decoration: none;
}

article a:hover, article a:focus
{
    color: #009cde;
}

article hr
{
    display: none;
}

article .content
{
    width: 620px;
    margin: auto;
}

a.button
{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1.1em;
    font-weight: 700;
    padding: 8px 20px 10px 20px;
    background-color: #009cde;
    color: #fff;
    display: inline-block;
    text-decoration: none;
}

.button:hover, .button:active
{
    background-color: #0083bd;
}

.letterbox
{
    width: 1024px;
    margin: auto;
}

@media screen and (width < 1000px) 
{
    header
    {
        padding: 10px 10px;
    }

    aside
    {
        height: auto;
        background: none;
        margin-top: 20px;
    }

    aside .callout
    {
        position: inherit;
        width: auto;
    }

    aside p
    {
        max-width: 620px;
    }

    main
    {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    article .content
    {
        width: auto;
        max-width: 620px;
    }

    .letterbox
    {
        width: auto;
    }
}