* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*
    
    #3772FF Blue Crayola
    #060606 Rich Black FOGRA 39
    #DF2935 Rose Madder
    #FDCA40 Sunglow
    #E6E8E6 Platinum
    https://coolors.co/3772ff-060606-df2935-fdca40-e6e8e6
*/

:root {
  --primary-color: #3772ff;
  --secondary-color: #df2935;
  --third-color: #fdca40;

  --dark-background: #060606;
  --light-background: #e6e8e6;

  --header-label-dark: #34495e;
}

/* Loading icon */
.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid var(--primary-color);
  border-color: var(--primary-color) transparent var(--primary-color) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.overview-graph {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; /*92*/
  border-radius: 8px;
  margin: 0.5em;
  padding: 5px;
  background-color: white;
  color: var(--header-label-dark);
  overflow: hidden;
  height: 450px;
}
.overview-element {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; /*92*/
  border-radius: 8px;
  margin: 2em;
  margin-bottom: 1em;
  background-color: white;
  color: var(--header-label-dark);
}

.overview-element h2 {
  margin-block-end: 0.2em;
}
.overview-element p {
  margin-block-start: 0.2em;
}

.coinlist-container {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; /*92*/
  border-radius: 10px;
  margin: 2em;
  height: 6em;
  background-color: white;

  padding: 20px 20px 100px 20px;
  position: relative;
  width: 400px;
  overflow: hidden;
}

.coinlist-container::after {
  color: var(--light-background);
  opacity: 0.45;
  content: attr(bg-text);
  display: block;
  font-size: 5em;
  line-height: 1;
  position: absolute;
  bottom: -15px;
  right: 0px;
}

.coinlist-container h3 {
  margin-block-end: 0.2em;
}
.coinlist-container h4 {
  margin-block-start: 0.7em;
  margin-block-end: 0em;
  text-align: left;
  font-size: 1.6em;
}
.coinlist-container p {
  margin-block-start: 0em;
  text-align: left;
  font-size: 1.1em;
  z-index: 1;
  position: absolute;
}

.coinlist-icon {
  width: 4em;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  transition: width 0.25s;
}

hr {
  border: none;
  border-top: 1px dashed #252a2f69;
  color: #fff;
  height: 2px;
  width: 100%;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
  line-height: 1.7em;
  color: #7f8c8d;
  font-size: 13px;
  background-color: var(--light-background);
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
  color: var(--header-label-dark);
}

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

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
  padding: 1em;
}

.l-box-lrg {
  padding: 2em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.is-center {
  text-align: center;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
  margin: 1em 0 0;
  font-weight: bold;
  font-size: 100%;
}

.pure-form input[type] {
  border: 2px solid #ddd;
  box-shadow: none;
  font-size: 100%;
  width: 100%;
  margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
  background-color: #1f8dd6;
  color: white;
  padding: 0.5em 2em;
  border-radius: 5px;
}

a.pure-button-primary {
  background: white;
  color: var(--primary-color);
  border-radius: 5px;
  font-size: 120%;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
  padding: 0.5em;
  text-align: center;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.home-menu {
  background: #060606;
}
.pure-menu.pure-menu-fixed {
  /* Fixed menus normally have a border at the bottom. */
  border-bottom: none;
  /* I need a higher z-index here because of the scroll-over effect. */
  z-index: 4;
}

.home-menu .pure-menu-heading {
  color: white;
  font-weight: 400;
  font-size: 120%;
}

.home-menu .pure-menu-selected a {
  color: white !important;
}

.home-menu a {
  color: var(--primary-color);
}
.home-menu li a:hover,
.home-menu li a:focus {
  background: none;
  border: none;
  color: #aecfe5;
}

/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
  background: #060606;
  z-index: 1;
  overflow: hidden;
  /* The following styles are required for the "scroll-over" effect */
  width: 100%;
  height: 88%;
  top: 0;
  left: 0;
  position: fixed !important;
}

.splash {
  /* absolute center .splash within .splash-container */
  width: 80%;
  height: 50%;
  margin: auto;
  position: absolute;
  top: 100px;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  text-transform: uppercase;
}

/* This is the main heading that appears on the blue section */
.splash-head {
  font-size: 20px;
  font-weight: bold;
  color: white;
  border: 3px solid white;
  padding: 1em 1.6em;
  font-weight: 100;
  border-radius: 5px;
  line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
  color: white;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
  /* These styles are required for the "scroll-over" effect */
  position: absolute;
  top: 87%;
  width: 100%;
  min-height: 12%;
  z-index: 2;
  background: #e6e8e6;
}

.content-wrapper-def {
  /* These styles are required for the "scroll-over" effect */
  position: absolute;
  top: 5%;
  width: 100%;
  min-height: 12%;
  z-index: 2;
  background: var(--light-background);
}

/* We want to give the content area some more padding */
.content {
  padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
  color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
  color: var(--primary-color);
}
.content-subhead i {
  margin-right: 7px;
}

/* This is the class used for the dark-background areas. */
.ribbon {
  background: var(--dark-background);
  color: #aaa;
}

.light-area {
  background: var(--light-background);
}

/* This is the class used for the footer */
.footer {
  background: var(--dark-background);
  position: fixed;
  bottom: 0;
  width: 100%;
}

.footer-notice {
  background: var(--light-background);
  position: fixed;
  bottom: 0;
  width: 100%;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {
  /* We increase the body font size */
  body {
    font-size: 16px;
  }

  /* We can align the menu header to the left, but float the
    menu items to the right. */
  .home-menu {
    text-align: left;
  }
  .home-menu ul {
    float: right;
  }

  /* We increase the height of the splash-container */
  /*    .splash-container {
        height: 500px;
    }*/

  /* We decrease the width of the .splash, since we have more width
    to work with */
  .splash {
    width: 50%;
    height: 50%;
  }

  .splash-head {
    font-size: 250%;
  }

  /* We remove the border-separator assigned to .l-box-lrg */
  .l-box-lrg {
    border: none;
  }
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
  /* We increase the header font size even more */
  .splash-head {
    font-size: 300%;
  }
}
