/* Fonts */
@font-face {
  font-family: 'HelveticaRoundedLTStd-BdCn';
  src: url('../fonts/HelveticaRoundedLTStd-BdCn.woff2') format('woff2'),
    url('../fonts/HelveticaRoundedLTStd-BdCn.woff') format('woff');
}

/* Body */
body {
  background-color: #d1e1ef;
  color: #1d1d1b;
  font-family: 'Press Start 2P', cursive;
  font-size: 80px;
  /* font-weight: bold; */
  margin: 0;
  display: flex;
  width: 100vw;
  height: 100vh;
  text-align: center;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* Header */
.header {
  width: 45%;
  height: 40vh;
  margin: auto;
  text-align: center;
  padding: 32px 0 0 0;
  box-sizing: border-box;
}

.header h1 {
  text-transform: uppercase;
  font-size: 96px;
  font-family: 'HelveticaRoundedLTStd-BdCn', sans-serif;
  margin: 0 0 12px 0;
}

.header p {
  font-size: 24px;
  font-family: 'HelveticaRoundedLTStd-BdCn', sans-serif;
  margin: 0 0 12px 0;
}

/* Stats */
.stats {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: -40vh auto;
}

.stats .questions-wrapper {
  position: absolute;
  bottom: 64px;
  width: 100%;
  padding: 0 64px;
  box-sizing: border-box;
  box-shadow: 0px 12px 12px 0px rgba(0,0,0,0.08);
}

.stats .question {
  display: inline-block;
  width: 12.305%;
  padding: 0 24px;
  vertical-align: bottom;
  box-sizing: border-box;
}

/* Number */
.stats .question .number {
  position: relative;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 32px;
  margin: 16px auto;
}

.stats .question:nth-child(1) .number {
  background-color: #34b086;
}

.stats .question:nth-child(2) .number {
  background-color: #6ec6d8;
}

.stats .question:nth-child(3) .number {
  background-color: #e62579;
}

.stats .question:nth-child(4) .number {
  background-color: #f28d1b;
}

.stats .question:nth-child(5) .number {
  background-color: #66b22e;
}

.stats .question:nth-child(6) .number {
  background-color: #f3b300;
}

.stats .question:nth-child(7) .number {
  background-color: #8988c1;
}

.stats .question:nth-child(8) .number {
  background-color: #5386c5;
}

.stats .question .number span {
  position: absolute;
  text-align: center;
  top: 54%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 28px;
}

/* Text */

.stats .question .text h6 {
  text-align: center;
  text-transform: uppercase;
  padding: 9px 8px 4px 8px;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

.stats .question:nth-child(1) .text h6 {
  background-color: #34b086;
}

.stats .question:nth-child(2) .text h6 {
  background-color: #6ec6d8;
}

.stats .question:nth-child(3) .text h6 {
  background-color: #e62579;
}

.stats .question:nth-child(4) .text h6 {
  background-color: #f28d1b;
}

.stats .question:nth-child(5) .text h6 {
  background-color: #66b22e;
}

.stats .question:nth-child(6) .text h6 {
  background-color: #f3b300;
}

.stats .question:nth-child(7) .text h6 {
  background-color: #8988c1;
}

.stats .question:nth-child(8) .text h6 {
  background-color: #5386c5;
}

.stats .question .text p {
  text-align: center;
  background-color: #ffffff;
  padding: 12px;
  font-size: 20px;
  margin: 0;
  line-height: 1.05;
  min-height: 105px;
}

.square {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin: -10px auto 42px;
}

/* Graph */
.stats .question .graph {
  width: 100%;
}

.stats .question .graph .result {
  position: relative;
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
  width: 80%;
  margin: auto;
  transition: all ease 600ms;
}

/* Result 1 */
.stats .question:nth-child(1) .graph .result:nth-child(1) {
  background-color: #34b086;
}

.stats .question:nth-child(1) .graph .result:nth-child(2) {
  background-color: #0ba06d;
}

.stats .question:nth-child(1) .graph .result:nth-child(3) {
  background-color: #008666;
}

/* Result 2 */
.stats .question:nth-child(2) .graph .result:nth-child(1) {
  background-color: #6ec6d8;
}

.stats .question:nth-child(2) .graph .result:nth-child(2) {
  background-color: #33afc8;
}

.stats .question:nth-child(2) .graph .result:nth-child(3) {
  background-color: #009bb8;
}

/* Result 3 */
.stats .question:nth-child(3) .graph .result:nth-child(1) {
  background-color: #e62579;
}

.stats .question:nth-child(3) .graph .result:nth-child(2) {
  background-color: #b31d5e;
}

.stats .question:nth-child(3) .graph .result:nth-child(3) {
  background-color: #672f47;
}

/* Result 4 */
.stats .question:nth-child(4) .graph .result:nth-child(1) {
  background-color: #f28d1b;
}

.stats .question:nth-child(4) .graph .result:nth-child(2) {
  background-color: #bf6f15;
}

.stats .question:nth-child(4) .graph .result:nth-child(3) {
  background-color: #73532f;
}

/* Result 5 */
.stats .question:nth-child(5) .graph .result:nth-child(1) {
  background-color: #66b22e;
}

.stats .question:nth-child(5) .graph .result:nth-child(2) {
  background-color: #579827;
}

.stats .question:nth-child(5) .graph .result:nth-child(3) {
  background-color: #41721e;
}

/* Result 6 */
.stats .question:nth-child(6) .graph .result:nth-child(1) {
  background-color: #f3b300;
}

.stats .question:nth-child(6) .graph .result:nth-child(2) {
  background-color: #c08d00;
}

.stats .question:nth-child(6) .graph .result:nth-child(3) {
  background-color: #745e23;
}

/* Result 7 */
.stats .question:nth-child(7) .graph .result:nth-child(1) {
  background-color: #8988c1;
}

.stats .question:nth-child(7) .graph .result:nth-child(2) {
  background-color: #65648e;
}

.stats .question:nth-child(7) .graph .result:nth-child(3) {
  background-color: #2e2e42;
}

/* Result 8 */
.stats .question:nth-child(8) .graph .result:nth-child(1) {
  background-color: #5386c5;
}

.stats .question:nth-child(8) .graph .result:nth-child(2) {
  background-color: #3e6392;
}

.stats .question:nth-child(8) .graph .result:nth-child(3) {
  background-color: #1d2f46;
}

/* Result Text 1 */
.stats .question:nth-child(1) .graph .result:nth-child(1) .result-text {
  background-color: #34b086;
  z-index: 1;
}

.stats .question:nth-child(1) .graph .result:nth-child(2) .result-text {
  background-color: #0ba06d;
  z-index: 2;
}

.stats .question:nth-child(1) .graph .result:nth-child(3) .result-text {
  background-color: #008666;
  z-index: 3;
}

/* Result Text 2 */
.stats .question:nth-child(2) .graph .result:nth-child(1) .result-text {
  background-color: #6ec6d8;
  z-index: 1;
}

.stats .question:nth-child(2) .graph .result:nth-child(2) .result-text {
  background-color: #33afc8;
  z-index: 2;
}

.stats .question:nth-child(2) .graph .result:nth-child(3) .result-text {
  background-color: #009bb8;
  z-index: 3;
}

/* Result Text 3 */
.stats .question:nth-child(3) .graph .result:nth-child(1) .result-text {
  background-color: #e62579;
  z-index: 1;
}

.stats .question:nth-child(3) .graph .result:nth-child(2) .result-text {
  background-color: #b31d5e;
  z-index: 2;
}

.stats .question:nth-child(3) .graph .result:nth-child(3) .result-text {
  background-color: #672f47;
  z-index: 3;
}

/* Result Text 4 */
.stats .question:nth-child(4) .graph .result:nth-child(1) .result-text {
  background-color: #f28d1b;
  z-index: 1;
}

.stats .question:nth-child(4) .graph .result:nth-child(2) .result-text {
  background-color: #bf6f15;
  z-index: 2;
}

.stats .question:nth-child(4) .graph .result:nth-child(3) .result-text {
  background-color: #73532f;
  z-index: 3;
}

/* Result Text 5 */
.stats .question:nth-child(5) .graph .result:nth-child(1) .result-text {
  background-color: #66b22e;
  z-index: 1;
}

.stats .question:nth-child(5) .graph .result:nth-child(2) .result-text {
  background-color: #579827;
  z-index: 2;
}

.stats .question:nth-child(5) .graph .result:nth-child(3) .result-text {
  background-color: #41721e;
  z-index: 3;
}

/* Result Text 6 */
.stats .question:nth-child(6) .graph .result:nth-child(1) .result-text {
  background-color: #f3b300;
  z-index: 1;
}

.stats .question:nth-child(6) .graph .result:nth-child(2) .result-text {
  background-color: #c08d00;
  z-index: 2;
}

.stats .question:nth-child(6) .graph .result:nth-child(3) .result-text {
  background-color: #745e23;
  z-index: 3;
}

/* Result Text 7 */
.stats .question:nth-child(7) .graph .result:nth-child(1) .result-text {
  background-color: #8988c1;
  z-index: 1;
}

.stats .question:nth-child(7) .graph .result:nth-child(2) .result-text {
  background-color: #65648e;
  z-index: 2;
}

.stats .question:nth-child(7) .graph .result:nth-child(3) .result-text {
  background-color: #2e2e42;
  z-index: 3;
}

/* Result Text 8 */
.stats .question:nth-child(8) .graph .result:nth-child(1) .result-text {
  background-color: #5386c5;
  z-index: 1;
}

.stats .question:nth-child(8) .graph .result:nth-child(2) .result-text {
  background-color: #3e6392;
  z-index: 2;
}

.stats .question:nth-child(8) .graph .result:nth-child(3) .result-text {
  background-color: #1d2f46;
  z-index: 3;
}

/**/
.stats .question .graph .result .result-text {
  position: absolute;
  padding: 6px 6px 0 6px;
  width: 56px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 0;
}

.stats .question .graph .result p {
  font-size: 16px;
  margin: 0;
  opacity: 0.7;
}

.stats .question .graph .result h2 {
  font-size: 19px;
  margin: 6px 0 0 0;
}

/* Reflect */

.reflect {
  position: absolute;
  width: 100%;
  height: 64px;
  margin: auto;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.reflect .reflect-bars-wrapper {
  width: 100%;
  padding: 0 64px;
  box-sizing: border-box;
  -webkit-transform: perspective(200px) rotatex(45deg) scale(1.19, 1.7);
          transform: perspective(200px) rotatex(45deg) scale(1.19, 1.7);
}

.reflect .reflect-bars-wrapper .reflect-bar {
  display: inline-block;
  width: 12.305%;
  padding: 0 24px;
  vertical-align: bottom;
  box-sizing: border-box;
}

.reflect .reflect-bars-wrapper .reflect-bar .bar {
  position: relative;
  text-align: center;
  box-sizing: border-box;
  height: 64px;
  width: 80%;
  margin: auto;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(1) .bar {
  background-color: #34b086;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(2) .bar {
  background-color: #6ec6d8;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(3) .bar {
  background-color: #e62579;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(4) .bar {
  background-color: #f28d1b;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(5) .bar {
  background-color: #66b22e;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(6) .bar {
  background-color: #f3b300;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(7) .bar {
  background-color: #8988c1;
}

.reflect .reflect-bars-wrapper .reflect-bar:nth-child(8) .bar {
  background-color: #5386c5;
}
