* {
  margin: 0;
  padding: 0;
}

html {
  --white: #ffffff;
  --black: #000000;

  --grey-50: #f7f7f7;
  --grey-100: #d8d8d8;
  --grey-200: #b9b9b9;
  --grey-300: #9a9a9a;
  --grey-400: #7b7b7b;
  --grey-500: #5c5c5c;
  --grey-600: #4a4a4a;
  --grey-700: #373737;
  --grey-800: #252525;
  --grey-900: #121212;

  /* hue = 0 */
  --red-50: #fff4f4;
  --red-100: #ffe9e9;
  --red-200: #ffc9c9;
  --red-300: #ffaaaa;
  --red-400: #e07a79;
  --red-500: #c05052;
  --red-600: #ab323a;
  --red-700: #8d0707;
  --red-800: #730303;
  --red-900: #590000;

  /* hue = 30 */
  --brown-50: #fef7f1;
  --brown-100: #feeedf;
  --brown-200: #fedbb8;
  --brown-300: #fdc791;
  --brown-400: #d69859;
  --brown-500: #af6f2e;
  --brown-600: #965514;
  --brown-700: #7e3f00;
  --brown-800: #653300;
  --brown-900: #4d2600;

  /* hue = 210 */
  --blue-50: #f8fbff;
  --blue-100: #eef6fd;
  --blue-200: #cbe3fb;
  --blue-300: #9acafa;
  --blue-400: #589de2;
  --blue-500: #2175ca;
  --blue-600: #0057ae;
  --blue-700: #004993;
  --blue-800: #003c77;
  --blue-900: #002e5c;

  /* hue = 330 */
  --purple-50: #fff8fc;
  --purple-100: #fdeef6;
  --purple-200: #fbcbe2;
  --purple-300: #faa8d1;
  --purple-400: #db77a9;
  --purple-500: #bd4d85;
  --purple-600: #a52263;
  --purple-700: #8d0046;
  --purple-800: #75003a;
  --purple-900: #5c002e;

  --fontsize-tiny: 1rem; /* 16px */
  --fontsize-small: 1.125rem; /* 18px */
  --fontsize-normal: 1.25rem; /* 20px */
  --fontsize-header: 1.75rem; /* 28px */
  --fontsize-title: 2.75rem; /* 44px */

  --lineheight-tiny: 1.5rem; /* 24px */
  --lineheight-small: 2rem; /* 32px */
  --lineheight-normal: 2rem; /* 32px */
  --lineheight-header: 2.5rem; /* 40px */
  --lineheight-title: 4rem; /* 64px */

  --space-xxxs: 0.25rem; /* 4px */
  --space-xxs: 0.5rem; /* 8px */
  --space-xs: 1rem; /* 16px */
  --space-s: 1.5rem; /* 24px */
  --space-m: 2rem; /* 32px */
  --space-l: 3rem; /* 48px */
  --space-xl: 4rem; /* 64px */
  --space-xxl: 6rem; /* 96px */
  --space-xxxl: 8rem; /* 128px */

  height: 100%;
  scroll-behavior: smooth;
}

@media (max-width: 48em) {
  html {
    --fontsize-tiny: 0.8125rem; /* 13px */
    --fontsize-small: 0.875rem; /* 14px */
    --fontsize-normal: 0.9375rem; /* 15px */
    --fontsize-header: 1.25rem; /* 20px */
    --fontsize-title: 1.75rem; /* 28px */

    --lineheight-tiny: 1rem; /* 16px */
    --lineheight-small: 1.5rem; /* 24px */
    --lineheight-normal: 1.5rem; /* 24px */
    --lineheight-header: 1.5rem; /* 24px */
    --lineheight-title: 2rem; /* 32px */

    --space-xxxs: 0.25rem; /* 4px */
    --space-xxs: 0.5rem; /* 8px */
    --space-xs: 0.75rem; /* 12px */
    --space-s: 1rem; /* 16px */
    --space-m: 1.5rem; /* 24px */
    --space-l: 2rem; /* 32px */
    --space-xl: 3rem; /* 48px */
    --space-xxl: 4.5rem; /* 72px */
    --space-xxxl: 6rem; /* 96px */
  }
}

