html{
    font-family: 'Inter', sans-serif;
}

/* Sensible resets */
/* ---------------------------------------------- */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
    padding: 0;
}
li{
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Colours */
.body-base{color: #004175;}
    .bg-primary{background-color: #0061BF;}
    .bg-cyan-900{background-color: #012749;}
    .bg-cyan-800{background-color: #003A6D;}
    .bg-cyan-700{background-color: #00539A;}
    .bg-cyan-600{background-color: #0072C3;}
    .bg-cyan-500{background-color: #1192E8;}
    .bg-cyan-400{background-color: #33B1FF;}
    .bg-cyan-300{background-color: #82CFFF;}
    .bg-cyan-200{background-color: #BAE6FF;}
    .bg-cyan-100{background-color: #E5F6FF;}
    .bg-grey-900{background-color: #161616;}
    .bg-grey-800{background-color: #2C2C2C;}
     .bg-grey-700{background-color: #444444;}
     .bg-grey-600{background-color: #5B5B5B;}
     .bg-grey-500{background-color: #737373;}
     .bg-grey-400{background-color: #8A8A8A;}
     .bg-grey-300{background-color: #A1A1A1;}
     .bg-grey-200{background-color: #B8B8B8;}
     .bg-grey-100{background-color: #D0D0D0;}
     .bg-grey-0{background-color: #F4F4F4;}
    .bg-orange-800{background-color: #FF642B;}
    .bg-orange-600{background-color: #FF8355;}
    .bg-orange-400{background-color: #FFA280;}
    .bg-orange-200{background-color: #FFE0D5;}
    .bg-orange-100{background-color: #ffe6dd;}
    .bg-red-800{background-color: #DA1E28;}
    .bg-red-600{background-color: #FA4D56;}
    .bg-red-100{background-color: #FFD7D9;}

.bg-success{background-color: #28A745;}
.bg-primary{background-color: #0061BF;}
.bg-primary-focus{background-color: #0048A6;}

.content-primary{color:#0061BF;}
.content-inverse{color:#ffffff;}
/* links */
a, a:link, a:visited{color: #0061BF; text-decoration: none;}
a:hover{color:#0048A6;}
.anchr{
    display:block;
    min-height: 1rem;
    padding-bottom: 6rem;
}
/* ---------------------------------------------- */
/* Typography
*/
.muted{
    color: #737373;
}
.display1,.display2,.display3,h1,h2,h3,h4,h5{
    font-weight: 400;
   
}
.display1{
     margin-bottom: 6rem;
}
.display1{
    font-size: 4.5rem;
    line-height: 111%;
}
.display2{
    font-size: 4rem;
}
.display3{
    font-size: 3.5rem;
}
h1, .body-250{
    font-size: 2.5rem;
}
h2, .body-200{
    font-size: 2rem;
}
h3, .body-150{
    font-size: 1.5rem;
    line-height: 133%;
}
h4, .body-125{
    font-size: 1.25rem;
}
h5{
    font-size: 1rem;
}
.caption{
    font-size:0.875rem;
}

p{margin-bottom: 1rem;}
.strong{
    font-weight: 600;
}
.light{
    font-weight: 300;
}

/* Secondary font */
.mono {
    font-family: 'DM Mono', monospace;
}
code{
    font-family: 'DM Mono', monospace;
    margin:.5rem 0;
    background-color: #BAE6FF;
}

/* ELements */
button{
    padding:1rem;
    border-radius: 4px;
    border:0;
    margin: 2rem 0;
}
/* Layout */
hr{
    border: 0;
    height: 1px;
    background: #BAE6FF;
}
/* Tables */
.type-scale{
    background-color: #ffffff;
    width:100%;
    padding: 1rem;
}
td {
 min-width: 6rem;
  text-align:left;
  vertical-align: top;
}
tr td:first-child {
  width: 6em;
  min-width: 6em;
  max-width: 6em;
  word-break: break-all;
}
/* Swatches */
.swatches{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(100px, 1fr));
    grid-template-rows: auto; 
    column-gap: 0rem;
    row-gap: 0rem;
    box-sizing: border-box;
    background-color: #ffffff;
    padding:0rem;
}
    @media (max-width: 758px){
  .swatches{
    grid-template-columns: 1fr;
  }
}
.swatch{
    width:100%;
    height:4rem;
    padding:1rem;
    font-size: .875rem;
}
.swatch .swatch-name{
    display: inline-block;
    float:left;
}
.swatch .swatch-hex{
    display: inline-block;
    float:right;
}
header{
    width:100%;
    height:6em;
    padding: 0 1em;
    position:fixed;
    background-color: #ffffff;
    z-index: 1000;
    top:0;
    /*
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.25);
    */
}
#main{
    position:relative;
    margin-top: 6rem;
    background-color: #E5F6FF;
    padding-left: calc(25% + 1.5rem);
    padding-right: 2rem;
    padding-bottom: 9rem;
    min-height: calc(100vh - 3em);
}
#main.bg-grey-0 {
    background-color: #F4F4F4;
}
#main.bg-white {
    background-color: #FFF;
}
.container {  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto; 
  column-gap: 1rem;
  row-gap: 1.5rem;

 
    min-height: calc(100vh - 3em);
    box-sizing: border-box;
}
.container-single { 
  display:block;
  padding-top: 1.5rem;
  max-width: 70rem;
 
    min-height: calc(100vh - 3em);
    box-sizing: border-box;
}
.row-para{
    max-width: 45rem;
}
    .row-para p{
    margin-top: 1rem;
}
.row-para:nth-child(n + 2){margin-top: 5rem;}
.row-img{
    max-width: 70rem;
}
.row-links{
    max-width: 70rem;
    margin:1rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid #82CFFF;
}
#navbar{
    display: flex;
    position:fixed;
    top:6rem;
    background-color: #ffffff;
    width:16.67%;
    min-width: 9rem;
    height: calc(100vh - 6em);
    z-index: 900;
}
#navbar ul{
    width:100%;
margin:0 1em;
line-height: 2em;
      border-top: 1px solid #BAE6FF;
}
#navbar ul.sublist{
      border-top: 0px solid #BAE6FF;
}
ul.ruler-list{
    width:50%;
}
ul.ruler-list li{
  padding:.5rem 0;
    border-bottom: 1px solid #BAE6FF;
}
i{
    width:24px;
    padding:auto;
    margin-right: .5rem;
}
.i-ref{
    float:right;
    font-family: 'DM Mono', monospace;
    background-color: #BAE6FF;
}


.content-orange-800{
    color: #FF642B;
}