@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("intervariable.woff2") format("woff2");
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: InterVariable, sans-serif;
    font-weight: 300;
    margin: 0 auto;
    background-color: rgb(19, 19, 19);
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#game-of-life-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

#game-of-life-canvas.fade-in {
    opacity: 1;
}

a {
    color: inherit;
    text-decoration-line: underline;
    -webkit-text-decoration-line: underline;
    text-decoration-style: solid;
    -webkit-text-decoration-style: solid;
    text-decoration-color: transparent;
    -webkit-text-decoration-color: transparent;
    text-underline-offset: 0.1em;
    position: relative;
    padding-bottom: 0px;
    transition: text-decoration-color 0.3s ease;
    transition: -webkit-text-decoration-color 0.3s ease;
    font-size: 1em;
    font-weight: 300;
}

a:hover {
    text-decoration-color: #eeeeee;
    -webkit-text-decoration-color: #eeeeee;
}

header {
    margin: 0;
    height: 100svh;
    color: #eeeeee;
}

.inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1 {
    font-weight: 300;
    font-size: 2.5em;
    color: #eeeeee;
    margin: 0 0 0.2em;
}

.links {
    font-size: 1.3em;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;

    p {
        margin: 0;
    }
}

.links .separator {
    user-select: none;
}

#pfp {
    clip-path: circle(50%);
}

#pfp-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    header {
        position: static;
        margin: 0 auto;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0 !important;
    }

    .links {
        flex-direction: column;
        gap: 0.5em;
        align-items: flex-start;
    }

    .inner {
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
    }

    .separator {
        display: none;
    }
}