/* =====================================================================================================================
*
* base/_base.scss
*
===================================================================================================================== */

#page {
    position: absolute;
    left: 0;
    top: 0;
    width: 1000px;
    margin: 3.625em 0 0;
  }
  
  .game_canvas {
    width: 1000px;
    height: 570px;
  }
  
  #game {
    position: absolute;
    left: 0;
    top: 70px;
    width: 1000px;
    height: 570px;
    background-color: #fff;
    clip: auto;
    overflow: hidden;
  }
  
  .board {
    position: absolute;
    left: calc(50% - 365px);
    top: 0;
    width: 730px;
    height: 570px;
  }
  
  #footer_bar {
    position: absolute;
    left: 0;
    top: 640px;
    width: 1000px;
    height: 48px;
    background-color: #1DAA9F;
    box-shadow: inset 0 0px 2px 0px rgba(0, 0, 0, 0.5);
  }
  
  #bubbles_remaining {
    position: absolute;
    left: calc(50% - 25px);
    top: 520px;
    width: 50px;
    font-size: 26px;
    font-weight: bold;
    color: #000;
    text-align: center;
  }
  
  /* ===================================================================================================
  *       Bubbleshooter - Dialogs
  * ================================================================================================= */
  
  .dialog {
    position: absolute;
    left: calc(50% - 160px);
    top: 110px;
    width: 320px;
    background-color: #1DAA9F;
    border-radius: 30px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.5);
    padding: 20px 50px 114px;
    color: #fff;
    text-align: center;
    display: none;
    max-height: 460px;
  
    h2 {
      font-size: 28px;
      color: #fff;
      margin: 20px 0 20px;
    }
  }
  
  .but_start_game {
    background-color: #F55E4F;
    cursor: pointer;
    border-radius: 15px;
    border: 2px solid darken(#F55E4F, 10%);
    font-size: 28px;
    line-height: 60px;
    font-weight: bold;
    text-shadow: 0 1px 1px lighten(#F55E4F, 10%);
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
  
    &:hover {
      background-color: #F55E4F;
    }
  }
  
  #start_game {
    display: block;
    opacity: 1;
  }
  
  .button {
    transition: all .3s ease-in-out;
  }
  
  #final_score {
    margin: 26px 0;
  }
  
  #end_game_message span {
    font-size: 24px;
  }
  
  #level_complete,
  #level_failed,
  #new_high_score {
    font-size: 1.625rem;
    color: #fff;
  
    &.active {
      display: block;
    }
  }
  
  /* ===================================================================================================
  *       Bubbleshooter - Scoreboard
  * ================================================================================================= */
  
  .top_bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 1000px;
    height: 70px;
    background-color: #1DAA9F;
    color: #fff;
  }
  
  .top_bar__box {
    font-size: 24px;
    line-height: 60px;
    float: left;
    margin-left: 20px;
    width: 250px;
  }
  
  .top_bar__box p {
    float: left;
    margin-right: 20px;
  }
  