@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

html
{
    background-color: black;
    color: yellow;
    font-family: 'Press Start 2P';
    font-size: 2em;
}

h3
{
    color: white;
    font-weight: bold;
    font-size: 1.3em;
    text-decoration: underline;
}

h1
{
    color: white;
    font-weight: bold;
    font-size: 3em;
    text-decoration: underline;
}

a
{
    text-decoration: underline;
    color: blue;
    font-size: medium;
    cursor: pointer;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

.popup
{
    border-block-color: yellow;
    background-color: black;
    border: solid;
    border-width: thick;
    padding: 1em 0.5em;
    line-height: 1.1;
    width: 65%;
    text-align: center;
    margin: auto;
    box-shadow: 15px 13px #443b12;
}

.center_popup
{
    margin-top: 12%;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 68%;
}

button{
    font-size: 0.8em;
    font-family: 'Press Start 2P';
    padding: 0.6em 0.8em;
    background-color: yellow;
    color: black;
    border-color: aliceblue;
    border-width: thick;
}

button:hover{
    background-color: black;
    color: yellow;
    border-color: yellow;
    border-width: thick;
}

#level_indicator
{
    float: left;
    padding: 1em
}

#cookie_images
{
    height: 2em;
    display: inherit;
    padding: 0.5em;
}

#cookie_indicator
{
    float: right;
    display: flex;
}

#status_bar
{
position: fixed;
width: 100%;
height: 10%;
}

#animation
{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #1d1c1c;
    margin: 0;
    top: 0;
    left: 0;
    background-image: url(../img/cookie_monster.png);
    background-repeat: no-repeat;
    background-position: bottom;
    animation-name: animation_background;
    animation-duration: 2s;
}

@keyframes animation_background {
    from {background-color: #000000}
    to {background-color: #fff200}
  }

  #animation_cookie
  {
    left: 0;
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    top: 55%; 
    position: fixed;
    width: 1%;
    animation-name: cookie_animation;
    animation-duration: 2s;
    filter: brightness(0%);
  }

  @keyframes cookie_animation {
    from {width: 100%; filter: brightness(100%);top: 5%}
    to {width: 10%;  filter: brightness(0%);top: 55%}
  }

  .option_sliders
  {
      padding: 0.2em;
      padding-left: 1.5em;
  }

  /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: black;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: yellow;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px yellow;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

