@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
}

body {
    background-color: #282c34;
}

main {
    margin: 20px;
}

.post {
    background-color: #3a3c41;
    margin-bottom: 20px;

    -webkit-animation: fadein 500ms; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 500ms; /* Firefox < 16 */
        -ms-animation: fadein 500ms; /* Internet Explorer */
         -o-animation: fadein 500ms; /* Opera < 12.1 */
            animation: fadein 500ms;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.postflex {
    display: flex;
}

.postbody {
    padding: 15px;
    line-height: 1;
}

.posthead a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.6em;
}

.posttext {
    color: #ddd;
    font-size: 13px;
    margin-top: 7px;
    word-break: break-word;
    line-height: 1.6em;
}

.posttext a {
    color: #61afef;
}


.postbottom {
    background-color: #494b51;
    padding: 10px;
}

.postbottom p {
    color: #ddd;
    font-size: 13px;
}

.postbottom p a {
    color: #61afef;
}

#navbar {
    background-color: #3a3c41;
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

#navbar header h1 a {
    text-decoration: none;
    color: #e5c07b;
    transition: 100ms;
    margin-left: 5px;
}

#navbar header h1 a:hover {
    text-decoration: none;
    color: #61afef;
}

#navlist {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.navlistitem {
    margin-left: 20px;
}

.navlistitem a {
    text-decoration: none;
    color: #eee;
    transition: 100ms;
}

.navlistitem a:hover {
    font-weight: 600;
    color: #61afef;
}