/* ========================================
   THRIVE DESIGN STUDIO
   Global Design System
======================================== */

@font-face {
    font-family: 'Gilmer';
    src: url('assets/fonts/Gilmer%20Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilmer';
    src: url('assets/fonts/gilmer-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Design tokens */

:root {
    --color-blue: #36AEFF;
    --color-black: #080808;
    --color-white: #FFFFFF;
    --color-grey: #A0A0A0;
    --color-dark-grey: #191919;

    --font-heading: 'Gilmer', sans-serif;
    --font-body: 'Gilmer', sans-serif;

    --container-width: 1440px;
    --page-padding: clamp(24px, 6vw, 100px);
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* Typography */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
}

p {
    font-weight: 300;
}

/* Layout */

.container {
    width: min(100% - (var(--page-padding) * 2), var(--container-width));
    margin-inline: auto;
}

section {
    position: relative;
}

/* Selection */

::selection {
    background: var(--color-blue);
    color: var(--color-black);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-blue);
}