@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css";
@import "https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";

:root {
    --primary-color: #FFFFFF;
    --secondary-color: #9EABB3;
    --stroke-color: #1F1E1E;
    --background-color: #0A0A0A;
    --font-size-large: 3rem;
        --font-size-medium: 2rem;
        --font-size-small: 1rem;
}

@media (max-width: 700px) {
    :root {
        --font-size-large: 2rem;
        --font-size-medium: 1.5rem;
        --font-size-small: 0.7rem;
    }
}

body {
    margin: 0;
    background-color: var(--background-color);
    color: var(--primary-color);
}

* {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.socials-top-right {
    position: fixed;
    top: 0;
    right: 0;
    margin: 5px 10px 0 0;
}

.socials-top-right a {
    font-size: var(--font-size-large);
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.8;
}

.hero {
    width: 100%;
    height: 30rem;
    background-image: url("/assets/images/hero.png");
    background-size: cover;
    background-position: center;
    display: flex;
}

.hero-contents {
    margin: auto;
    text-align: center;
}

.hero-contents img {
    width: 80%;
}

.hero-contents h1 {
    margin-top: 10px;
    font-size: var(--font-size-large);
    -webkit-text-stroke: 2px var(--stroke-color);
}

.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: var(--font-size-small);
    opacity: 0.5;
    margin: 15px;
}

body section {
    margin: auto;
    width: 80%;
    margin-top: 10px;
}

.post {
    margin: 5px 0 5px 0;
    text-decoration: none;
    color: var(--primary-color);
}

.post .title {
    font-size: var(--font-size-medium);
    margin-bottom: 0;
}

.post .description {
    opacity: 0.5;
    font-size: var(--font-size-small);
}

.vertical-divider {
    width: 1px;
    height: 100%;
    background-color: var(--secondary-color);
    margin: 0 10px;
}

.post .author-info {
    display: flex;
    align-items: center;
    font-size: var(--font-size-small);
    opacity: 0.7;
}

.author-pic {
    width: 2rem;
    padding: 0.5rem;
    padding-top: 0;
    margin-right: 1px;
    border-radius: 100%;
}

.divider {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.divider::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.pagination {
    display: flex;
    margin: 20px 0;
    width: 100%;
    flex-direction: row;
}

.center {
    margin: auto;
}

.button {
    border: 1px solid var(--stroke-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: var(--font-size-small);
    padding: 10px;
    background-color: transparent;
}

.button.disabled {
    opacity: 0.2;
    pointer-events: none;
}