:root {
    scroll-behavior: smooth;

    font-size: 16px;

    --color-white: #ffffff;
    --color-black: #000000;
    --color-black-soft: #1c1c1c;
    --color-black-sharp: #212121;
    --color-alt: #e4dfd5;

    --color-error: 253, 52, 52; /*rgb for #fd3434*/
	--color-success: 46, 199, 87; /* rgb for #2ec757*/
	--color-warning: 237, 150, 30; /*rgb for #ed961e*/

}
body {
    --color-text: var(--color-black);
    --color-text-dark: var(--color-white);
    --color-bg: var(--color-white);
    --color-bg-sand: var(--color-alt);
    --color-bg-dark: var(--color-black-sharp);

    /* mobile */
    --fsize-1: 4rem;
    --fsize-2: 3rem;
    --fsize-3: 1.5rem;
    --fsize-4: 1.125rem;
    --fsize-normal: 1rem;
    --fsize-special: 0.75rem;

    --pagination-spacer-x: 1.25rem;
    --pagination-spacer-y: 3rem;

    --header-height: 48px;

    --section-gap: 2.5rem;
    --content-gap: 1.25rem;
    --text-aria-x: 1.25rem;

    /* Timeline Table vars */
    --row-size-x: 36px;
    --row-size-y: 144px;

    /* Swiper vars */
	--swiper-slide-len: 320px;
	--swiper-slide-heg: 214px;
    --swiper2-slide-len: var(--swiper-slide-len);
    --swiper2-slide-heg: 180px;
    --swiper-gap: 1.5rem;
	--navbtn-size: 2rem;
}
/* tablet */
@media screen and (min-width: 576px) {
    body {
        --fsize-1: 6rem;
        --fsize-2: 3.75rem;
        --fsize-3: 1.75rem;
        --fsize-4: 1.25rem;
        --fsize-normal: 1rem;
        --fsize-special: 0.875rem;

        --pagination-spacer-x: 3rem;
        --pagination-spacer-y: 4.5rem;

        --header-height: 72px;

        --section-gap: 2.75rem;
        --content-gap: 1.75rem;
        --text-aria-x: 0;

        --swiper-slide-len: 544px;
        --swiper-slide-heg: 362px;
        --swiper2-slide-heg: 306px;

        --row-size-x: 52px;
        --row-size-y: 130px;
    }
}
/* desktop */
@media screen and (min-width: 1200px) {
    body {
        --fsize-1: 7.5rem;
        --fsize-2: 5.25rem;
        --fsize-3: 2.25rem;
        --fsize-4: 1.875rem;
        --fsize-normal: 1rem;

        --pagination-spacer-x: 5rem;
        --pagination-spacer-y: 6.5rem;

        --header-height: 88px;

        --section-gap: 6.5rem;
        --content-gap: 2.25rem;

        --row-size-x: 56px;
        --row-size-y: 161px;

        --swiper-slide-len: 840px;
        --swiper-slide-heg: 560px;
        --swiper2-slide-heg: 470px;
        --swiper-gap: 2rem;
        --navbtn-size: 2.5rem;
    }
}
/* desktop xxl */
@media screen and (min-width: 1800px) {
    body {
        --fsize-1: 9.375rem;
        --fsize-2: 6.75rem;
        --fsize-3: 2.25rem;
        --fsize-4: 1.875rem;
        --fsize-normal: 1.125rem;
        --fsize-special: 1rem;

        --pagination-spacer-x: 9.675rem;
        --pagination-spacer-y: 6.5rem;

        --section-gap: 7.5rem;
        --content-gap: 2.5rem;

        --swiper-slide-len: 1098px;
        --swiper-slide-heg: 732px;
        --swiper2-slide-heg: 615px;
        --swiper-gap: 3rem;
        --navbtn-size: 3.5rem;
    }
}

* {
    box-sizing: border-box;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #f8f8f8;
    font-size: var(--fsize-normal); /* 18px */
    font-weight: 300;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h1, h2, *.heading-1, *.heading-2 {
    font-family: "Playfair Display", sans-serif;
}
h1, .heading-1 {
    font-size: var(--fsize-1);
}
h2, .heading-2 {
    font-size: var(--fsize-2);
    line-height: 1;
}
h3, *.heading-3 {
    font-family: unset;
    font-size: var(--fsize-3);
    line-height: 1.25;
}
h4, *.heading-4 {
    font-family: unset;
    font-size: var(--fsize-4);
    font-weight: 500;
}
p {
    font-size: var(--fsize-normal);
    line-height: 1.5;
    margin: 0;
}
a, a:visited {
    text-decoration: none;
    color: inherit;
}

section {
    padding-top: var(--pagination-spacer-y);
    padding-bottom: var(--pagination-spacer-y);
    margin: 0 auto;
}
section.section__wrapped {
    padding: calc(1rem + var(--pagination-spacer-y)) var(--pagination-spacer-x);
}

.text-space {
    padding: 0 var(--text-aria-x);
}
