/* This file defines the css styles for the index route */

#feed-posts {
    margin-top: 2em;
    margin-bottom: 2em;
}

.feed-post {
    padding: 11px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #dcdada00;
    transition: background 0.6s, border 0.6s;
    display: flex;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0px 1px 2px #00000029;
    background-color: white;
}

.feed-post:hover {
    background: white;
    border: 1px solid #00a699;
    transition: background 0.4s, border 0.4s;
}

.feed-post:active {
    transform: scale(.99, 0.99);
}

.feed-post .feed-thumbnail {
    height: 110px;
    flex-shrink: 0;
    flex-grow: 0;
    width: 110px;
    position: relative;
    vertical-align: center;
    border-radius: 5px;
    margin: 0px;
    transition: border 0.4s, box-shadow 0.4s;
}

.feed-post .feed-thumbnail img {
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 110px;
    width: 110px;
    margin: auto;
    border-radius: 8px;
}

.feed-post:hover .feed-thumbnail {
    border: transparent;
    box-shadow: none;
    transition: border 0.6s, box-shadow 0.6s;
}

.feed-post .feed-metadata {
    position: relative;
    margin: 0px;
    margin-left: 1.4em;
    width: 100%;
}

.feed-post .feed-metadata span {
    display: block;
}

.feed-post .feed-title {
    margin-top: 0px;
    font-size: 1.5em;
    font-weight: bolder;
}

.feed-post .feed-authors {
    margin-bottom: .3em;
    font-size: 0.8em;
}

.feed-post .feed-tags {
    margin-bottom: .2em;
    font-size: 0.7em;
}

.feed-post .feed-tldr {
    height: 2em;
    padding: 5px;
    background: rgba(0, 0, 0, 0.03);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: justify;
    overflow: hidden;
    font-size: 0.8em;
}

.feed-post .feed-tldr-expander {
    padding: 2px;
    display: block;
    text-align: center;
    font-size: small;
    background: rgba(0, 0, 0, 0.03);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #00a699;
    margin-bottom: 0.3em;
}

.feed-post .feed-tldr-expander:hover {
    background: rgba(0, 0, 0, 0.07);
}

.feed-post .feed-dates {
    font-style: italic;
    color: #aaa;
    font-size: small;
    margin-top: 3px;
    display: inline;
}

.feed-post .feed-stats {
    display: inline-block;
    float: right;
    margin-top: 8px;
    margin-bottom: -12px;
    text-align: center;
}

.feed-post .feed-stats span {
    display: inline;
    margin-left: 1em;
    color: #aaa;
}

@media (max-width: 650px) {
    .feed-post {
        flex-direction: column;
        border-radius: 21px;
        margin-left: -25px;
        margin-right: -25px;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }

    .feed-post .feed-thumbnail {
        align-self: center;
        margin-bottom: 1em;
        width: 200px;
        height: 200px;
    }

    .feed-post .feed-thumbnail img {
        align-self: center;
        margin-bottom: 1em;
        max-width: 200px;
        max-height: 200px;
    }

    .feed-post .feed-metadata {
        margin-left: 0px;
    }
}

@font-face {
    font-family: 'Sans-serif1';
    src: url('path/to/Sans-serif1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.font-style {
    font-family: 'Sans-serif1', sans-serif;
    line-height: 1.3;
}