/* Main */
* {
    box-sizing: border-box;
}

@media (max-width: 400px) {
  header h1 {
    font-size: 45px;
    padding-top: 55px !important;
  }

  body {
    padding-top: 0 !important;
  }
}


@font-face {
  font-family: 'Quicksand';
  src: url('/assets/quicksand.woff2');
}

body {
    font-family: 'Quicksand', Arial, sans-serif;
    margin: 0;
    padding: 25px;
    background: url("/assets/img/footer-bg.png");
    background-color: #e2d6ff;
    background-size: contain;
    background-position:center bottom;
    background-repeat: no-repeat;
    height: 100%;
}

header {
    background: url("/assets/img/header-bg.png");
    background-size: contain;
    background-position:top center;
    background-repeat: no-repeat;
}

h1 {
    color: #cab3fe;
    text-shadow: 4px 4px 0px #a899c2;
    font-size: 70px;
    text-align: center;
    text-transform: lowercase;
    margin: 0.5em 0;
    background: url("/assets/img/h1bg.png") center no-repeat;
}

h2 {
    color: #fff;
    text-align: center;
    text-transform: lowercase;
    display: flex;
    width: 300px;
    height: 50px;
    font-size: 20px;
    padding: 0 10px;
    margin: 0 auto 10px auto;
    background: url("/assets/img/h2bg.png") center no-repeat;
    line-height: 90%;
}
h2 span {
    flex: 1;
    justify-self: center;
    align-self: center;
}
h2 small {
    font-size: 65%;
}

div.footer {
    text-align: center;
    font-size: 12px;
    color: grey;
}
div.footer a {
    color: #a899c2;
}


/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 14px;
}
  
  ::-webkit-scrollbar-thumb {
    height: 6px;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05),
      inset 1px 1px 0px rgba(0, 0, 0, 0.05);
  }
  
  ::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
  
  ::-webkit-scrollbar-corner {
    background-color: transparent;
  }


/* Grid */
aside {
    border-bottom: 3px solid #a899c2;
}
main, aside {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
} 

div.stats-block {
    /* border: 2px solid #96c28d;*/
    margin: 20px 0;
    width: 400px;
}

aside div.stats-block {
    text-align: center;
    padding-bottom: 50px;
    background: url("/assets/img/statsblockdec.png") bottom center no-repeat;
}

/* Table */
div.stats-block table {
    width: 100%;
    border-collapse: collapse;
}

div.scrollable-table {
    overflow-y: auto;
    max-height: 400px;
    background: #ebe2ff;
    border-radius: 0px 10px 10px 0px;
    border-left: 4px solid #96c28d;
    padding: 20px;
    width: 100%;
}

div.stats-block table p {
    margin: 0;
}

div.stats-block table tr td:first-of-type {
    color: rgba(0,0,0,0.5);
    vertical-align: top;
}
div.stats-block table tr td:last-of-type {
    width: 100%;
    overflow-wrap: anywhere;
}

div.stats-block table tr td {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 2px;
}
div.stats-block table tr:last-of-type td {
    border-bottom: none;
}
