* {
    box-sizing: border-box;
    font-family: 'Fira Code', sans-serif;
    font-size: 12px;
}

body, html {
    height: 100%;
}

body {
    margin: 0;
    background: #1F2325;
    color: #E3E4E4;
    /*
    border-top: 2px solid #000000;
    box-shadow: 0px 29px 0px 0px rgba(24,28,29,0.75) inset;
    -webkit-box-shadow: 0px 29px 0px 0px rgba(24,28,29,0.75) inset;
    -moz-box-shadow: 0px 29px 0px 0px rgba(24,28,29,0.75) inset;
    */
}

main {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
}

nav {
    padding: 10px 0;
    background: #181C1D;
    margin: 0 0 10px
}

a {
    color: #E3E4E4;
    text-decoration-color: rgba(176, 176, 214, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    text-underline-offset: 2px;
}

a:hover {
    color: #B0B0D6;
    text-decoration-color: #B0B0D6;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 5px;
}

nav li a {
    text-decoration: none;
}

nav li a:hover {
    color: #DEBDD8;
}

nav li:first-child {
    opacity: 0.5;
}

p {
    padding: 0;
    position: relative;
}

hr {
    border: 0;
    border-bottom: 1px dashed #E3E4E4;
    opacity: 0.5;
    position: relative;
}

footer span {
    opacity: 0.5;
}

footer .footer__inner{
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    padding: 2px 0 10px;
}

.content ul {
    padding: 0 0 0 20px;
    margin: 10px 0;
    list-style: none;
}

.content li {
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faded {
    opacity: 0.5;
}

.content .content__inner {
    display: flex;
}

.content .content__inner .content__sidebar {
    width: 250px;
    flex-shrink: 0;
    margin: 0 10px 0 0;
}

.content .content__inner .content__main {
    width: calc(100% - 260px);
    flex-grow: 1;
    flex-shrink: 0;
}

.search {
    display: flex;
    margin: 0 0 10px;
}

.search .prompt {
    flex-grow: 1;
    border:1px solid #181C1D;
    background: #181C1D;
    color: #E3E4E4;
    padding: 4px 8px;
}

.search .rating,
.search .button {
    border:1px solid #181C1D;
    background: #181C1D;
    color: #E3E4E4;
    padding: 6px 12px;
    margin: 0 0 0 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
}

.tags .tags__tag {
    flex-shrink: 0;
    display: inline-flex;
    border:1px solid #181C1D;
    background: #181C1D;
    color: #E3E4E4;
    padding: 4px 8px;
    margin: 0 5px 5px 0;
    font-size: 10px;
    text-decoration: none;
}

.tags .tags__tag .tags__tag__count {
    opacity: 0.5;
    display: inline-block;
    padding: 0 0 0 5px;
    font-size: 10px;
}

.posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.posts .posts__post {
    text-decoration: none;
}

.posts .posts__post .posts__post__image {
    width: 100%;
    background: red;
}

.posts .posts__post .posts__post__image img {
    display: block;
    margin: 0;
    width: 100%;
}

.posts .posts__post .posts__post__info {
    background: #181C1D;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
}

.posts .posts__post .posts__post__id {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    opacity: 0.5;
}

.posts .posts__post .posts__post__rating {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.posts .posts__post .posts__post__rating-s {
    color: #B4FA72;
}

.posts .posts__post .posts__post__rating-e {
    color: #E49DD0;
}

.posts .posts__post .posts__post__tags {
    flex-grow: 1;
    padding: 0 5px;
}

.posts__post__tags__inner {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: none;
}

.post {

}

.post .post__meta {
    border: 1px solid #181C1D;
    background: #181C1D;
}

.post .post__meta .post__meta__row {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    border-bottom: 1px solid #1F2325;
}

.post .post__meta .post__meta__row span {
    font-size: 10px;
}

.post .post__meta .post__meta__row .label {
    opacity: 0.5;
}

.post .post__meta .post__meta__row:last-child {
    border-bottom: 0;
}

.post .post__image {
    display: flex;
    justify-content: center;
}

.post .post__image img {
    align-self: center;
    width: auto;
    max-width: 100%;
}
.post .post__meta .post__meta__rating-s {
    color: #B4FA72;
}

.post .post__meta .post__meta__rating-e {
    color: #E49DD0;
}

@media screen and (max-width: 780px) {
    .content .content__inner {
        display: block;
    }

    .content .content__inner .content__sidebar {
        width: 100%;
        flex-grow: 1;
        margin: 0 0 10px;
    }

    .content .content__inner .content__main {
        width: 100%;
    }
}