html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: sans-serif;
    margin: 0;
    color: rgb(60, 60, 60);
    line-height: 1.5;
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, pre {
    margin: 0 0 1rem 0;
}

pre {
    padding: 1rem;
    overflow-x: scroll;
}

a {
    color: rgb(0, 0, 170);
}

@media only screen and (max-width: 42rem) {
    header img {
        margin-bottom: 1rem;
    }

    header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .container {
        padding: 3rem 1rem;
    }
}

@media only screen and (min-width: 42rem) {
    header {
        margin-bottom: 2.3rem;
    }

    header h1 {
        display: inline;
        line-height: 4rem;
    }

    .menu {
        float: right;
        text-align: right;
        line-height: 4rem;
    }

    .avatar {
        position: relative;
    }

    .avatar a {
        display: block;
        position: absolute;
        left: -5rem;
    }

    .container {
        padding: 3rem 6rem;
    }
}

header h1 a.title, header h1 a.title:hover {
    color: rgb(0, 0, 170);
}

header h1 a.title {
    text-decoration: none;
}

header h1 a.title:hover {
    text-decoration: underline;
}

.menu {
    color: rgb(90, 90, 90);
}

.menu a {
    color: rgb(90, 90, 90);
}

.container {
    margin: 0 auto;
    max-width: 42rem;
}

.avatar img {
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
}

article {
    margin-bottom: 2rem;
}

article h1.title, h2.title {
    margin-bottom: 0.5rem;
}

article time {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.5rem;
    color: rgb(90, 90, 90);
}

footer {
    margin: 4rem 0 0 0;
    text-align: center;
    font-size: 0.8rem;
}

footer a {
    color: rgb(90, 90, 90);
}

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
