/* @bg: #24252D;
@bg2: #2f313b;
@font: #CACACC;
@subfont: #696A6F;
@turquoise: #48ebeb;
@green: #24D05A;
@yellow: #E9BC3F;
@blue: #10A2F5; */

body {
  background: #fff;
  color: #000;
  font-family: "Roboto Mono", monospace;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
}

.container {
  padding-top: 10%;
  max-width: 300px;
  margin: 0 0 2em 0;
}

h1 {
  font-weight: 400;
  margin: 0;
}

h2 {
  color: #696a6f;
  font-weight: 300;
  margin: 0 0 0.5em 0;
}

.links {
  display: flex;
  justify-content: flex-start;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li::before {
  content: "·";
  display: inline-block;
  border-radius: 100%;
  margin: 0 0.5em 0 0;
  font-weight: bold;
  font-size: 2em;
  vertical-align: middle;
  line-height: 20px;
}

.green li::before {
  color: #24d05a;
}

.red li::before {
  color: #48ebeb;
}

.yellow li::before {
  color: #e9bc3f;
}

.blue li::before {
  color: #10a2f5;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #e9bc3f;
}

body.dark-mode {
  background: #24252d;
}

body.dark-mode p,
body.dark-mode a,
body.dark-mode h1 {
  color: #cacacc;
}

body.dark-mode a:hover {
  color: #e9bc3f;
}

.dark-mode-toggler {
  position: fixed;
  top: 5px;
  right: 20px;
}

.dark-mode-toggler label {
  position: relative;
}

.dark-mode-toggler input[type="checkbox"] {
  display: none;
}

.dark-mode-toggler input[type="checkbox"] + label::before {
  content: "";
  display: block;
  height: 26px;
  width: 60px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 15px;
  position: absolute;
  top: 0px;
  left: -65px;
}

.dark-mode-toggler input[type="checkbox"] + label::after {
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: -62px;
  transition: all 0.4s ease-in;
}

.dark-mode-toggler input[type="checkbox"]:checked + label::before {
  background: #fff;
  border: 2px solid #96979c;
}
.dark-mode-toggler input[type="checkbox"]:checked + label::after {
  left: -28px;
  background: #fff;
  border: 2px solid #96979c;
  transition: all 0.4s ease-in;
}
