body {
    display: flex;
    height: 100vh;
    margin: 0;
    background-color: lightgrey;
    width: 100%;
  }

    #card {
    width: 40px;
    height: 60px;
    background-color: yellow;
    border: 2px solid black;
    border-radius: 10px;
    position: absolute;
    left: -2px;
    top: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
  }

  .refereeContainer {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
    right:50px;
    transform: scale(0.9);
  }

  #textBox {
    position: relative;
    width: 150px;
    align-items: center;
    justify-content: flex-end;
    left: 50px;
    top: 180px;
  }

  .Whistle-Text {
    margin-top: 30%;
    position: relative;
    Font-family: Optima, Segoe, Segoe UI, Candara, Calibri, Arial, sans-serif;
    border: 3px black hidden; /* Set border width and color */
    padding: 10px;
    font-size: larger;
    font-weight: 800;
    text-align: center;
  }

  .referee {
    position: relative;
    width: 50%;
    height: 100%;
    top: 190px;
    margin-bottom: 50px;
  }
  
  #head {
    width: 100px;
    height: 100px;
    background-color: #F2C100;
    border-radius: 50%;
    margin: 0 auto;
  }
  
  #body {
    width: 120px;
    height: 240px;
    background-color: black;
    margin: 0 auto;
    position: relative;
  }
  
  #left-arm,
  #right-arm {
    position: absolute;
    width: 40px;
    height: 160px;
    background-color: black;
    top: 60px;
  }
  
  #right-arm {
    left: -50px;
    border-radius: 20px 0 0 20px;
    transform-origin: top; /* Set the rotation origin to the top */
    transition: transform 1s ease; /* Add transition for smooth animation */
  }
  
  #left-arm {
    right: -50px;
    border-radius: 0 20px 20px 0;
    transition: transform 1s ease;
    transform-origin: top;
  }
  
  #legs {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 200px;
    left: 0;
  }
  
  #left-leg,
  #right-leg {
    width: 40px;
    height: 60px;
    background-color: black;
    margin: 0 auto;
  }
  
  #left-leg {
    position: absolute;
    bottom: 0;
    left: 20px;
  }
  
  #right-leg {
    position: absolute;
    bottom: 0;
    right: 20px;
  }
  
  #shoes {
    position: absolute;
    width: 120px;
    height: 40px;
    top: 320px;
    left: 0;
  }
  
  #left-shoe,
  #right-shoe {
    width: 40px;
    height: 20px;
    background-color: black;
    margin: 0 auto;
  }
  
  #left-shoe {
    position: absolute;
    bottom: 0;
    left: 20px;
  }
  
  #right-shoe {
    position: absolute;
    bottom: 0;
    right: 20px;
  }

  #whistle {  
    background-image: url("whistle.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 35px; /* Adjust the width as needed */
    height: 25px; /* Adjust the height as needed */
    position: relative;
    left: 50%;
    top: 60%;
    transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
  }

  #whistle.shake-animation {
    animation-name: whistleShake;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  @keyframes whistleShake {
    0% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
    10% {
      transform: rotateZ(55deg) rotateY(40deg) rotateX(-30deg);
    }
    20% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
    30% {
      transform: rotateZ(55deg) rotateY(40deg) rotateX(-30deg);
    }
    40% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
    50% {
      transform: rotateZ(55deg) rotateY(40deg) rotateX(-30deg);
    }
    60% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
    70% {
      transform: rotateZ(55deg) rotateY(40deg) rotateX(-30deg);
    }
    80% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
    90% {
      transform: rotateZ(55deg) rotateY(40deg) rotateX(-30deg);
    }
    100% {
      transform: rotateZ(40deg) rotateY(40deg) rotateX(-30deg);
    }
  }

  #buttonContainer {
    position:relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    margin-top: 0;
    margin-bottom: 50px;
  }

  h1 {
    position:relative;
    background-color: #222;
    padding: 10px;
    color: #fff;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #555;
    width: 400px;
  }

  .button {
    margin-top: 10px;
    position:relative;
    width: 250px;
    border: 2px solid black;
    display: inline-block;
    padding: 12px 24px;
    font-size: 20px;
    font-family: "JetBrains Mono",monospace;
    color: #fff;
    background-color: #4CAF50;
    border-radius: 20px;
    box-shadow:5px 5px 10px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

  .button:hover {
    transform: scale(1.05);
    background-color: #2d7f2f;
  }

  .button:active {
    transform: translate(2px, 2px);
  }

  #interactionContainer {
    position:relative;
    width: 50%;
    height: 100%;
  }

  #optionContainer {
    top : 15px;
    position: relative;
    height:fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .buttonHeader {
    position:relative;
    height: fit-content;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
  }

  .homepage {
    display: flex;
    position: relative;
    justify-content: left;
    height: fit-content;
  }

  .startButton {
    left: .75%;
    width: 30px;
    margin-top:3%;
    position: relative;
    background-color: black;
    border: 2px solid white;
    border-radius: 50px;
    box-shadow: black 2px 2px 0 0;
    color: white;
    cursor: pointer;
    display:inline-block;
    font-size: 13px;
    font-family: "JetBrains Mono",monospace;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
  }
  
  .startButton:hover {
    transform: scale(1.05);
  }
  
  .startButton:active {
    box-shadow: black 2px 2px 0 0;
    transform: translate(2px, 2px);
  }
