@font-face {
  font-family: "zillaslab";
  src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/858/ZillaSlab.woff2")
    format("woff2");
}

:root {
  --black: hsl(0, 0%, 16%);
  --white: hsl(0, 0%, 97%);
  --blue: hsl(198, 100%, 66%);
  --teal: hsl(198, 43%, 42%);
  --lightYellow: hsl(43, 100%, 92%);
  --grey: hsl(0, 0%, 80%);
  --unit: 1.2rem;
}

body {
  padding: var(--unit);
  background-color: var(--white);
  font-family: "Arial", sans-serif;
  font-size: 100%;
  color: var(--black);
  line-height: 1.3;
}

/* page partials */
footer {
  padding: var(--unit);
  margin-top: calc(var(--unit) * 2);
  border-top: 1px solid var(--grey);
}
footer p {
  margin: 0px;
  text-align: center;
}

/* base styles */
h1,
h2 {
  font-family: "zillaslab", serif;
}

h2 {
  padding: calc(var(--unit) / 2);
  background-color: var(--black);
  color: var(--white);
  font-weight: normal;
}

p {
}

a {
  border: 1px solid var(--teal);
  border-width: 0px 0px 1px 0px;
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  border-width: 1px 0px 0px 0px;
}

nav ul {
  display: flex;
  justify-content: space-between;
  margin: 0px;
  padding: 0px;
  list-style: none;
}
nav li {
  margin: 0px;
  padding: 0px;
}

dl {
  display: flex;
  flex-wrap: wrap;
}
dt,
dd {
  padding: 2%;
  box-sizing: border-box;
}
dt {
  width: 30%;
  font-weight: bold;
  text-align: right;
}
dd {
  width: 66%;
  margin: 0px;
}

code {
  background-color: var(--lightYellow);
  font-family: monospace;
  font-size: 110%;
  letter-spacing: 0.5px;
}

pre {
  padding: var(--unit);
  background-color: var(--grey);
  border-left: 4px solid var(--teal);
  white-space: pre-wrap;
  overflow-wrap: break-word;
  tab-size: 4;
  font-size: 86%;
}

pre code {
  background: none;
}

 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.button {
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

.button2 {padding: 9px 18px;}

.button2 {border-radius: 10px;}

.button2:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
} 