@import url(https://fonts.bunny.net/css?family=ibm-plex-serif:500,500i,700,700i);

:root {
    color-scheme: dark;
    --bg: light-dark(#fbf1c7, #282828);
    --bg1: light-dark(#ebdbb2, #3c3836);
    --fg: light-dark(#3c3836, #ebdbb2);
    --fg4: light-dark(#7c6f64, #a89984);
    --blue0: light-dark(#458588, #458588);
    --blue1: light-dark(#076678, #83a598);
}

html {
    font-family: 'IBM Plex Serif', serif;
    background-color: var(--bg);
    color: var(--fg);
}

body {
    margin: 0;
}

header {
    border-bottom: 2px solid var(--fg);
    padding: 0.1em;
}

content {
    margin: 1rem;
    margin-top: 2rem;
    padding: 1rem;

    display: flex;
    gap: 1em;
    flex-direction: column;
    align-items: center; 
}

footer {
    border-top: 2px solid var(--fg);
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: var(--blue1);
    text-decoration: none;
    transition: color 250ms;
}
a:hover {
    color: var(--blue0);
    text-decoration: underline;
}

.site-title {
    padding: 1rem;
    font-size: xx-large;
    text-decoration: none;
    color: var(--fg);
    transition: color 250ms;
    .site-title-tld {
        color: var(--fg4);
        transition: inherit;
    }
}

.site-title:hover {
    color: var(--blue1);
    text-decoration: underline;
    .site-title-tld {
        color: var(--blue0);
    }
}

.spacer {
    height: 1em;
}

.socials-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    a {
        height: 2em;
        transition: opacity 250ms;
    }
    a:hover {
        opacity: 75%;
    }
}

.card {
    width: 40em;
    background-color: var(--bg1);
    border-radius: 0.5em;
    margin: 1em;
    padding: 1em;
    gap: 1em;
    display: flex;
    flex-direction: row;
    align-items: center; 

    .card-avatar img {
        height: 10em;
        width: auto;
        border-radius: 50%;
        object-fit: cover;
    }

    .card-text {
        h1 {
            line-height: 10%;
        }
    }
}