@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:600|IBM+Plex+Serif');

html, body {
    font-family: "IBM Plex Serif";
    margin: 0;
}

h1, h2, h3 {
    font-family: "IBM Plex Sans", sans-serif;
    text-transform: lowercase;
}

h1 {
    color: orangered;
}

p {
    line-height: 1.5;
}

.title {
    border-bottom: 1px solid #d8d8d8;
}

.title h1 {
    font-size: 4em;
    margin: 0;
}

.screen {
    min-height: 100vh;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #d8d8d8;
}

.subreddit-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    align-content: flex-start;
    flex-flow: row wrap;
}

.subreddit {
    padding: 10px;
    margin-top: 20px;
    width: 25%;
    cursor: pointer;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tree {
    padding-top: 100px;
}

#children {
    flex-flow: column;
}

#children .subreddit {
    height: 30px;
    margin-top: 4px;
    padding-left: 0px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

#children .subreddit h3 {
    font-size: 14px;
    margin: 0;
}

#children .subreddit p {
    font-size: 10px;
    margin: 0;
}

#children .subreddit div:not(.sub-bar) {
    margin-left: 10px;
}

#children .sub-bar {
    height: 50px;
    float: left;
}

.has-links {
    /* text-decoration: underline; */
}

.external-link {
    background-color: #000 !important;
    color: #fff;
    cursor: auto;
}

#sentiment-scale {
    background-image: url("../img/OrRd.png");
    background-size: 100%;
    display: flex;
    justify-content: space-between;
    height: 20px;
}

#sentiment-scale p {
    font-size: 16px;
    font-family: "IBM Plex Sans";
    margin: 0;
}

#parent {
    justify-content: flex-start;
    max-width: 80%;
    margin: 0;
}

#parent .subreddit {
    margin-top: 0;
    padding: 0;
    height: 20px;
    font-weight: bold;
    font-family: "IBM Plex Sans";
    width: auto;
}

#parent .arrow {
    height: 20px;
}

#parent-line {
    width: 1px;
    height: 50px;
    background-color: #000;
    margin: 0 auto -20px auto;
}

.sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    padding: 20px 0 20px 0;
    box-shadow: 0 0 10px #666;
    z-index: 999;
    height: 60px;
}

#pathsofar h2 {
    margin: 0;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.horizontal {
    display: flex;
    align-content: flex-start;
    flex-direction: row wrap;
}

#subscribers, #sentiment-score {
    min-width: 300px;
}

#back {
    border: 1px solid #666;
    padding: 10px;
    border-radius: 4px;
    font-family: "IBM Plex Sans";
    float: right;
    color: #666;
    cursor: pointer;
}

#back:hover {
    background-color: #d8d8d8;    
}

#network-example {
    max-width: 400px;
    width: 100%;
    box-shadow: 0px 2px 5px #666;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
}

#post-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#post-container p {
    width: 25%;
    padding: 20px;
    font-size: 13px;
    background-color: #f8f8f8;
    box-shadow: 0px 2px 2px #d8d8d8;
    font-size: 
}

@media screen and (max-width: 812px) {
    .subreddit {
        width: 42%;
        font-size: 13px;
    }

    .horizontal {
        flex-direction: column;
    }

    #post-container {
        flex-direction: column;
    }

    #post-container p {
        width: 95%;
    }
}