
:root {
    --color-bg: #6699CC;
    --color-text-main: #000000;
    --color-primary: #FFFF00;
    --wrapper-height: 87vh;
    --image-max-width: 300px;
    --image-margin: 3rem;
    --font-family: "Press Start 2P";
    --font-family-header: "Press Start 2P";
  }
  
  /* Basic page style resets */
  * {
    box-sizing: border-box;
  }
  [hidden] {
    display: none !important;
  }
  
  .pizzaTime{
    width:100px;
    position:absolute;
  }
  
  .score-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    
    z-index:1;
  }
  
  
  /* Import fonts */
  @font-face {
  /*   font-family: Press Start 2P;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
      format("opentype"); */
    font-family: 'Archivo Black', sans-serif;
  }
  @font-face {
  /*   font-family: Press Start 2P; */
    font-family: 'Archivo Black', sans-serif;
    font-weight: bold;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
      format("opentype");
  }
  
  /* Our remix on glitch button */
  .btn--remix {
    font-family: 'Archivo Black', sans-serif;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    line-height: 1rem;
    font-weight: 500;
    height: 2.75rem;
    align-items: center;
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #000000;
    box-sizing: border-box;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    margin-left: auto;
  }
  .btn--remix img {
    margin-right: 0.5rem;
  }
  .btn--remix:hover {
    background-color: #D0FFF1;
  }
  
  /* Navigation grid */
  .footer {
    display: flex;
    justify-content: space-between;
    margin: 1rem auto 0;
    padding: 1rem 0 0.75rem 0;
    width: 100%;
    flex-wrap: wrap;
    border-top: 4px solid #fff;
  }
  
  .footer a:not(.btn--remix):link,
  a:not(.btn--remix):visited {
    font-family: Press Start 2P;
    font-style: normal;
    font-weight: normal;
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    border-style: none;
  }
  .footer a:hover {
    background: var(--color-primary);
  }
  
  .footer .links {
    padding: 0.5rem 1rem 1.5rem;
    white-space: nowrap;
  }
  
  .divider {
    padding: 0 1rem;
  }
/////////////////////////////////

  html {
    background: white;
  }
  body {
    font-family: 'Archivo Black', sans-serif; 
  /*   <--- HERE---------------------- <----  */
  /*   background-color: var(--color-bg); */
  /*   background-color: rgb(0, 100, 145); */
  /*   background: radial-gradient(circle, rgba(0, 100, 145, 0.3) 5%, rgba(2,0,36,1) 100%); */
    background: radial-gradient(circle, #6699CC 33%, rgba(0,83,121,1) 100%);
    border-radius: 100px;
    border: 10px solid #BF3100;
    margin: 50px;
  }
  
  /* Page structure */
  .wrapper {
    min-height: var(--wrapper-height);
    display: grid;
    place-items: center;
    margin: 0;
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  
  /* Very light scaling for our illustration */
  .title {
  /*   color: #2800FF; */
    color: white;
  /*   drop-shadow: (30px 10px 4px #000000; */
  /*   text-shadow: 2px 2px 3px #ffffff; */
    text-shadow: 2px 2px 3px #BF3100;
    font-family: 'Archivo Black', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 100px;
    line-height: 105%;
    margin: 0;
    padding-top: .5em; 
  }
  
  /* Very light scaling for our illustration */
  .illustration {
    max-width: 100%;
    max-height: var(--image-max-width);
    margin-top: var(--image-margin);
    z-index:1;
  }
  
  
  /* Instructions */
  .instructions {
    margin: 1rem auto 0;
  }
  
  /* Button - Add it from the README instructions */
  button,
  input {
    font-family: inherit;
    font-size: 100%;
    background: #FFFFFF;
    border: 1px solid #000000;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: 500ms;
  }
  
  /* Subheading */
  h2 {
    color: white;
    text-shadow: 2px 2px 3px #000000;
  }
  
  /* Make Pika move a little bit to encourage click. */
  
  .illustration:hover {
   position: relative; 
   top: -5px;
  }
  
  .illustration:hover {
  filter: drop-shadow(8px 8px 8px #222);
  }
  
  /* Interactive image */
  .illustration:active {
    transform: translateY(5px);
  }
  
  /* Button dip
  - Toggling this class on and off will move it down and up again
  - The button transition property above determines the speed of the translate (500ms)
  */
  .dipped {
    transform: translateY(5px);
  }
  
  #score {
    color:white;
    text-align: center;
    font-size: 55px;
    text-shadow: 2px 2px 3px #000000;
    padding-left: 10px;
    
  }
  
  .hidden{
    display: none;
  }
  
  #firstUpgrade{
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
  }
  
  
  #mult {
    padding-left: 1em;
    color: white;
    font-style: italic;
    text-shadow: 2px 2px 3px #000000;
  }




/* CLICK ANIMATION + POINTS */

.plus-box{
  font-size: 15px;
  position: relative;
  font-family: sans-serif;
  top: 0%;
  left: 5%;
}
.plus-box span{
  animation: mover 1s linear;
  display: inline-block;
  color: white;
  font-weight: bolder;
  animation-fill-mode: forwards;
}
@keyframes mover
{
  0%{
      text-shadow: 0 0 30px rgba(0, 0, 0, 0);
    }
  50%{
      text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
      transform: translateY(-30px);
    }
  100%
    {
      text-shadow: 0 0 30px rgba(0, 0, 0, 0);
      color: transparent;
      transform: translateY(-50px);
    }
}



/* NOT ENOUGH POINTS ANIMATION */

.error-box{
  font-size: 35px;
  position: relative;
  font-family: sans-serif;
  top: 0%;
  left: 0%;
}
.error-box span{
  animation: mover 2s linear;
  display: inline-block;
  color: red;
  font-weight: bolder;
  animation-fill-mode: forwards;
}
@keyframes mover
{
  0%{
      text-shadow: 0 0 30px rgba(0, 0, 0, 0);
    }
  50%{
      text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
      transform: translateY(-30px);
    }
  100%
    {
      text-shadow: 0 0 30px rgba(0, 0, 0, 0);
      color: transparent;
      transform: translateY(-50px);
    }
}




 /* MEDIA QUERY */ 
  
  @media screen and (max-width: 520px){
    body {
      width: 100%;
      height: 100%;
      clear: both;
      margin: 0;
      border: .5em solid #BF3100;
      border-radius: .3em;
      padding: 0;
      border-radius: 0;
    }
    
    .title {
      padding-top: 1em;
      font-size: 2em;
    
    }
    
  } 