html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
}
#gif-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#gif-container img {
    height: 100%;
    width: 167%;
}

#start-page h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 4rem;
    text-align: center;
    color: rgb(147,138,138);
    text-shadow: 2px 2px #ffffff;
    margin-top: 6rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

#start-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    background-color: #1f1f1f;
    color: #e7e3e3;
    cursor: pointer;
    margin-left: 20rem;
}

#playButton {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    padding: 1rem 2rem; 
    border-radius: 0.5rem;
    background-color: #1f1f1f;
    color: #e7e3e3;
    cursor: pointer;
    margin: 2rem;
  }
  
#start-button:hover {
    transform: scale(1.1);
    background-color: #e6e2e2;
    color: #2f2f2f;
}
#playButton:hover {
    transform: scale(1.1);
    background-color: #e6e2e2;
    color: #2f2f2f;
}

.fade-in {
    animation: fade-in 2s;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

#myCanvas {
    width:100%;
    height:100%;
}
#speedometer {
    width: 250px;
    height: 100px;
    background-color: rgb(0,29,13);
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-size: 50px;
    text-align: center;
    line-height: 100px;
  }
  