/* Lavet i samarbejde med AI (Copilot)*/

/* RESET & BASE */

:root {
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;

  /* Desktop spacing */
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #1E3856;
    font-family: "DM Sans", sans-serif; /* body */
    font-weight: 300;
    font-size: 16px;
}


h1 {
    font-family: "Open Sans";
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: var(--space-s);
}

h2 {
    font-family: "Open Sans";
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: var(--space-s);
}

h3 {
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
}

/* Gør at elementer med denne klasse ligner en H3 */
h3, .h3-style {
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
}


/* mindre headings */
h4 {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* body tekst */
p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-top: var(--space-s);
}




  

@media screen and (min-width: 1024px) {

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 18px;
    }

     h3, .h3-style {
        font-size: 22px;
    }
}

