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

/* VARIABLES */
:root {
  /* CHOSEN DESIGN COLORS */
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --yellow-dark: hsl(44, 100%, 70%);
  --yellow-light: hsl(42, 100%, 83%);
  --green-dark: hsl(105, 14%, 33%);
  --green-light: hsl(71, 18%, 62%);
  --grey-dark: hsl(60, 1%, 39%);
  --grey-light: hsl(170, 3%, 60%);

  /* COLOR VARIABLES IN DOCUMENT */
  --bg: hsl(43, 72%, 94%);
  --header-bg: color-mix(in srgb, var(--black) 85%, transparent);
  --footer-bg: var(--green-dark);
  --accent-bg: var(--white);
  --accent-border: var(--yellow-dark);
  --button-face-hover: var(--yellow-light);
  --button-face: var(--white);
  --button-border: var(--yellow-dark);
  --button-accent-face-hover: var(--white);
  --button-accent-face: var(--yellow-light);
  --button-accent-border: var(--yellow-dark);
  --font-color-light: hsl(43, 72%, 94%);

  /* FONTS */
  --font-display: "Dosis", sans-serif; /* h1, h2 */
  --font-accent: "Montserrat", sans-serif; /* h3-h6, nav, knapper */
  --font-body: "Lato", sans-serif; /* brødtekst */

  /* STØRRELSER OG DIMENSIONER */
  --header-height: 4rem;
  --border-radius-standard: 5px;
}

/* SIZE VARIABLES IN DOCUMENT */
@media (min-width: 768px) {
  :root {
    --header-height: 4rem;
  }
}

@media (min-width: 1034px) {
  :root {
    --header-height: 5rem;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* SECTIONS */
#layout {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1034px) {
  #layout {
    flex-direction: row;
  }
}

main {
  flex: 1;
}

aside {
  flex-shrink: 0;
}

.text-content {
  width: clamp(300px, 90%, 1024px);
  margin: auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flex {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.flex div {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accent-box {
  background-color: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--border-radius-standard);
  padding: 1rem;
}

.accent-box ul {
  padding-left: 0;
  list-style-position: inside;
}

.hidden {
  display: none;
}

/* IMAGES */
img {
  max-width: 100%;
}

.profile-img {
  display: block;
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
}

/* FONTS */
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
}

h3 {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 1.4rem;
}

h4,
h5,
h6 {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 1px;
}

nav,
nav button {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

button,
.btn {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 1034px) {
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  nav,
  nav button {
    font-size: 1rem;
  }
}

a {
  text-decoration: underline;
}

a:hover {
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

ul {
  margin: 0;
  padding-inline: 1rem;
  padding-block: 0.5rem;
}

.price-tag {
    font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* BUTTONS */

button {
  background: var(--button-face);
  border: 1px solid var(--button-border);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  padding: 0.5rem 0.9rem;
  border-radius: var(--border-radius-standard);
  font-size: 1rem;
}

button:hover {
  background: var(--button-face-hover);
}

/* SCROLLBAR */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color); /* lys baggrund */
}

::-webkit-scrollbar-thumb {
  background: var(--green-dark);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-light);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-dark) var(--bg-color);
}
