.head {
  /* display: flex; */
  justify-content: space-between;
  flex-direction: row;
  align-items: baseline;
}
.front .header {
  background-color: #1E3265;
}

.header {
  position: relative;
  /* padding-bottom: 2rem; */
}

.header .grid {
  align-items: center;
}

.sticky-region {
  height: 43px;
  top: 0rem;
  z-index: 10;
  background-color: var(--color-highlight);
}

.sticky-region .flex-row {
  align-items: center;
}

.content-top {
  background-color: var(--color-light);
  padding: 1rem;
  margin-bottom: 1rem;
  /* padding-bottom: 150px; */
}

aside {
  grid-area: sidebar;
  /* margin-top: 2rem; */
}

main {
 grid-area: content;
}

.grid {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 100%;
  grid-template-areas:
    "content"
    "sidebar ";
}

@media screen and (min-width: 800px) {
  .grid {
    grid-template-columns: 70% auto;
    grid-template-areas:
      "content sidebar";
  }

  aside {
    padding-left: 2rem;
    /* border-left: 1px solid #e8e1d7; */
    /* padding-right: 15vw; */
    /* margin-right: -15vw; */
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1rem;
  /* overflow: hidden; */
}

.padded {
  padding: 3rem;
  margin-bottom: 0;
}

.visibility-hidden {
  visibility: hidden;
  height: 0;
  margin: 0;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

@media screen and (min-width: 800px) {
  .flex-row {
    flex-direction: row;
  }
}

.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

.baseline {
  align-items: baseline;
}

.end {
  align-items: end;
}

.gap-normal {
  grid-gap: 1rem;
}

.gap-x-large {
  grid-gap: 3rem;
}

.w-100 {
  width: 100%;
}

.sticky {
  position: sticky;
  top: -1px;
  transition: all ease-in-out .25s ;
  visibility: hidden;
  height: 0;
}

/* Fixing a background like Oxon Air */
.bg-fixed {
  background-attachment: fixed;
  /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%); */
  padding-bottom: 30px;
}

/* styles for when the header is in sticky mode */
.sticky.is-pinned {
  visibility: visible;
  height: auto;
  padding: 0.5rem;
}

.decorative-list {
  max-width: initial;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  width: 80%;
  /* text-align: center; */
}

.decorative-list img {
  max-width: 300px;
}

.decorative-list h3 {
  margin: 0;
  padding: 0;
}

@media (min-width: 800px) {
  .decorative-list {
    width: auto;
    text-align: left;
  }

  .decorative-list li {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }
}

.text-centered {
  text-align: center;
  padding: 2rem;
}

/* Styleguide - maybe this goes in the styleguide page? */

.colors {
  display: flex;
}

.color {
  width: 200px;
  height: 200px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
}

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

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

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

.highlight {
  background-color: var(--color-highlight);
  color: var(--color-text);
}

.soft-bg {
  background-color: var(--color-soft-bg);
  color: var(--color-text);
}

.text-color {
  background-color: var(--color-text);
  color: var(--color-light);
}

.light {
  background-color: var(--color-light);
  color: var(--color-text);
}

.table {
  background-color:  var(--color-table);
}

.row {
  background-color:  var(--color-row);
}
