body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url('woodbackground.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.header, .home {
    width: 700px;
    margin: 0 auto;
    text-align: center;
}

.buttons {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.buttons button {
    font-size: 24px;
    margin: 5px;
    padding: 0 20px;
    cursor: pointer;
    background-color: rgb(124, 185, 242);
    box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

#welcome {
    font-size: 18px;
    color: white;
    background-color: #333;
    border: 5px solid gray;
    padding: 20px;
    width: 900px;
    margin: 0 auto;
}

#welcome a {
    text-decoration: none;
    color: lime;
}

#welcome a:visited {
    text-decoration: none;
    color: lime;
}

.games {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.gamebox {
    padding: 5px;
    margin: 10px;
    text-align: center;
}

.gametext {
    color: lime;
    font-size: 20px;
}

.quote {
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 20px;
    border: 5px solid gray;
}

.qhead {
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

#joke button {
  font-size: 18pt;
}

#joke {
    width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 20px;
    border: 5px solid gray;
}

.container {
    position: relative;
    display: inline-block; /* Ensure the container fits around the image */
  }
  
  #answer {
    position: absolute;
    top: 50%; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%); /* Center the div over the image */
    z-index: 10; /* Higher z-index to be on top */
    border: 3px solid gray;
    padding: 10px;
    background-color: #CCC;
    font-size: 19pt;
    color: black;
    display: none; /* Initially hidden */
  }
  
  #ballimg {
    width: 400px;
    position: relative;
  }

  .news {
    width: 800px;
    height: 150px;
    overflow: scroll;
    margin: 20px auto;
    background-color: lightgray;
    color: black;
    border: 5px solid black;
    padding: 20px;
    font-size: 18pt;
  }

  .clock {
    width: 20rem;
    height: 20rem;
    border: 7px solid #282828;
    box-shadow: -4px -4px 10px rgba(67,67,67,0.5),
                  inset 4px 4px 10px rgba(0,0,0,0.5),
                  inset -4px -4px 10px rgba(67,67,67,0.5),
                  4px 4px 10px rgba(0,0,0,0.3);
    border-radius: 50%;
    margin: 50px auto;
    position: relative;
    padding: 2rem;
   
  }
  
  .outer-clock-face {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #282828;
    
   
    overflow: hidden;
  }
  
  .outer-clock-face::after {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg)
  }
  
  .outer-clock-face::before,
  .outer-clock-face::after,
  .outer-clock-face .marking{
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background: #1df52f;
    z-index: 0;
    left: 49%;
  }
  
  .outer-clock-face .marking {
    background: #bdbdcb;
    width: 3px;
  }
  
  .outer-clock-face .marking.marking-one {
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    transform: rotate(30deg)
  }
  
  .outer-clock-face .marking.marking-two {
    -webkit-transform: rotate(60deg);
    -moz-transform: rotate(60deg);
    transform: rotate(60deg)
  }
  
  .outer-clock-face .marking.marking-three {
    -webkit-transform: rotate(120deg);
    -moz-transform: rotate(120deg);
    transform: rotate(120deg)
  }
  
  .outer-clock-face .marking.marking-four {
    -webkit-transform: rotate(150deg);
    -moz-transform: rotate(150deg);
    transform: rotate(150deg)
  }
  
  .inner-clock-face {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: #282828;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    z-index: 1;
  }
  
  .inner-clock-face::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 18px;
    margin-left: -9px;
    margin-top: -6px;
    background: #4d4b63;
    z-index: 11;
  }
  
  .hand {
    width: 50%;
    right: 50%;
    height: 6px;
    background: #61afff;
    position: absolute;
    top: 50%;
    border-radius: 6px;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
  }
  
  .hand.hour-hand {
    width: 30%;
    z-index: 3;
  }
  
  .hand.min-hand {
    height: 3px;
    z-index: 10;
    width: 40%;
  }
  
  .hand.second-hand {
    background: #ee791a;
    width: 45%;
    height: 2px;
  }

  .clockContainer {
    width: 500px;
    background-color: #111;
    margin: 0 auto;
    border-radius: 100%;
    padding: 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  #downhere {
    width: 900px;
    font-size: 18pt;
    color: white;
    margin: 0 auto;    
  }

  #downhere a {
    color: lime;
    text-decoration: none;
  }
  #downhere a:visited {
    color: lime;
    text-decoration: none;
  }

  #ppmessage {
    width: 700px;
    margin: 50px auto;
    font-size: 24pt;
    background-color: #333;
    color: white;
    border: 5px solid gray;
    padding: 30px;
  }

  #thankyou {
    width: 900px;
    margin: 30px auto;
    font-size: 120pt;
    color: yellow;
    background-color: #500;
    padding: 30px;
    text-align: center;
    border: 15px solid gray;
  }