/* =========================================
   DEFAULT SITE SETTINGS
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* This may not actually do anything, but... placebo? */
html {
    scroll-behavior: smooth;
}

/*
   FIXED BACKGROUND IMAGE
*/

body::before {
    content: "";
    position: fixed;
    inset: 0;
    transform: translateY(70px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image:url(../img/bg.png);
    opacity: var(--bg-opacity, 0.002);   /*Barely visible at the moment*/
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%) contrast(120%);
    mix-blend-mode: soft-light;
}

/*
   BODY
*/

body {
    position: relative;
    z-index: 1;

    background: #111;
    color: #f5f5f5;

    overflow-x: hidden;

    line-height: 1.6;

    font-weight: 100;
    letter-spacing: 2px;
}

/*
   TYPOGRAPHY. GOOGLE FONTS, IIRC
*/

h1,
h2 {
    font-family: "neato-serif", sans-serif;
}

p,
a {
    font-family: "Inter", sans-serif;
    font-weight: 200;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

@font-face {
    font-family: "CursedClaw";
    src: url('CursedClaw-Regular.ttf');
}

/*
   VARIABLES. CHANGE THE COLOURS IF YOU WANT
*/

:root {
    --bg-dark: #20201f;

    --card: #1b1b1b;
    --card-hover: #4f4a65;

    --accent: #2c6f88;

    --text: #f5f5f5;
    --muted: #aaaaaa;

    --border: rgba(255, 255, 255, 0.08);

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.45);

    --transition: 0.35s ease;
}

/*
   LAYOUT
*/

.container {
    width: min(1400px, 92%);
    margin: auto;
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

section {
    padding: 120px 0;
    position: relative;
}
