body {
    font-family: 'Space Mono', monospace;
  }
  
/* FONTS */
.text-bold {
  font-weight: bold;
}

/*
    TV 
*/

.screenOff {
  /* background: linear-gradient(to bottom, rgb(145, 0, 0) 0%, transparent 400px); */
}

.displayNone {
  display: none;
}

.screen {
position: relative;
border-radius: 5px;
margin: 40px auto 40px auto;
width: 30%;
padding: 1.5% 1.5% 3%;
background: #111;
}

.screen:after {
content: "";
position: absolute;
left: 6%;
background: -moz-linear-gradient(top, rgba(254,255,255,.25) 0%, rgba(255,249,249,0) 100%);
background: -webkit-linear-gradient(top, rgba(254,255,255,.25) 0%, rgba(255,249,249,0) 100%);
background: linear-gradient(top, rgba(254,255,255,.25) 0%, rgba(255,249,249,0) 100%);
border-radius: 10px;
width: 88%;
height: 50%;
top: 8%;
}

.button {
background: red;
border-radius: 55% 55% 55% 55%;
bottom: 3%;
cursor: pointer;
height: 5%;
opacity: 0.85;
position: absolute;
right: 4%;
width: 5%;
box-shadow: inset 0 -2px 5px rgba(0,0,0,.75);
transition: background .5s;
}
.screenOff .button{
background: lightgrey;
}
.button:hover {
opacity: 1;
}
canvas {
border-radius: 5px;
width: 100%;
display: block;
transition: box-shadow .25s;
box-shadow: 0 10px 20px rgba(255,255,255,.25);
}
.screenOff canvas{
box-shadow: 0 5px 10px rgba(255,255,255,.15);
}
.footer {
position: absolute;
height: 6%;
width: 91%;
background: black;
bottom: -6%;
box-shadow: 0 2px 10px rgba(0,0,0,.75);
}
.message {
display:none;
background: white;
border-radius: 5px;
font-size: 20px;
height: 25px;
left: 50%;
margin-left: -60px;
padding: 10px;
position: absolute;
text-align: center;
top: 40%;
width: 100px;
opacity: 0;
transition: opacity .5s;
-moz-transition: opacity .5s;
-webkit-transition: opacity .5s;
}
.message:after {
content: "";
position: absolute;
width: 0;
height: 0;
border-width: 10px;
border-style: solid;
border-color: white transparent transparent transparent;
top: 45px;
left: 20%;
margin-left: -10px;
}
.slack-img {  
  width: 40%;
  filter: saturate(70%);
  left: 0; 
  right: 0;
  top: 20%; 
  margin-left: auto; 
  margin-right: auto; 
  position: absolute;  
  opacity: 0.6;
  z-index: 44;
  }



  /* PAGE STUFF */
  
  /*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/

#layout {
    position: relative;
    left: 0;
    padding-left: 0;
}
    #layout.active #menu {
        left: 250px;
        width: 250px;
    }

    #layout.active .menu-link {
        left: 250px;
    }
/*
The content `<div>` is where all your content goes.
*/
.content {
    margin: 0 auto;
    padding: 0 2em;
    max-width: 800px;
    margin-bottom: 50px;
    line-height: 1.6em;
}

.header {
     margin: 0;
     position: relative;
     color: #333;
     background: rgb(238, 238, 238);
     text-align: center;
     padding: 2.5em 2em 0;
     display: flex;
     justify-content: center;     
     height: 100vh;
     min-height: 740px;     
 }
    .header h1 {
        margin: 0.2em 0;
        font-size: 3em;
        font-weight: 300;
    }
     .header h2 {
        font-weight: 300;
        color: #ccc;
        padding: 0;
        margin-top: 0;
    }

  .header-inner {
    margin-top: 10%;
    max-width: 600px;
  }

  .leaderboard {
    font-size: 14px;
    position: absolute;
    bottom: 70px;
  }
  
  .form-box {
    text-align: center;
    padding: 20px;
    background: rgb(255, 255, 255);  
  }
  
  .form {
    padding-top: 20px;
  }
  
  input[type=text], select {  
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  
  input[type=submit] {
    background-color: #B83A4E;
    color: white;
    padding: 13px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #b81732;
  }
  

.content-subhead {
    margin: 40px 0 20px 0;
    font-weight: 300;
    color: #888;
}



/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
    margin-left: -250px; /* "#menu" width */
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000; /* so the menu or its navicon stays above all content */
    background: #3E103F;
    overflow-y: auto;
}
    /*
    All anchors inside the menu should be styled like this.
    */
    #menu a {
        color: rgb(255, 255, 255);
        border: none;
        padding: 0.6em 0 0.6em 0.6em;
        text-decoration: none;
    }

    /*
    Remove all background/borders, since we are applying them to #menu.
    */
     #menu .pure-menu,
     #menu .pure-menu ul {
        border: none;
        background: transparent;
    }

    /*
    Add that light border to separate items into groups.
    */
    #menu .pure-menu ul,
    #menu .pure-menu .menu-item-divided {
        border-top: 1px solid #333;
    }


      #menu .pure-menu li {
        list-style-type: none;
      }
      
      #menu .pure-menu .pure-menu-item a {
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
        padding-right: 42px;
      }
      

        #menu .pure-menu .pure-menu-item:hover,
        #menu .pure-menu .pure-menu-item:focus {
            background: rgb(92, 175, 249);
        }



        .pure-menu-link:hover, .pure-menu-link:focus {
          background: rgb(92, 175, 249);
        }

    /*
    This styles the selected menu item `<li>`.
    */
    #menu .pure-menu-selected,
    #menu .pure-menu-heading {
        background: #390e3a;
    }
        /*
        This styles a link within a selected menu item `<li>`.
        */
        #menu .pure-menu-selected a {
            color: #fff;
        }

    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 0;
    }

    #menu .pure-menu-list {
      padding-left: 0px;
    }

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    left: 0; /* "#menu width" */
    background: #000;
    background: rgba(0,0,0,0.7);
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

    .menu-link:hover,
    .menu-link:focus {
        background: #000;
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #fff;
        pointer-events: none;
        width: 100%;
        height: 0.2em;
    }

        .menu-link span:before,
        .menu-link span:after {
            position: absolute;
            margin-top: -0.6em;
            content: " ";
        }

        .menu-link span:after {
            margin-top: 0.6em;
        }


