@font-face {
  font-family: stellarregular;
    src: url(stellarregular.woff);
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}


ol, ul {
  list-style: disc;
  padding:1rem;
}

li {
    margin-bottom:1rem;
    line-height: 1.5;
}

input, textarea {
  margin: 0;
  border: none;
  font-family: stellarregular;
  font-size: 100%;
}

textarea {
  resize: none;
}

select {
  margin: 0;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  /* show a hand cursor on hover; some argue that we
  should keep the default arrow cursor for buttons */
  cursor: pointer;
}


html {
  color: #3b2f19;
  font-size: 1em;
  line-height: 1.4;
}


::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}



hr {
  display: block;
  height: 1px;
  border: 0;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

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

}


textarea {
  resize: vertical;
}

   body {
    color: #222;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-family: stellarregular;
  }


  :root {
    --bg-color: #e2f7a8;
    --wf-gray: #434E59;
    --wf-light-gray: #E6ECF2;
    --wf-bright-yellow: #F2BC1B;
    --wf-medium-yellow: #CF9730;
    --wf-medium-brown: #CF9730;
    --wf-deep-brown: #736048;
    --body-text-color: var(--wf-medium-brown);

    /* body font size */
    --text-base-size: 1rem;
    --text-scale-ratio: 1.125;
    --text-size-small: .875rem;
    --text-size-xsmall: .75rem;
    /* type scale */
    --text-x1: calc(var(--text-base-size) * var(--text-scale-ratio));
    --text-x2: calc(var(--text-x1) * var(--text-scale-ratio));
    --text-x3: calc(var(--text-x2) * var(--text-scale-ratio));
    --text-x4: calc(var(--text-x3) * var(--text-scale-ratio));
    --text-x5: calc(var(--text-x4) * var(--text-scale-ratio));
    --text-x6: calc(var(--text-x5) * var(--text-scale-ratio));
  }

  [data-theme="dark"] {
    --bg-color: #3b2f19;
    --font-color: #e2f7a8;
  }
  
  @media (min-width: 30em) {
    :root {
      --text-base-size: 1rem;
      --text-scale-ratio: 1.333;
      --text-size-small: 1rem;
      --text-size-xsmall: .813rem;
      /* type scale */
      --text-x1: calc(var(--text-base-size) * var(--text-scale-ratio));
      --text-x2: calc(var(--text-x1) * var(--text-scale-ratio));
      --text-x3: calc(var(--text-x2) * var(--text-scale-ratio));
      --text-x4: calc(var(--text-x3) * var(--text-scale-ratio));
      --text-x5: calc(var(--text-x4) * var(--text-scale-ratio));
      --text-x6: calc(var(--text-x5) * var(--text-scale-ratio));
    }
  }

main {
  display: grid;
  grid-template-rows: auto; 
  gap: 1rem; 
  width: 80vw;
  margin: 0 auto;
}

.color-grid {
    display: grid;
    grid-template-rows: auto;  
    gap: 2rem;
  }



@media (min-width: 30em) {
    main {
      display: grid;
      grid-template-columns: 3fr 5fr;  
      grid-template-rows: auto;  
      gap: 2rem;
      width: 90vw;
      margin: 0 auto;
    }

    .color-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);  
      grid-template-rows: auto;  
      gap: 2rem;
    }

    .switcher {
        grid-column: 1 /3;
      }

  }

  .color-block {
    min-height:100px;
}
  

section {
  padding:1rem;
}


/* this is code example for typography */

p {
  font-family: stellarregular;
  font-size: var(--text-base-size);
  margin-bottom: 1.5rem;
  line-height: 150%;
}

.typescale-x6 {
  font-size: var(--text-x6);
}

.typescale-x5 {
  font-size: var(--text-x5);
}

.typescale-x4 {
  font-size: var(--text-x4);
}

.typescale-x3 {
  font-size: var(--text-x3);
}

.typescale-x2 {
  font-size: var(--text-x2);
}

.typescale-x1 {
  font-size: var(--text-x1);
}

.typescale-base {
  font-size: var(--text-base-size);
  line-height: 150%;
}

.typescale-small {
  font-size: var(--text-size-small);
  line-height: 150%;
}

.typescale-xsmall {
  font-size: var(--text-size-xsmall);
  line-height: 150%;
}

.all-caps {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eye-brow {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: var(--text-base-size);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--text-x6);
  line-height: 110%;
  font-family: stellarregular; 
  font-weight: 500;
}

h2 {
  font-size: var(--text-x5);
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 110%;
}

h3 {
  font-size: var(--text-x4);
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 120%;
}

h4 {
  font-size: var(--text-x3);
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 120%;
}

h5 {
  font-size: var(--text-x2);
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 120%;
}

h6 {
  font-size: var(--text-x1);
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 120%;
}

.core-lab-sans-medium {
  font-family: stellarregular; 
  font-weight: 500;
  line-height: 100%;

}

.core-lab-sans {
  font-family: stellarregular; 
  font-weight: 300;
  line-height: 100%;
}

.core-lab-serif {
  font-family: stellarregular;
  font-weight: 900;
  line-height: 100%;
}


.color-darksalmon {
    background-color: #E9967A;
  }
    .color-darkolivegreen {
    background-color: #556B2F;
  }
    .color-plum {
    background-color: #DDA0DD;
  }
    .color-slategrey {
    background-color: #708090;
  }
    .color-lemonchiffon {
    background-color: #FFFACD;
  }
    .color-powderblue {
    background-color: #B0E0E6;
  }

/* theme switcher code */

  
  body {
    color: var(--font-color);
    background-color: var(--bg-color);
  
    /* OTHER STYLING */
    margin: 0 2rem 0;
    transition: background-image 0.2s ease;

  }
  
  main {
    border: var(--main-border);
    background: var(--main-bg);

  }
  
  section {
    background: var(--title-background);
  }
  

  
  /* TOGGLE  */
  .theme-switch-wrapper {
    display: flex;
    align-items: center;
  }
  
  .theme-switch-wrapper em {
    margin-left: 10px;
    font-size: 1rem;
  }
  
  .theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }
  
  .theme-switch input {
    display: none;
  }
  
  .slider {
    background-color: #fff955;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
    border-radius: 34px;
  }
  
  .slider:before {
    background-color: #bfbfbf;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 26px;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #6a5838;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .slider svg {
    color: #222;
    position: absolute;
    transition: opacity 0.2s ease 0s, transform 0.35s ease 0s;
    pointer-events: none;
  }
  
  .feather-moon {
    opacity: 0;
    left: 9px;
    bottom: 9px;
    transform: translateX(4px);
  }
  
  .feather-sun {
    opacity: 1;
    right: 10px;
    bottom: 9px;
    transform: translateX(0px);
  }
  
  input:checked + .slider .feather-moon {
    opacity: 1;
    transform: translateX(0);
  }
  
  input:checked + .slider .feather-sun {
    opacity: 0;
    transform: translateX(-4px);
  }
  

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}


.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}



.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}


@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