body {
  background: var(--white);
  color: var(--grey-800);
  font-size: var(--fontsize-normal);
  font-weight: 300;
  line-height: var(--lineheight-normal);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top {
  height: 8px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--red-300);
  background-image: url("/gfx/top-2.svg"), url("/gfx/top-3.svg"),
    url("/gfx/top-5.svg"), url("/gfx/top-7.svg"), url("/gfx/top-11.svg");
}

main {
  margin-bottom: var(--space-xxxl);
}

main > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 45rem;
  width: 86%;
}

h1 {
  font-size: var(--fontsize-title);
  line-height: var(--lineheight-title);
  font-weight: 500;
  margin-bottom: var(--space-m);
  text-align: center;
}

h2 {
  font-size: var(--fontsize-header);
  line-height: var(--lineheight-header);
  font-weight: 500;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-m);
  scroll-margin-top: var(--space-xl);
}

h3 {
  font-size: var(--fontsize-normal);
  font-weight: 500;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-m);
}

p {
  margin-bottom: var(--space-m);
}

.p-info {
  background-color: #fefedf;
  margin-top: var(--space-m);
  margin-bottom: var(--space-m);
  font-size: var(--fontsize-small);
  line-height: var(--lineheight-small);
  padding: var(--space-xs) var(--space-s);
  box-sizing: border-box;
}

.p-info + .p-info {
  margin-top: calc(var(--space-xs) * -1);
}

.p-info a {
  color: inherit;
}

ul {
  margin-bottom: var(--space-m);
  list-style: none;
}

li {
  padding-left: var(--space-l);
  margin-bottom: var(--space-xs);
  position: relative;
}

li::before {
  content: "";
  width: calc(var(--space-m) * 0.25);
  height: calc(var(--space-m) * 0.25);
  display: block;
  background: var(--grey-500);
  position: absolute;
  left: var(--space-xs);
  top: calc(var(--space-m) * 0.375);
}

em {
  font-weight: 500;
  font-style: normal;
}

strong {
  font-weight: 500;
  background-color: #fefedf;
}

a {
  color: var(--blue-600);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s,
    text-decoration 0.3s;
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.1875rem;
  font-weight: 400;
}

a:hover {
  color: var(--blue-800);
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.125rem;
}

a:focus {
  background-color: var(--blue-100);
  outline: var(--blue-100) solid thin;
  outline-offset: 0;
}

.blocklink {
  background-color: var(--blue-100);
  display: inline-block;
  font-size: var(--fontsize-small);
  font-weight: 300;
  line-height: var(--lineheight-small);
  padding: var(--space-xxs) var(--space-xs);
  position: relative;
}

.blocklink::after {
  content: "";
  width: 1.5rem;
  height: 100%;
  background: url("/gfx/arrow-right.svg") no-repeat 100% 50%;
  position: absolute;
  right: -1.5rem;
  top: 0;
}


.blocklink:focus {
  background-color: var(--blue-100);
  outline: none;
  color: var(--grey-800);
}

code {
  background-color: var(--brown-50);
  color: var(--brown-900);
  font-weight: 300;
  font-size: var(--fontsize-small);
  padding: calc(var(--space-xxxs) / 2) var(--space-xxxs);
}

