/* font roboto slab, fonts/RobotoSlab-VariableFont_wght.ttf */
@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

* {
    /* Main colors - This will cascade down */
    --primary: #070F3A;
    --secondary: #00B4B4;
    --neutral: #D4DAFA;
    --bright: #FFFFFF;
    --dark: #1E1E1E;
    --primary-alt: #192148;

    /* backgrounds - we can change this if we need to, otherwise it'll cascade */
    --bg-primary: var(--primary);
    --bg-secondary: var(--secondary);
    --bg-secondary-40: #00b4b481;
    --bg-neutral: var(--neutral);

    /* text colors - we can change this if we need to, otherwise it'll cascade */
    --text-primary: var(--primary);
    ;
    --text-secondary: var(--secondary);
    --text-white: var(--bright);
    --text-neutral: var(--neutral);
    --text-dark: var(--dark);
    --text-error: #FF0000;
    --text-warning: #FFC107;
    --text-success: #00B4B4;

    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Roboto Slab', sans-serif;

    font-family: var(--font-primary);
}

html {
    scroll-behavior: smooth !important;
}

/* general styling */

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* min-height: 100vh; */
}

div {
    box-sizing: border-box;
    /* This is good to have in most cases, otherwise override in local scope */
}

/* text styling according to figma file */

p {
    color: var(--text-dark);
    /* responsive font size */
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: auto;

    /* blocksatz */
    hyphens: auto;
    text-align: justify
}

h1 {
    color: var(--text-primary);
    font-family: 'Roboto Slab', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h2 {
    color: var(--text-secondary);
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

h3 {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 128.571% */
}


/* Color variants */

h1.primary,
h2.primary,
h3.primary,
p.primary,
.primary {
    color: var(--text-primary);
}

h1.secondary,
h2.secondary,
h3.secondary,
p.secondary,
.secondary {
    color: var(--text-secondary);
}

h1.white,
h2.white,
h3.white,
p.white,
.white {
    color: var(--text-white);
}

h1.neutral,
h2.neutral,
h3.neutral,
p.neutral,
.neutral {
    color: var(--text-neutral);
}

h1.dark,
h2.dark,
h3.dark,
p.dark,
.dark {
    color: var(--text-dark);
}


a {
    color: var(--text-secondary);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    /* 150% */
    display: flex;
    align-items: center;
    text-decoration: none !important;

}

a p {
    text-decoration: underline;
    /* yes, we put p in a, but only because the icons look weird otherwise */
    color: var(--text-secondary);
}

.font-primary {
    font-family: var(--font-primary);
}

.font-heading {
    font-family: var(--font-heading);
}

hr {
    color: white;
    height: 1px;
    border: none;
    background-color: white;
}