html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 22px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
  color: rgb(230,230,230);
  background-color: rgb(0,0,51);
  /* anti-aliasing for crisper fonts */
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  margin-bottom: 1rem;
  text-align: justify;
}

aside {
  background-color: rgb(40, 32, 68);
  color: rgb(255, 161, 155);
  font-size: 0.8rem;
  font-style: italic;
  padding: 1rem;
  text-align: justify;
}

aside a {
  color: rgb(255, 209, 137);
}

h1, h2, h3, h4 {
  font-family: 'Raleway', 'Tinos', sans-serif;
  line-height: 1.1;
  color: rgb(255, 190, 137);
}

h1 {
  text-align: center;
  font-weight: 200;
  font-size: 3rem;
}

h2 {
  font-weight: 700;
  font-size: 1.8rem;
}

h3 {
  /*text-align: center;*/
  font-weight: 400;
  font-size: 1rem;
}

h4 {
  text-align: center;
  font-weight: 300;
  font-size: 1rem;
}

i {
  font-style: italic;
}

b {
  font-weight: 600;
}

a {
  color: #00aeef;
}

.yellow {
  color: rgb(220, 220, 110);
}

.red {
  color: rgb(220, 60, 60);
}

.orange {
  color: rgb(220, 142, 0);
}

.big {
  font-size: 1.25rem;
}
.bigger {
  font-size: 1.75rem;
  font-weight: 600;
}

.smaller > div {
  font-size: 1rem !important;
}

.stretch {
  width: 100%;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 800px;
}

