@import url('//fonts.googleapis.com/css?family=Dosis');

body, html {
  height: 100%;
  font-family: Dosis,sans-serif;
  overflow: hidden;
}

body {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.light {
  border-radius: 100%;
  background: #200;
  margin: 12px;
}

.light::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.light-strip.on .light:nth-child(1n+3) {
  background: #ee0000;
}

.f1-lights {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 520px;
}

.light-strip {
  background: #666;
  border-radius: 11px;
  margin: 0 2px;
  position: relative;
  flex: 1;
}

@media (min-width: 435px) {
  .light-strip {
    margin: 0 5px;
    border-radius: 14px;
  }
}

.back-board {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 5%;
  background: #000;
  transform: translateY(-50%);
}

p {
  font-size: 18px;
  text-align: center;
  line-height: 1.4;
  margin: 1em;
  margin-bottom: 0;
}

.time {
  font-size: 48px;
  #font-size: 6vw;
  line-height: 0.6;
  margin: 1rem;
  text-transform: uppercase;
  will-change: transform;
  text-align: center;
		color: #0c0;
}

.time.anim {
  animation: bang 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

.best, .besti, .credit, .last5, .best5avg {
  font-size: 18px;
  text-align: center;
  line-height: 1.4;
}

.last5avg {
  font-size: 32px;
  #font-size: 4vw;
  text-align: center;
  line-height: 1.4;
}

@keyframes bang {
  from {
    transform: scale(3);
  }
}

a:link {
  text-decoration: none;
}