
:root {
    font-size: 12px;
}

/* terrible hardcoded values... don't talk to me about it :( */

html {
    background-color: var(--black);
    scroll-behavior: smooth;
}

.background {
    color: var(--text-light);
    background: 
        linear-gradient(135deg, var(--black) 25%, transparent 25%) -25px 0/ 50px 50px, 
        linear-gradient(225deg, var(--black) 25%, transparent 25%) -25px 0/ 50px 50px, 
        linear-gradient(315deg, var(--black) 25%, transparent 25%) 0px 0/ 50px 50px, 
        linear-gradient(45deg, var(--black) 25%, var(--primary) 25%) 0px 0/ 50px 50px;
    animation: anim_bgscroll 5s linear infinite;
}

@keyframes anim_bgscroll {
    from {
        background-position:
            -25px 0, -25px 0, 0px 0, 0px 0;
    }
    to {
        background-position:
            24px 50px, 25px 50px, 50px 50px, 50px 50px;
    }
}

div {
    display: flex;
}

/* probably not the best idea in the world */
div > * {
    transition: 0.1s;
}

a > * {
    transition: 0.1s;
}

body {
    display: flex;
    flex-direction: column;
    perspective: 5em;
    font-family: monospace;
    margin: 0rem auto;
    background-color: var(--primary);
    color: var(--text-light);
    max-width: 80rem;
    min-height: 100vh;
}

img {
    display: flex;
    border-radius: 10px;
    margin: 1rem auto;
    object-fit: contain;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

p {
    font-size: var(--p-size);
}

a {
    text-decoration: none;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rowarray {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0rem 1rem;
    padding: 0.5rem;
}

.biggap {
    gap: 3rem;
}

.rowarray > * {
    display: flex;
    flex: 1 1;
}

.black {
    background-color: var(--black);
    color: var(--text-light);
}

.sec {
    background-color: var(--secondary);
    color: var(--text-dark);
}

.tert {
    background-color: var(--tertiary);
    color: var(--text-dark);
}

.xtrafill {
    flex : 2;
}

.darkborder {
    border: 0.35rem solid var(--black);
}

.darkestborder {
    border: 0.35rem solid #000000;
}

.ilovec {
    border-radius: 1rem;
    overflow: hidden;
    max-width: 20rem;
}

.vidbox {
    border-radius: 1rem;
    overflow: hidden;
    min-width: 30rem;
}

.rbox {
    display: flex;
    flex : 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    margin: auto 0.5rem;
    border-radius: 0.5rem;
    justify-content: center;
}

.bigpad {
    padding: 2rem;
}

.xsmall {
    min-height: 3rem;
}

.small {
    min-height: 8rem;
    min-width: 10rem;
}

.tall {
    min-height: 12rem;
}

.xtall {
    min-height: 40rem;
}

.myfaceimg {
    width: 20rem;
    height: 20rem;
    margin: 0.5rem;
}