@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --color-1: white;
    --color-2: #3A3A3A;
    --color-3: #bbbbbb;
    --color-4: #e4e4e4;
    --color-5: #808080;
}

body {
    margin: 0;
    color: var(--color-2);
    font-size: 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1 {
    font-family: "Rubik", sans-serif;
    font-size: 2.5rem;
}

h2 {
    font-family: "Rubik", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-4);
}

nav {
    padding: 20px;
    background-color: var(--color-2);
}

nav a {
    text-decoration: none;
    color: var(--color-3);
}

.selected {
    color: var(--color-1);
}

.intro {
    background-color: var(--color-2);
    color: var(--color-1);
    padding-top: 10vh;
}

section {
    padding: 50px 50px;
    border-bottom: 1px solid var(--color-3);
}

.container {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.container.nav {
    display: flex;
    flex-direction: row;
    gap: 30px;
    /* justify-content: center; */
}

section:has(> div.last) {
    border-bottom: 0;
}

.double {
    display: flex;
    justify-content: space-between;
}

tr {
    border-bottom: 1px solid var(--color-2);
}

.posts {
    display: flex;
    flex-direction: column-reverse;
}

.post {
    padding-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* text-align: center; */
    gap: 5vw;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--color-3);
    width: 80vw;
    justify-content: space-between;
    padding: 40px;

    transition: all 0.5s;
}

.post__image {
    width: 30%;
}

.post__inner {
    display: flex;
    flex-direction: column;
}

.post__date {
    /* padding-bottom: 20px; */
    font-weight: 500;
    color: var(--color-5);
    width: fit-content;
    /* text-transform: uppercase; */
    border-left: 5px solid var(--color-3);
    padding-left: 10px;
}

.post__header {
    display: flex;
    gap: 30px;
    width: fit-content;
    align-items: center;
    flex-direction: row;
    margin-bottom: 10px;
}

.post__header * {
    margin-bottom: 15px;
}

.score {
    display: flex;
    gap: 10px;
}

.score > p {
    margin: 0;
}

.winners { 
    font-weight: 700;
}

.highlight {
    background-color: #e4e4e4;
}