a code,
h1 code,
h2 code,
h3 code,
h4 code {
  background: none;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

pre {
  background-color: var(--brown-50);
  margin-top: var(--space-m);
  margin-bottom: var(--space-m);
  font-size: var(--fontsize-small);
  padding: var(--space-xs) 0;
  overflow-x: auto;
  max-width: none;
  width: 100%;
}

pre code {
  background: none;
  font-size: 1em;
  padding: 0;
  color: var(--brown-900);
  max-width: 45rem;
  width: calc(86%);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

blockquote {
  padding-left: var(--space-l);
  position: relative;
  margin-bottom: var(--space-m);
  box-sizing: border-box;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: var(--space-xxs);
  color: var(--red-500);
  font-size: var(--fontsize-title);
  top: var(--space-xxs);
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  max-width: none;
  width: 100%;
}

figure img {
  display: block;
  margin: 0 auto;
}

figcaption {
  font-size: var(--fontsize-small);
  line-height: var(--lineheight-small);
  margin-top: var(--space-m);
  text-align: center;
  color: var(--grey-500);
  max-width: 45rem;
  width: 86%;
  margin-left: auto;
  margin-right: auto;
}

hr {
  background: url(/gfx/hr.svg) no-repeat 50% 50%;
  border: 0;
  height: var(--space-m);
  margin: var(--space-xxl) auto;
}
.header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: var(--space-xxl) 7%;
}

.header__logo {
  align-items: center;
  display: flex;
}

.header__logolink {
  border-bottom: none;
}

.header__navigation {
}

.header__list {
  display: flex;
  margin: 0;
}

.header__listitem {
  margin: 0 var(--space-xl) 0 0;
  padding: 0;
}

.header__listitem::before {
  display: none;
}

.header__listitem:last-child {
  margin-right: 0;
}

.header__link {
  font-weight: 500;
  text-decoration: none;
  display: block;
  font-size: var(--fontsize-small);
  line-height: var(--lineheight-small);
  padding: 0.125rem 0;
  color: inherit;
  border-bottom: 0.125rem solid var(--purple-100);
  border-top: 0.125rem solid transparent;
}

.header__link:hover {
  color: inherit;
}

.header__link::after {
    content: "";
    height: 0.125rem;
    width: 0;
    background: var(--purple-400);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.2s width;
}

.header__link:hover::after {
  width: 100%;
}


.page--innlegg .header__link--innlegg,
.page--ellers .header__link--ellers,
.page--kolofon .header__link--kolofon {
  border-bottom-color: transparent;
  color: var(--purple-500);
}


.header__link:focus {
  background-color: var(--purple-100);
  outline: var(--purple-100) solid thin;
}



@media (max-width: 35em) {
  .header {
    align-items: center;
    flex-direction: column;
    padding: var(--space-xl) 7%;
  }

  .header__logo {
    margin-bottom: var(--space-m);
  }
}
.mp__magiske-piksler {
  font-size: 4px;
  --color: var(--grey-900);
  margin: 0 auto;
  position: relative;
  width: 52em;
  height: 7em;
}

.mp__magiske-piksler:hover {
  --color: var(--red-600);
}

.mp__magiske {
  position: absolute;
  width: 27em;
  height: 7em;
  top: 0;
  left: 0;
}

.mp__piksler {
  position: absolute;
  width: 22em;
  height: 7em;
  top: 0;
  left: 30em;
}

.mp__magiske-piksler span {
  position: absolute;
  width: 1em;
  height: 1em;
  background-color: var(--color);
  opacity: 0;
  transition: all 0.4s;
}.articlelist {
}

.articlelist__header {
  font-size: var(--fontsize-header);
  line-height: var(--lineheight-header);
  margin-bottom: var(--space-m);
}

.articlelist__description {
  margin-bottom: var(--space-l);
  text-align: center;
}

.articlelist__article {
  text-align: center;
  margin-bottom: var(--space-l);
}

.articlelist__date {
  font-size: var(--fontsize-tiny);
  line-height: var(--lineheight-tiny);
  font-weight: 400;
  color: var(--grey-500);
  margin-bottom: 0;
}

.articlelist__title {
  margin-bottom: 0;
  font-weight: 400;
}

.articlelist__link {
}
.article__date {
  margin-bottom: var(--space-xl);
  text-align: center;
  font-size: var(--fontsize-small);
  line-height: var(--lineheight-small);
  font-weight: 400;
  color: var(--grey-500);
}
.ellers__title {
  font-size: var(--fontsize-header);
  line-height: var(--lineheight-header);
  margin-bottom: var(--space-xxs);
}

.ellers__link {
  text-align: center;
  font-size: var(--fontsize-small);
}

.ellers__link > a {
    color: var(--grey-500);
}

.ellers__date {
  margin-bottom: var(--space-xl);
  text-align: center;
  font-size: var(--fontsize-small);
  line-height: var(--lineheight-small);
  font-weight: 400;
  color: var(--grey-500);
}
.footer {
  background: var(--grey-50);
  font-size: var(--fontsize-small);
  padding: var(--space-l) 0;
  position: relative;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.footer__listitem {
  padding: 0 var(--space-m);
  margin: 0;
}

.footer__listitem::before {
  display: none;
}

.footer__link {
  align-items: center;
  color: var(--grey-800);
  display: flex;
  text-decoration: none;
  font-weight: 300;
}

.footer__link img {
  filter: opacity(40%);
  height: var(--space-s);
  margin-right: var(--space-xxs);
  transition: filter 0.3s;
  width: var(--space-s);
}

.footer__link:hover {
  background: none;
  color: var(--grey-800);
  outline: none;
}

.footer__link:hover img {
  filter: none;
}