.component {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.graph {
  width: 100%;
  height: 700px;
}

.graphic {
  width: 100%;
  font-family: 'Raleway', 'Tinos', sans-serif;
  background-color: rgb(0, 0, 51);
  color: rgb(240,240,240);
  display: flex;
  flex-direction: row;
  justify-content: center;
  /*margin-top: 0.5rem;*/
  margin-bottom: 0.5rem;
}

.graphic-container {
  flex-basis: 85%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.verticalalign {
  align-items: center;
}


.wrap {
  flex-wrap: wrap;
}

.column {
  display: flex;
  flex-direction: column;
  /*font-size: 1.25rem;*/
  color: rgb(255, 190, 137);
}

.column > div {
  /*border: solid 1px;*/
  margin-bottom: 1rem;
}

.center {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.label {
  padding: 2rem;
  color: rgb(255, 190, 137);
}

.caption {
  width: 750px;
  margin-top: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.75rem;
  text-align: center;
}

/* two column */
.big-small > div:nth-child(1) {
  flex-basis: 60%;
}

.big-small > div:nth-child(2) {
  flex-basis: 40%;
}

/* two column */
.small-big > div:nth-child(1) {
  flex-basis: 40%;
}

.small-big > div:nth-child(2) {
  flex-basis: 60%;
}

/* three column */
.big-small-small > div:nth-child(1) {
  flex-basis: 60%;
}

.big-small-small > div:nth-child(2) {
  flex-basis: 20%;
}

.big-small-small > div:nth-child(3) {
  flex-basis: 20%;
}


/* three column */
.small-big-small > div:nth-child(1) {
  flex-basis: 25%;
}

.small-big-small > div:nth-child(2) {
  flex-basis: 50%;
}

.small-big-small > div:nth-child(3) {
  flex-basis: 25%;
}


/* four column */
.small-big-small-small > div:nth-child(1) {
  flex-basis: 20%;
}

.small-big-small-small > div:nth-child(2) {
  flex-basis: 40%;
}

.small-big-small-small > div:nth-child(3) {
  flex-basis: 20%;
}

.small-big-small-small > div:nth-child(4) {
  flex-basis: 20%;
}

/* four column */
.small-small-big-small > div:nth-child(1) {
  flex-basis: 20%;
}

.small-small-big-small > div:nth-child(2) {
  flex-basis: 20%;
}

.small-small-big-small > div:nth-child(3) {
  flex-basis: 40%;
}

.small-small-big-small > div:nth-child(4) {
  flex-basis: 20%;
}



.onehundredpx > div {
  height: 100px;
 /*border-bottom: 0.5rem solid rgb(36,3,64);*/
}

.fiftypx > div {
  height: 50px;
}

.short {
  height: 50px;
}

.twohundredpx > div {
  height: 200px;
}

.nocursor {
  cursor: none;
}

.splash {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: rgb(255, 190, 137);
}

.bigsplash {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: rgb(255, 190, 137);
}

.dotted {
  border-bottom: dotted 2px rgba(255, 190, 137, 0.5);  
}

.solid {
  border-bottom: solid 2px rgba(255, 190, 137, 0.5);  
}

.dashed {
  border-bottom: dashed 2px rgba(255, 190, 137, 0.5);  
}

.dotted-red {
  border-bottom: dotted 2px rgba(220, 0, 0, 0.5);  
}

.dotted-yellow {
  border-bottom: dotted 2px rgba(180, 180, 0, 0.5);  
}

.dotted-green {
  border-bottom: dotted 2px rgba(0, 220, 0, 0.5);  
}

.half > div {
  flex-basis: 50%;
}

.third > div {
  flex-basis: 33%;
}

button {
  padding: 0.3rem;
  font-size: 1rem;
  width: 5rem;

  text-align: center;
  text-decoration: none;

  transition-duration: 0.4s;

  background-color: rgb(85, 56, 100);
  color: rgb(254, 199, 81);
  border: 0.125rem solid rgb(85, 56, 100);
  border-radius: 0.25rem;
}

button:hover {
  background-color: rgb(69,10,76);
  border: 0.125rem solid rgb(69,10,76);
  color: rgb(254, 199, 81);
}


.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 3px;  
  background: rgb(85, 56, 100);
  outline: none;
  opacity: 1;
  -webkit-transition: .4s;
  transition-duration: 0.4s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  border-color: rgb(40, 32, 68);
  background: rgb(254, 199, 81);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border-color: rgb(40, 32, 68);
  background: rgb(254, 199, 81);
  cursor: pointer;
}

.slider:hover {
  background: rgb(69,10,76);;
}

.header {
  width: 100%;
  height: 400px;
  margin-bottom: 1rem;
  background-color: rgb(0, 0, 51);
  font-family: 'Raleway', 'Tinos', sans-serif;
  color: #F6A660;
  position: relative;
}

.header a {
  color: rgb(255, 161, 155);
}

.header h5 {
  text-align: center;
  font-weight: 200;
  font-size: 0.75rem;
  color: rgb(255, 161, 155);
}

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

.header li {
  display: inline;  
}

.overlay {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: none;
  z-index: 2;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
}

.ending {
  width: 100%;
  height: 400px;  
  position: relative;
}

.footer {
  background-color: rgb(40, 32, 68);
  color: rgb(255, 161, 155);
  padding-bottom: 1rem;
}

.footer a {
  color: rgb(255, 209, 137);
}

@media only screen and (max-width: 850px) {

  html {
    font-size: 16px;
  }

  .container {
    width: 85%;
  }

  .graphic-container {
    flex-basis: 95%;
  }

  .column {
    font-size: 1rem;
  }

  .label {
    display: none;
  }

  .onehundredpx > div {
    height: 100px;
  }

  .twohundredpx > div {
    height: 100px;
  }

  .splash {
    font-size: 1rem;
  }

  .graph {
    height: 75vh;
    min-height: 500px;
  }

  .caption {
    width: 100%;
  }

}

@media only screen and (max-width: 400px) {

  .onehundredpx > div {
    height: 50px;
  }

  .twohundredpx > div {
    height: 50px;
  }

  .graph {
    height: 75vh;
    min-height: 400px;
  }

  .caption {
    width: 100%;
  }

  .padabove {
    padding-top: 1rem;
  }

}