@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("../fonts/RobotoCondensed-BoldItalic.ttf");
    font-weight: 700;
    font-style: italic;
}

/* General */

:root {
    font-size: 62.5%;

    --background: #06090F;
    --foreground: #0D1117;
    --border: #30363D;
    --border-radius: 5px;
    --text: #F7F7F7;
    --theme: #EC6163;
}

* {
    box-sizing: border-box;
}

.logo-new {
    font-family: "Roboto Condensed", sans-serif;
    font-style: italic;
    font-weight: 700;
    color: var(--theme);
}

.logo-sic {
    font-family: "Roboto Condensed", sans-serif;
    font-style: italic;
    font-weight: 700;
    color: var(--text);
}

h1, h2, h3 {
    margin: 0 0 1rem;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.5rem;
}

.icon {
    height: 1.5rem;
    color: var(--text);
}

.container {
    padding: 15px;
    margin-bottom: 15px;
    background-color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text);
    background-color: var(--background);
}

header {
    margin: 3rem;
    text-align: center;
}

/* Page Structure */

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

#layout {
    display: grid;
    grid-template-columns: 600px 300px;
    grid-column-gap: 25px;
}

/* Side Panel */

aside {
    top: 25px;
    height: 100vh;
    position: sticky;
}

#social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

#social-links li {
    display: inline;
    padding-right: 5px;
    color: var(--text);
}

#social-links a {
    text-decoration: none;
}

#social-links svg {
    height: 2rem;
}

#social-links svg:hover {
    fill: var(--theme);
}

/* Feed */

#feed {
    margin: 25px 0;
    max-width: 600px;
}

#feed article:hover {
    border: 1px solid var(--theme);
    cursor: pointer;
    box-shadow: 3px 3px 3px rgba(255, 255, 255, .16);
}

#feed:last-child {
    margin-bottom: 0;
}

#all-caught-up {
    padding: 25px;
    text-align: center;
}

article img {
    width: 150px;
    height: 150px;
    margin-right: 15px;
    object-fit: cover;
}

.article-body {
    display: flex;
}

.article-body div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media only screen and (max-width: 600px) {
    .article-body {
        display: block;
    }

    article img {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }

    #feed div {
        margin-left: 0;
    }
}

.article-body p {
    margin: 0;
}

.article-credits {
    margin: 0;
    margin-top: 15px;
    padding: 0;
    font-size: 1rem;
}

footer p {
    text-align: center;
    font-size: 1rem;
}

@media only screen and (max-width: 600px) {
    main {
        max-width: 600px;
    }

    #layout {
        display: block;
    }

    aside {
        display: none;
    }
}
