* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
   background: radial-gradient(
  #ffdd55 0%,
  #e63946 45%,
  #0f237a 100%
);

}

#character {
    transition: all 0.5s ease-in-out;
    position: relative;
    z-index: 1;
}
#coin {
    width: 100px;
    transition: all 0.2s ease-in;
    position: fixed;
    top: 0;
    left: 0;
}
.move-right {
    transform: translateX(440px);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    color: white;
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
  }
  #startScreen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-family: sans-serif;
}

#startScreen h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#startButton {
    font-size: 1.5rem;
    padding: 15px 40px;
    cursor: pointer;
}

#score {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 24px;
    font-family: sans-serif;
    color: white;
    z-index: 10000;
}

#timer {
    position: fixed;
    top: 20px;
    right: 15px;
    font-size: 24px;
    font-family: sans-serif;
    color: white;
    z-index: 10000;
}