/*

--- 01 TYPOGRAPHY SYSTEM 

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph defoult: 1.6

-Letter spacing

-0.5px
0.75px

--- 02 COLORS

- Primary:#135029
- Tint:#e7eeea
- Shades: #114825
- Accents:
- Greys:
#767676
#555
#333
--- 03 SHADOWS

--- 04 BORDER-RADIUS

Defoult: 9px

--- 05 WHITESPACE

-Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 5.7rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: 1.38rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
  font-weight: 500;
  color: #555;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  margin-top: var(--header-height);;
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1.5rem;
  }
}

/* ******************************** */
/* GENERAL REUSABLE COMPONENTS */
/* ******************************** */

#vipper,
#negler,
#fotbehandling,
#bryn,
#pmu {
   scroll-margin-top: 10rem;
}

.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}


.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid-small-gaps {
  display: grid;
  column-gap: 0rem;
  row-gap: 0rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--center-v {
  align-items: center;
  margin-bottom: 12rem;
}

@media screen and (max-width: 1118px) {
  .grid--2-cols {
    grid-template-columns: 1fr;
  }

  .grid {
    column-gap: 3.2rem;
    row-gap: 4.8rem;
  }

  .container {
    padding-inline: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding-inline: 1.5rem;
  }

  .heading-on-background {
    font-size: 3.4rem;
    margin-top: 4rem;
  }

  .heading-secondary {
    font-size: 3rem;
  }
}

.page-behandlinger .heading-on-background {
  display: table;
  margin: 3rem auto 12rem;
  transform: translateX(-5%);
}

.heading-on-background {
  font-weight: 400;
  letter-spacing: -0.5px;
  font-size: 7.4rem;
  line-height: 1.05;
  margin-top: 7rem;
  margin-bottom: 3.2rem;
  font-family: "Playfair Display", serif;
}

.heading-secondary {
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 4.6rem;
}

.heading-small {
  font-weight: 700;
  color: #474747;
  letter-spacing: -0.5px;
  font-size: 2rem;
  line-height: 1;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.subheading {
  display: block;
  font-size: 2.4rem;
  font-weight: 500;
  color: #114825;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn--full:link,
.btn--full:visited {
  background-color: #135029;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: #114825;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #555;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #e7eeea;
  box-shadow: inset 0 0 0 3px #fff;
}

.btn--form {
  background-color: #0f3f20;
  color: #c4f0d4;
  align-self: end;
  padding: 1.2rem;
}

.btn--form:hover {
  background-color: #fff;
  color: #555;
}

.margin-right-sm {
  margin-right: 1.6rem !important;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(19, 80, 41, 0.493);
}
