* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background: url(AdobeStock_346761502.jpg);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: arial;
    position: relative;
    text-align: center;
  }
  
  header {
    color: rgb(68, 67, 67);
    letter-spacing: 10px;
    font-size: 22px;
    padding: 10px 5px;
    background: rgba(255, 255, 255, 0.452);
  }

  .main {
    background: rgb(8, 16, 90);
    width: 490px;
      height: 530px;
    margin: auto;
 
  }

  .box {
    background: #ffffff;
    width: 70px;
    height: 70px;
    float: left;
    margin: 10px 0 0 10px;
  }

  .box.play:hover {
    opacity: 0.7;
    cursor: pointer;
  }

  .box img {
    width: 100%;
    height: 100%;
    display: block;
    border: solid 1px transparent;
  }

  .box .outlined {
    border: solid 1px #34495e;
    background: #050d55;
    opacity: 0.7;
  }

   /* STATUS bar */
   #state {
    background: #6186aa;
  /*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
    background-size: 250%;
    /* width: 230px; */
    width: 96%;
    line-height: 25px;
    float: left;
    margin: 10px 0 0 10px;
    padding: 0 10px;
    color: white;
    font-size: 16px;
  }

  #time {
    float: left;
  }
  
  #time::after {
    content: " sec";
  }
  
  #score {
    float: right;
  }
  
  #score::after {
    content: " points";
  }

/* --------------------------------------key */
  .hidden {
    display: none !important;
  }
 /* --------------------------------------key */
  .show {
    display: block;
  }
 

  #post {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
  }

  #post > div {
    width: 300px;
    padding: 20px 0 40px;
    background: white;
    color: #6186aa;
  }
  
  #post p:first-child, 
  #post #final {
    font-weight: bold;
    letter-spacing: 2px;
    margin: auto;
    padding: 10px 20px;
  }
  


   
  @media  screen and (max-width: 750px) {
    header {
     
      letter-spacing: 5px;
      font-size: 16px;
      padding: 10px 5px;
     
    }
   
  }

     
  @media  screen and (max-width: 550px) {
    .main {

      width: 310px;
        height: 360px;
      margin: auto;
   
    }
  
    .box {
   
      width: 40px;
      height: 40px;
      float: left;
      margin: 10px 0 0 10px;
    }
    #state {

      width: 94%;
     
    }
    header > p {
      color: red;
      background: #050d559d;
    }
  
   
  }