* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* outline: 1px solid red; */
}

html {
    background-color: white;
    overflow: hidden;
}

body {
    margin: 0;
    font-weight: 400;
    background-color: white;
    overflow: auto;
    overflow-x: hidden;
}

body.gray {
    background-color: #DBDBDB;
}

body.black {
    background-color: #DBDBDB;
}

/* body.has-scrollbar::-webkit-scrollbar,
body.has-scrollbar *::-webkit-scrollbar {
    width: 8px;
}

body.has-scrollbar::-webkit-scrollbar-track,
body.has-scrollbar *::-webkit-scrollbar-track {
    background: transparent;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

body.has-scrollbar::-webkit-scrollbar-thumb,
body.has-scrollbar *::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 0;
    border: 0;
} */

.barba-container {
    background-color: white;
}

.barba-container.gray {
    background-color: #DBDBDB;
}

.barba-container.black {
    background-color: black;
}

.barba-container,
.barba-container > div {
    max-height: 100svh;
    max-width: 100vw;
    /* overflow-y: auto; */
    overflow-x: hidden;
}

.barba-container.snap,
.barba-container.snap > div {
    scroll-snap-type: y mandatory;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
caption,
a {
    margin: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 300ms;
}

a.expand-target::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

a.link:hover {
    opacity: 0.7;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li,
ul dt,
ul dd,
dl li,
dl dt,
dl dd {
    margin: 0;
    display: block;
    height: fit-content;
}

dl dd {
    margin-bottom: 1em;
}

table th,
table tr,
table td {
    text-align: left;
}

small {
    font-size: 60%;
}

strong {
    font-weight: 500;
}

address {
    font-style: normal;
}

figure {
    margin: 0;
}

picture {
    display: block;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

video {
    width: 100%;
    height: auto;
    border: 0;
}

caption {
    text-align: left;
}

::selection {
    background-color: rgb(50, 50, 50);
    color: white;
}

/* 
    Form Newsletter
*/

input[type=text],
input[type=email],
input[type=password],
textarea {
    background-color: transparent;
    border: 0;
    width: 100%;
    border-radius: 0;
}

*:focus,
*:focus-visible {
    outline-color: rgba(150, 150, 150, 0.2);
    -webkit-box-shadow: none;
    box-shadow: none;

}

/* 
    Colors (c)
*/
.c-primary {
    color: var(--primaryColor);
}

.c-secondary {
    color: var(--secondaryColor);
}

.c-darkgray {
    color: rgb(163, 163, 163);
}

.c-gray {
    color: rgb(163, 163, 163);
}

.c-lightgray {
    color: rgb(163, 163, 163);
}

/* 
    Display 
*/

.inline {
    display: inline;
}

.block {
    display: block;
}

.flex {
    display: flex
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}


/* 
    Padding 
*/

.pad-xs {
    padding: 16px;
}

.pad-s {
    padding: 20px;
}

.pad-m {
    padding: 32px;
}

.pad-l {
    padding: 48px;
}

.pad-xl {
    padding: 64px;
}

/* 
    Margins 
*/

.mar-xs {
    margin: 12px;
}

.mar-s {
    margin: 16px;
}

.mar-m {
    margin: 32px;
}

.mar-l {
    margin: 48px;
}

.mar-xl {
    margin: 64px;
}

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

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

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

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

/* 
    Utilities 
*/

.no-scroll {
    overflow: hidden;
}


/* 
    Animations 
*/

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

@keyframes fade-in {
    from { opacity: 0 }
    to { opacity: 1}
}

/* 
    Kirby Text 
*/

.kt p:not(:last-child) {
    margin-bottom: 0.75em;
}

.kt a {
    text-decoration: underline;
}

.kt a:hover {
    opacity: 0.7;
}