@font-face {
    font-family: 'Mona Sans';
    src:
        url('fonts/Mona-Sans.woff2') format('woff2 supports variations'),
        url('fonts/Mona-Sans.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}

:root {
    --background-color: rgb(250, 250, 250);
    --border-color: #979797;
}

html {
    font-family: 'Mona Sans', sans-serif;
    font-stretch: 115%;
}

body {
    margin: auto;
    /* define max content width but allow header to inherit both properties */
    max-width: 960px;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 80px;

    background-color: var(--background-color);
}

main-header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    
    position: fixed;
    top: 0px;
    max-width: inherit;
    width: inherit;
    min-height: 50px;
    z-index: 999;

    background-color: var(--background-color);

    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--border-color);
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-left a {
    display: flex;
    vertical-align: center;
    align-items: center;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    margin-left: 10px;
}

.header-left a:hover {
    background-color: #c7c7c7;
    opacity: 0.7;
}

.header-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-right a {
    margin-right: 10px;
    color: inherit;
    text-decoration: none;
}

.header-right a:hover {
    opacity: 0.7;
  }

main-footer {
    position: fixed;
    bottom: 0px;
    max-width: inherit;
    width: inherit;
    
    z-index: 999;

    background-color: var(--background-color);

    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--border-color);
}

main-footer p {
    margin: 0;
}

main-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 8px;
}

main-footer ul li {
    display: inline;
}

/* responsive stuff */
@media screen and (max-width: 960px) {
    main-header {
        min-height: 50px;
    }

    .header-title {
        font-size: 1.85rem;
    }
}

@media screen and (max-width: 600px) {
    main-header {
        min-height: 50px;
    }

    .header-title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 400px) {
    main-header {
        min-height: 50px;
    }
    .header-title {
        font-size: 1.65rem;
    }
}

.blog-card {
    text-decoration: none;
    color: inherit;
}

.blog-card div {
    border-width: 2px;
    border-color:var(--border-color);
    border-style: solid;
    border-radius: 2%;
    box-shadow: 3px 3px var(--border-color);
    padding: 10px;

    width: 300px;
}