﻿.scoreboard
{
  position: absolute;
  z-index: 100;
  flex-direction: column;
  
  font-family: Poppins;
  font-size: 24px;
  font-weight: 500;
  color: white;
  text-shadow: 2px 2px black;
  
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background-color: rgba( 0, 0, 0, 0.9 );
  transition: all 0.1s ease-out;
  transform: scale( 1.05 );
  transform-origin: 50% 50%;

  &.open
  {
    opacity: 1;
    transform: scale( 1 );
    pointer-events: all;
  }

  .name
  {
    flex-grow: 1;
  }

  .points, .streak, .ping
  {
    width: 100px;
    text-align: right;
  }

  .result
  {
    position: absolute;
    left: -100px;
    width: 100px;
    top: 4px;
    text-align: right;
    text-shadow: 0 0 black;
  }
  
  .header
  {
    font-weight: 200;
    opacity: 1;
    border-bottom: 2px solid rgba( white, 0.6 );
    min-width: 40%;
    font-style: italic;
  }

  .canvas
  {
    flex-direction: column;
    min-height: 50%;
    min-width: 40%;

    .entry
    {
      margin-bottom: 2px;
      padding: 4px;

      &.odd
      {
        background-color: rgba(black, 0.5);
      }
      
      &.me
      {
        color: #b6ff00;
      }
    }
  }
}
