

/* 
    Elements 
*/

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(140, 140,140, 0.25);
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
}

main {
    min-height: 75vh;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    font-weight: 400;
}

u {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

hr {
    border: 0;
    height: 1px;
    background-color: black
}

button {
    border: 0;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
}

figure {
    margin: 0;
    padding: 0;
}


ul, ol {
    position: relative;
    padding-left: 2em;
}

menu.no-style,
ol.no-style,
ul.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

picture {
    display: block;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    object-position: 50% 50%;
    pointer-events: none;
}

video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a.expand-target::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

code {
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
    font-size: inherit;
}


/* Utilities */

.align-items-center {
    align-items: center;
}

.flex {
    display: flex;
}

/* Tablet (> 640px) */
@media screen and (max-width: 40rem) {
    .hide-mobile {
        display: none !important;
    }
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .hide-desktop {
        display: none !important;
    }
}

/* Margin */
.mar-top-xs {
    margin-top: 0.25rem;
}

.mar-top-s {
    margin-top: 0.5rem;
}

.mar-top-m {
    margin-top: 1rem;
}

.mar-top-l {
    margin-top: 2rem;
}

.mar-top-xs {
    margin-top: 0.25rem;
}

.mar-bot-s {
    margin-bottom: 0.5rem;
}

.mar-bot-m {
    margin-bottom: 1rem;
}

.mar-bot-l {
    margin-bottom: 2rem;
}

.mar-left-xs {
    margin-left: 0.25rem;
}

.mar-left-s {
    margin-left: 0.5rem;
}

.mar-left-m {
    margin-left: 1rem;
}

.mar-left-1col {
    margin-left: calc(100vw / 12);
}

.mar-left-2col {
    margin-left: calc(100vw / 12);
}

/* Tablet (> 640px) */
@media screen and (min-width: 40rem) {
    .mar-left-1col {
        margin-left: calc(100vw / 24);
    }

    .mar-left-2col {
        margin-left: calc(100vw / 12);
    }
}

.margin-header {
    margin-top: var(--headerHeight, 2.3rem);
}


/* 
    Animations 
*/

.fade-in {
    animation: fade-in var(--duration, 300ms) var(--delay, 0s) ease-in-out both;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}