:root {
  --primary-color: #009F91;
  --secondary-color: #0F375A;
  --secondary-color-hover: #081D30;
  --tertiary-color: #A40A46;
  --tertiary-color-hover: #730731;
  --no-contrast-color: #FFFFFF;
  --alternative-background-color: #F5F4F4;
  --alternative-primary-background-color: #009F91;
}

@font-face {
  font-family: Verdana;
  src:url("/assets/fonts/Verdana.ttf");
}
@font-face {
  font-family: VerdanaItalic;
  src:url("/assets/fonts/Verdana Italic.ttf");
}
@font-face {
  font-family: VerdanaBold;
  src:url("/assets/fonts/Verdana Bold.ttf");
}
@font-face {
  font-family: VerdanaBoldItalic;
  src:url("/assets/fonts/Verdana Bold Italic.ttf");
}

* {
  font-family: Verdana;
  color: var(--secondary-color);
}

body {
  margin: 0;
  background-color: var(--secondary-color);
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 50%, var(--primary-color) 100%);
}

.canvas {
  background-color: var(--no-contrast-color);
}

p, .link, li {
  line-height: 180%;
  margin: 0;
}

strong {
  font-family: VerdanaBold;
}

.link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  transition: all .225s;
}

p.lead {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 0 .5rem;
}

h1 {
  font-family: VerdanaBold;
  font-size: 2rem;
  margin: 0 0 .5rem;
}

h2 {
  font-family: VerdanaBold;
  font-size: 1.75rem;
  margin: 0 0 .5rem;
}

h3 {
  font-family: VerdanaBold;
  font-size: 1.5rem;
  margin: 0 0 .5rem;
}

h4 {
  font-family: VerdanaBold;
  font-size: 1.25rem;
  margin: 0 0 .5rem;
}

em {
  font-family: VerdanaItalic;
  font-style: normal;
}

.layout {
  max-width: 1120px;
  margin: 0 auto;
}

header {
  background-color: var(--primary-color);
  border-bottom: .5rem solid var(--secondary-color);
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
}

.logo {
  width: 10rem;
}

.button {
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: 2rem;
  font-family: VerdanaBold;
  text-decoration: none;
  color: var(--no-contrast-color);
  cursor: pointer;
  transition: all .125s;
}

.button:hover {
  text-decoration: underline;
}

.button.button-primary {
  background-color: var(--secondary-color);
}

.button.button-primary:hover {
  background-color: var(--secondary-color-hover);
}

.button.button-secondary {
  background-color: var(--tertiary-color);
}

.button.button-secondary:hover {
  background-color: var(--tertiary-color-hover);
}

.button.undertext {
  margin-top: 2rem;
}

footer {
  padding: 2rem 1rem;
  background-color: var(--secondary-color);
}

.link-indicator p {
  margin-bottom: .5rem;
}

.link-indicator p:last-of-type {
  margin-bottom: 0;
}

footer h4, footer a, footer p {
  color: var(--no-contrast-color);
}

.link-indicator a {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.link-indicator.light a:hover {
  opacity: .9;
}

.link-indicator.light a::before {
  content: url('/assets/icons/link-indicator-light.svg');
  position: absolute;
  opacity: 0;
  left: -1.75rem;
  width: 1rem;
  height: 1rem;
  transition: all .125s;
}

.link-indicator.dark a:hover {
  color: var(--secondary-color-hover);
}

.link-indicator.dark a::before {
  content: url('/assets/icons/link-indicator-dark.svg');
  position: absolute;
  opacity: 0;
  left: -1.75rem;
  width: 1rem;
  height: 1rem;
  transition: all .125s;
}

.link-indicator a:hover::before {
  opacity: 1;
  left: -1.25rem;
}

section {
  padding: 2rem 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.jumbotron-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  align-items: flex-start;
}

.jumbotron-contact {
  padding: 2rem;
  background-color: var(--alternative-background-color);
}

.jumbotron-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logos-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.logos-inner a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-inner img {
  width: 10rem;
  filter: grayscale(100%);
  opacity: .5;
  transition: all .125s;
}

.logos-inner a:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.logos-inner .logos-stedelink {
  width: 14rem;
}

.alternate-bg {
 background-color: var(--alternative-background-color);
}

.centered-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.centered-section-inner h2, .centered-section-inner p {
  text-align: center;
}

.centered-section-inner p {
  max-width: 32rem;
}

.work-for {
  background-color: var(--alternative-primary-background-color);
}

.work-for h2, .work-for p, .work-for a, .work-for h3 {
  color: var(--no-contrast-color);
}

.work-for-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.work-for-inner a:first-of-type {
  margin-top: .5rem;
}

.work-for-inner a {
  margin-bottom: .5rem;
}

.work-for-primary {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.work-for-primary img {
  width: 6rem;
  height: 6rem;
  margin-top: .5rem;
  border-radius: 3rem;
  object-fit: cover;
}

.viernulvier {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hide-lg {
  display: flex;
}

.hide-sm {
  display: none;
}

.three-columns-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.column {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1rem;
}

.column-icon {
  margin-top: .5rem;
}

.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.counter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.counter h1 {
  margin-top: 3rem;
}

.counter h1, .counter p {
  text-align: center;
}

.kirbytext {
  max-width: 48rem;
}

.kirbytext.center {
  margin: 0 auto;
}

.kirbytext p {
  margin-bottom: 1rem;
}
.kirbytext p:last-of-type {
  margin-bottom: 0;
}

@media screen and (min-width: 760px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  nav {
    padding: .5rem 1rem;
  }
  .logo {
    width: 12rem;
  }
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .jumbotron-inner {
    grid-template-columns: 8fr 4fr;
  }
  .jumbotron-content {
    padding-right: 4rem;
  }
  section {
    padding: 5rem 1rem;
  }
  .logos {
    padding: 0 1rem 5rem;
  }
  .logos-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .work-for-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 2rem;
  }
  .work-for-primary {
    grid-template-columns: auto 1fr;
  }
  footer {
    padding: 5rem 1rem;
  }
  .hide-sm {
    display: flex;
  }
  .hide-lg {
    display: none;
  }
  .three-columns-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1140px) {
  nav {
    padding: .5rem 0;
  }
  section {
    padding: 5rem 0;
  }
  .logos {
    padding: 0 0 5rem;
  }
  footer {
    padding: 5rem 0;
  }
}