/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {

    .header,
    .content {
        padding-left: 2em;
        padding-right: 2em;        
    }

    #layout {
        padding-left: 250px; /* left col width "#menu" */
        left: 0;
    }
    #menu {
        left: 250px;
    }

    .menu-link {
        position: fixed;
        left: 250px;
        display: none;
    }

    #layout.active .menu-link {
        left: 250px;
    }
}

@media (max-width: 48em) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    #layout.active {
        position: relative;
        left: 250px;
    }
}


/* MISC */

.highlight {
  display: inline-block;  
  padding: .25em 0;
  background: #ffc10741;
  color: #000000;
  box-shadow: .5em 0 0 #ffc10741, -.5em 0 0 #ffc10741;
  /* Text Styles */
  font-weight: bold;
  line-height: 1.9em; /* Spaced Display */
  letter-spacing: .06em;
}

.notification-count {
  position: absolute; font-weight: normal; right: 16px; background: #B83A4E; padding: 2px 5px; font-size: 13px; border-radius: 16px;
}


.underline-red {
  text-decoration: underline;
  text-decoration-color: #B83A4E;
  text-decoration-thickness: 0.15em;
}

.underline-green {
  text-decoration: underline;
  text-decoration-color: #3ab8a7;
  text-decoration-thickness: 0.15em;
}

.quote-box {
  margin: 0 40px 30px 20px; padding: 32px; border: solid 1px rgb(231, 231, 231);
}


  /* VHS MESSAGE */



  .vhs-message {
    font-family: "Press Start 2P", cursive;
    color: white;
    -webkit-animation: blue-me 5ms infinite;
            animation: blue-me 5ms infinite;
            font-size: 1.4em;
  }
  
  @-webkit-keyframes blue-me {
    28% {
      background: #171DA8;
    }
    30% {
      background: rgba(23, 29, 168, 0.95);
    }
    33% {
      background: #171DA8;
    }
    34% {
      background: rgba(23, 29, 168, 0.9);
    }
    35% {
      background: #171DA8;
    }
  }
  
  @keyframes blue-me {
    28% {
      background: #171DA8;
    }
    30% {
      background: rgba(23, 29, 168, 0.95);
    }
    33% {
      background: #171DA8;
    }
    34% {
      background: rgba(23, 29, 168, 0.9);
    }
    35% {
      background: #171DA8;
    }
  }
  .vhs-message {
    -webkit-animation: track 5ms infinite;
            animation: track 5ms infinite;
  }
  
  .vhs-message h1 {
    font-size: 34px;
    filter: blur(2px);
    color: rgb(63, 63, 63);
    text-shadow: 1px 3px green, -2px -3px red;
  }
  

  .vhs-message span {
    -webkit-animation: blur 30ms infinite, flick 50ms infinite, jump 50ms infinite;
            animation: blur 30ms infinite, flick 50ms infinite, jump 50ms infinite;
  }
  
  @-webkit-keyframes blur {
    0% {
      filter: blur(1px);
      opacity: 0.8;
    }
    50% {
      filter: blur(1px);
      opacity: 1;
    }
    100% {
      filter: blur(1px);
      opacity: 0.8;
    }
  }
  
  @keyframes blur {
    0% {
      filter: blur(1px);
      opacity: 0.8;
    }
    50% {
      filter: blur(1px);
      opacity: 1;
    }
    100% {
      filter: blur(1px);
      opacity: 0.8;
    }
  }
  @-webkit-keyframes flick {
    50% {
      left: 2px;
    }
    51% {
      left: 0;
    }
  }
  @keyframes flick {
    50% {
      left: 2px;
    }
    51% {
      left: 0;
    }
  }
  @-webkit-keyframes jump {
    30% {
      top: 10px;
    }
    31% {
      top: 0;
    }
  }
  @keyframes jump {
    30% {
      top: 10px;
    }
    31% {
      top: 0;
    }
  }
  @-webkit-keyframes track {
    40% {
      opacity: 1;
      top: 0;
      left: 0;
      transform: scale(1, 1);
      transform: skew(0, 0);
    }
    41% {
      opacity: 0.9;
      top: 0px;
      left: -18px;
      transform: scale(1, 1.1);
      transform: skew(5deg, 0);
    }
    43% {
      opacity: 1;
      top: 0;
      left: 0;
      transform: scale(1, 1);
      transform: skew(0, 0);
    }
  }
  @keyframes track {
    40% {
      opacity: 1;
      top: 0;
      left: 0;
      transform: scale(1, 1);
      transform: skew(0, 0);
    }
    41% {
      opacity: 0.9;
      top: 0px;
      left: -18px;
      transform: scale(1, 1.1);
      transform: skew(5deg, 0);
    }
    43% {
      opacity: 1;
      top: 0;
      left: 0;
      transform: scale(1, 1);
      transform: skew(0, 0);
    }
  }