
/************************************
MASTER LAYOUT
************************************/
body  {
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  background-color: #000b18;

  color: #000b18;
  --c-dark: #000b18;
  --c-medium: #00264d;
  --c-light: #0052a2;

  text-align: center;
}
main {
  /*
  background-color: var(--c-medium);
  box-shadow: 0 -3px 13px rgba(0, 0, 0, 1);
  */
  margin: 0 auto;
  max-width: 800px;
  padding: 1% 4%;
}
h1, h2, h3, h4, h5, h6, p {
  color: rgb(255,255,255,.8);
  font-family: 'Inter', sans-serif;
}
h1 {
  font-weight: 600;
  padding: 1% 0;
  font-size: 3rem;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.6rem;
}
p {
  font-size: 18px;
}
img {
  width: 100%;
}
a:hover, button:hover {
  cursor: pointer;
}
ol {
  padding: 0 4%;
}
li {
  color: rgb(255,255,255,.7);
  padding: 1% 0;
}

/* CANVAS */
canvas {
  border: 1px solid var(--c-light);
  background-color: var(--c-light);
  box-shadow: 0 -3px 13px rgba(0, 0, 0, 1);
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
/************************************
STYLES
************************************/
.specs, .bg-blue {
  background-color: var(--c-light);
  /*
  box-shadow: 0 -1px 8px rgba(255, 255, 255, .1);
  */
  border-radius: 8px;
  padding: 1%;
  max-width: 550px;
  margin: 3% 0;
}
.specs ol {
  padding: 0 0 2% 8%;
}
.specs h3 {
  margin: 2% 0 0 1%;
}
.intro-text {
  padding: 2%;
  margin: 0 auto;
}
.canvas-container {
  padding: 2% 0 0 0;
  margin: 0 auto;
}
/************************************
BUTTONS
************************************/
button {
  background-color: var(--c-medium);
  border: 1px solid var(--c-light);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 2%;
  min-width: 100px;
  margin: 8px 1rem;
}
button:hover {
  background-color: var(--c-dark);
  border: 1px solid var(--c-light);
  transition: 200ms ease-in-out;
}
#start-btn {
  background-color: var(--c-light);
  border: 2px solid var(--c-light);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  padding: 1rem 5rem;
  letter-spacing: 0;
}
#start-btn:hover {
  background-color: var(--c-dark);
  border: 2px solid var(--c-light);
  transition: 180ms ease-in-out;
}
#start-btn:visited {
  background-color: var(--c-dark);
  border: 2px solid var(--c-dark);
  color: gray;
}
#keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-top: 3%;
  margin: 0 auto;
}
#keys button {
  min-width: 150px;
  min-height: 60px;
}
@media screen and (min-width: 600px) {
  #keys button {
    min-width: 100px;
    min-height: 0;
  }
}
/************************************
footer - nav
************************************/
footer {
  border: 1px solid var(--c-medium);
  border-radius: 8px;
  color: gray;
  height: 200px;
  margin: .8rem auto;
  width: 90%;

  display: flex;
  justify-content: space-around;
  align-items: center;
}
@media screen and (min-width: 825px) {
  footer {
    width: 800px;
    height: 250px;
  }
}
/************************************
pill design
************************************/
/* The switch - the box around the slider */
.pill {
  padding-bottom: 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.pill span {
  padding: 0 1%;
  color: gray;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--c-medium);
  -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%;
}