main
{
    display: flex;
    margin: auto;
}

.navigation
{
    min-width: 140px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    border-right: solid 1px lightgray;
}

.navigation h2
{
    font-size: 2em;
}

.navigation h3
{
    margin-top: 30px;
}

.navigation ul
{
    padding-left: 20px;
    color: lightgray;
}

.navigation li
{
    white-space: nowrap;
    padding-bottom: 10px;
    padding-left: 6px;
}

.navigation a.active
{
    cursor: default;
    pointer-events: none;

    color: black;
    font-weight: bold;
}

.articles
{
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    align-content: start;
}

.articles a
{
    margin: 20px;
    padding: 20px;
    align-self: flex-start;
    border-bottom: solid 1px lightgray;
    transition: transform 0.15s ease-out, color 0.1s linear;
}

.articles a:hover
{
    background-color: whitesmoke;
    transform: scale(1.02);
}

.articles a.big
{
    width: calc(100% - 80px);
}

.articles a.small
{
    width: calc(50% - 80px);
}

.articles header
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.articles h2
{
    margin: 0;
}

.articles time
{
    margin-top: 12px;
    margin-left: auto;
}

@media (max-width: 479px)
{
    main
    {
        flex-direction: column;
    }

    .navigation
    {
        border-right: none;
        border-bottom: solid 1px lightgray;
    }

    .navigation h3
    {
        margin-bottom: 0;
    }

    .navigation li
    {
        display: inline;
        padding-right: 20px;
    }
}

@media (max-width: 767px)
{
    .articles a.big, .articles a.small
    {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
    }
}
