* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    font-family: 'Roboto', 'Helvetica', sans-serif;
  }

  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    position: relative;
    text-align: center;
    background: linear-gradient(132deg, #f50157, #51f3e4, #d7f0f7);
    background-size: 400% 400%;
    animation: Gradient 15s ease infinite;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding:0;
    margin:0px;
  }
  
  header {
    color: white;
    letter-spacing: 10px;
    font-size: 22px;
    padding: 10px 5px;
  }
  
  @media only screen and (min-width: 768px) {
    header {
      font-size: 28px;
    }
  }
  
  @media only screen and (min-width: 1024px) {
    header {
      font-size: 32px;
      padding: 10px;
    }
  }
  
  .main {
    background: #f7c6d7;
    width: 250px;
    height: 345px;
    margin: auto;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  
  @media only screen and (min-width: 768px) {
    .main {
      width: 310px;
      height: 285px;
    }
  }
  
  @media only screen and (min-width: 1024px) {
    .main {
      width: 410px;
      height: 375px;
    }
  }
  
  .box {
    background: #f50157;
    background-size: 250%;
    width: 50px;
    height: 50px;
    float: left;
    margin: 10px 0 0 10px;
  }
  
  @media only screen and (min-width: 1024px) {
    .box {
      width: 70px;
      height: 70px;
    }
  }
  
  .play:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  
  img {
    width: 100%;
    display: block;
    max-height: 100%;
  }
  
  #state {
    background: hotpink;
    background-size: 250%;
    width: 230px;
    line-height: 25px;
    float: left;
    margin: 10px 0 0 10px;
    padding: 0 10px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
  }
  
  @media only screen and (min-width: 768px) {
    #state {
      width: 290px;
    }
  }
  
  @media only screen and (min-width: 1024px) {
    #state {
      width: 390px;
      line-height: 35px;
    }
  }
  
  #time {
    float: left;
  }
  
  #time::after {
    content: " sec";
  }
  
  #score {
    float: right;
  }
  
  #score::after {
    content: " points";
  }
  
  .hidden {
    display: none !important;
  }
  
  .show {
    display: block;
  }
  
  .outlined {
    outline: solid 2px yellow;
  }
  
  #healthTip1 {
    position: absolute;
    left: 12%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157;
  }

  #healthTip2 {
    position: absolute;
    left: 50%;
    height: 20px;
    margin-top: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip3 {
    position: absolute;
    left: 80%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip4 {
    position: absolute;
    left: 7%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip5 {
    position: absolute;
    left: 16%;
    height: 130%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip6 {
    position: absolute;
    left: 70%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip7 {
    position: absolute;
    left: 75%;
    height: 130%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip8 {
    position: absolute;
    left: 10%;
    height: 180%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #healthTip9 {
    position: absolute;
    left: 60%;
    height: 180%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f50157
  }

  #pre {
    position: absolute;
    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);
    text-align: center;
  }
  
  #themes {
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    background: skyblue;
    color: white;
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  #themes p {
    margin-top: 10px;
    padding: 5px 20px;
    border-radius: 10px;
    border: solid 1px;
    background: pink;
    color: blue;
    cursor: pointer;
    font-size: 16px;
  }
  
  #themes p:hover {
    background: hotpink;
    background-size: 250%;
    color: white;
  }
  
  #post {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  
  #post > div {
    width: 300px;
    padding: 20px 0 40px;
    border-radius: 10px;
    background: skyblue;
    color: white;
  }
  
  #post p:first-child,
  #post #final {
    font-weight: bold;
    letter-spacing: 2px;
    margin: auto;
    padding: 10px 20px;
    border-radius: 10px;
  }
  
  #post #again {
    color: blue;
    text-decoration: none;
    margin: auto;
    padding: 10px 20px;
    border-radius: 10px;
    width: 160px;
    border: solid 1px;
  }
  
  #post #again:hover {
    background: hotpink;
    background-size: 250%;
    color: white;
    cursor: pointer;
  }

  #post #share {
    color: blue;
    text-decoration: none;
    margin: auto;
    padding: 10px 20px;
    border-radius: 10px;
    width: 160px;
    border: solid 1px;
  }
  
  #post #share:hover {
    background: hotpink;
    background-size: 250%;
    color: white;
    cursor: pointer;
  }

  .cube {
    position: absolute;
    top: 80vh;
    left: 45vw;
    width: 10px;
    height: 10px;
    border: solid 1px #ffed18;
    transform-origin: top left;
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    animation: cube 12s ease-in forwards infinite;
  }
  .cube:nth-child(2n) {
    border-color: #FFF ;
  }
  .cube:nth-child(2) {
    animation-delay: 2s;
    left: 25vw;
    top: 40vh;
  }
  .cube:nth-child(3) {
    animation-delay: 4s;
    left: 75vw;
    top: 50vh;
  }
  .cube:nth-child(4) {
    animation-delay: 6s;
    left: 90vw;
    top: 10vh;
  }
  .cube:nth-child(5) {
    animation-delay: 8s;
    left: 10vw;
    top: 85vh;
  }
  .cube:nth-child(6) {
    animation-delay: 10s;
    left: 50vw;
    top: 10vh;
  }

  @keyframes Gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  @keyframes cube {
    from {
      transform: scale(0) rotate(0deg) translate(-50%, -50%);
      opacity: 1;
    }
    to {
      transform: scale(20) rotate(960deg) translate(-50%, -50%);
      opacity: 0;
    }
  }

  #jokes-container {
    width: 5em;
    height: 2.5em;
    border-radius: 5px;
  }
  
  .jokesClass{
    background-color: #f50157; 
    color: #d7f0f7; 
    border: 2px solid #d7f0f7;
    position: absolute;
    top: 8px;
    left: 115px;
    font-size: 18px;
  }
  .jokesClass:hover {
    background-color: #d7f0f7;
  }
  
  #aJokes {
    display: block;
    width: 100%;
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    color: #d7f0f7;
  }
  
  #aJokes:hover{
    color: #f50157;
  }
  
  #home-container{
    width: 5em;
    height: 2.5em;
    border-radius: 5px;
  
  }
  
  .homeClass{
    background-color: #f50157; 
    color: #d7f0f7; 
    border: 2px solid #d7f0f7;
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 18px;
    
  }
  .homeClass:hover {
    background-color: #d7f0f7;
  }
  
  #aHome {
    display: block;
    width: 100%;
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    color: #d7f0f7;
  }
  
  #aHome:hover{
    color: #f50157;
  }
