﻿:root {
    --monospace: RobotoMono;
}

/* Box sizing rules */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* Remove default margin and padding */
* {
    margin: 0;
    padding: 0;
}

*:has(:target){
    scroll-behavior: smooth;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul, ol {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    font-family: Rubik, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Set core body defaults */
body {
    min-height: 100svh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

b, strong {
    font-weight: bold;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Make images easier to work with */
img, picture, svg, video {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font-weight: normal;
}

p {
    text-wrap: pretty;
}

h1{
    font-size: 2.0em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.0em;
}

input, button, textarea, select {
    font-size: 1rem;
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
    -webkit-user-select: none;
    user-select: none;
}

input[type=checkbox]{
    cursor: pointer;
}