* {
  box-sizing: border-box;
}

body { 
    background-color: #fdf6e3; 
    color: #586e75;
}
body.dark-theme { 
    background-color: #002b36;
    color: #93a1a1;
}

h1 { color: #2aa198; }
h2 { color: #d33682 }
    
a { color: #b58900 }

.optionals { color: #93a1a1 }
.optionals-dark-theme { color: #586e75 }


.green { color: #859900}

.blue { color: #268bd2}

.violet { color: #6c71c4 }

.magenta { color: #d33682 }

.red { color: #dc322f }

.orange { color: #cb4b16 }

.top { background-color: #eee8d5 }

.title_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    flex-grow: 1;
}

.items {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.quote_box {
    margin: 0% 35% 0% 35%;
    text-align: right;
    flex: 6;
}

.spacer {
    flex: 1;
}

.switch {
    flex: 1;
}

.unit {
    flex: 1
}

.half {
    flex: 0.5
}

.text {
    flex: 5;
    box-sizing: border-box;
}

.indent {
    margin: 0% 0% 10px 12%;
}

.head {
    margin: 0% 0% 0% 10%;
    flex: 1;
    flex-grow: 1;
}

.theme-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;

}
.subheader {
    margin: 0% 5% 0% 10%;
    display: flex;
    flex-direction: row;    
    align-items: baseline;
}

.theme-line { font-size: x-large }

@media screen and (max-width: 480px) {
    .subheader { margin: 0% 0% 0% 0%; }
    .head { margin: 0%; }
    .indent { margin: 0% 0% 10px 5% }
    .theme-line { font-size: medium }
    .theme-box { 
        align-items: center; 
        flex-direction: column; 
    }
}

@media screen and (max-width: 570px) {
    .quote_box {margin: 0% 10% 0% 0%;}
}

@media screen and (min-width: 480px) {
}

/* COPYPASTA */
/* 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;
}

/* 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%;
}
