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

:root {
    /* Fonts Variables */
    --font-primary: "Noto Serif", serif;
    --font-size-large: 32px;

    /* Color Variables */
    --color-accent: #070F2B;
    --color-primary: white;
    --color-secondary: hsl(from white h s l/0.2);

    /* Width Variables */
    --width-primary: 90%;
    --max-width-primary: 464px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100%;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-style: normal;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}

div.wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

div.wrapper div.header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    user-select: none;
}

div.wrapper div.header div.title {
    font-size: var(--font-size-large);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    transition: opacity .5s;
}

div.wrapper div.header div.title:hover {
    opacity: .5;
}

div.wrapper div.header div.title span {
    font-weight: 500;
    font-style: italic;
}

div.wrapper div.signature {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    user-select: none;
}

div.wrapper div.connections {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

div.wrapper div.connections div.item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--color-secondary);
    border-radius: 8px;
    color: #ccc;
    cursor: pointer;
    transition: all .3s;
}

div.wrapper div.connections div.item:hover {
    color: white;
    opacity: .5;
}

div.wrapper div.posts {
    width: var(--width-primary);
    max-width: var(--max-width-primary);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

div.wrapper div.posts div.post {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity .5s;
}

div.wrapper div.posts div.post:hover {
    opacity: .5;
}

div.wrapper div.posts div.post div.title {
    font-size: 21px;
    font-weight: 600;
}

div.wrapper div.credits {
    width: var(--width-primary);
    max-width: var(--max-width-primary);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    opacity: .3;
    user-select: none;
}

@media (max-width: 768px) {
    div.wrapper {
        gap: 2rem;
    }

    div.wrapper div.header div.title {
        font-size: 1.7rem;
    }

    div.wrapper div.posts div.post div.title {
        font-size: 1.25rem;
    }
}
