@font-face {
  font-family: 'Circular';
  src: url('../font/CircularStd-Medium.otf');
}

@font-face {
  font-family: 'Euclide-Circular';
  src: url('../font/EuclidCircularB-Medium-WebXL.woff2') format("woff2"),
    url('../font/EuclidCircularB-Medium-WebXL.woff') format("woff");
}

@font-face {
  font-family: 'Euclid-Flex-Medium';
  src: url('../font/EuclidFlex-Medium-WebXL.woff2') format("woff2"),
    url('../font/EuclidFlex-Medium-WebXL.woff') format("woff");
}

@font-face {
  font-family: 'Euclid-Flex-Regular';
  src: url('../font/EuclidFlex-Regular-WebXL.woff2') format("woff2"),
    url('../font/EuclidFlex-Regular-WebXL.woff') format("woff");
}

@font-face {
  font-family: 'Euclid-Flex-Light';
  src: url('../font/EuclidFlex-Light-WebXL.woff2') format("woff2"),
    url('../font/EuclidFlex-Light-WebXL.woff') format("woff");
}

@font-face {
  font-family: 'Euclid-Flex-Ultralight';
  src: url('../font/EuclidFlex-Ultralight-WebXL.woff2') format("woff2"),
    url('../font/EuclidFlex-Ultralight-WebXL.woff') format("woff");
}

* {
  font-variant-numeric: slashed-zero;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  font-family: Euclid-Flex-Light, HelveticaNeue, sans-serif;
  background-color: #fbfbfb;
  color: #979797;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

nav {
  margin: 0 0 1rem 0;
}

.actions {
  width: 33%;
}

button {
  width: 50%;
}

.button {
  border-radius: 8px;
  font-family: Euclid-Flex-Light, HelveticaNeue, sans-serif;
  text-align: center;
  vertical-align: center;
  font-size: 1rem;
  color: #979797;
  cursor: pointer;
  -webkit-box-shadow: .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
  -moz-box-shadow: .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
  box-shadow: .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
  transition: all .5s;
}

.button img {
  opacity: 0.7;
}

.button:hover {
  opacity: 1;
  -webkit-box-shadow: inset .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
  -moz-box-shadow: inset .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
  box-shadow: inset .1rem .1rem .15rem 0px rgba(194, 198, 200, 0.47);
}

.button:hover img {
  opacity: 1;
}

.btn_selected {
  pointer-events: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.btn_selected img {
  opacity: 1;
}

.title {
  font-size: 2rem;
}

.sub_title {
  position: relative;
  font-size: 1rem;
  text-align: left;
}

.sub_title img {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  height: 1rem;
}

section {
  margin: 0 12px 0 24px;
}

.highlight {
  display: flex;
  justify-content: flex-start;
  /* justify-content: space-around; */
  border-bottom: 1px solid #DADCDD;
  flex-wrap: wrap;
}

.highlighted_el {
  cursor: pointer;
  opacity: 1;
  transition: color .5s;
  margin: 0 5% 0 0;
  vertical-align: middle;
  font-size: 1.5rem;
  flex-grow: 2;
}

@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {
  html {
    font-size: 10px;
  }

  .highlight {
    width: 100%;
    min-width: 100px;
  }

  .chart_box {
    width: 100%;
    min-width: 100px;
    margin: 5% 2% 5% 2%;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 11px;
  }

  body, nav {
    font-family: Euclid-Flex-Light, HelveticaNeue, sans-serif;
  }

  .highlight {
    width: 100%;
    min-width: 100px;
  }

  .chart_box {
    width: 100%;
    min-width: 100px;
    margin: 5% 2% 5% 2%;
  }
}
