/* General Body Styles */
body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    height: 100vh;
    background: url('./background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Start Button Styles */
#start-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

#start-btn {
    background: yellow;
    color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

#start-btn:hover {
    background: #ffdf00;
}

/* Game Container Styles */
#game-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-canvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#timer, #score {
    position: absolute;
    top: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

#timer {
    left: 10px;
}

#score {
    right: 10px;
}

/* Progress Bar */
#progress-bar-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

#progress-bar {
    position: relative;
    width: 100%;
    height: 30px; /* Increased height for a more rectangular shape */
    background: #ccc;
    border-radius: 10px;
    margin: 10px auto;
    overflow: hidden;
}

#progress-bar-fill {
    height: 100%;
    width: 0%;
    background: forestgreen;
    transition: width 0.3s ease;
}

.progress-marker {
    position: absolute;
    height: 30px;
    width: 2px;
    background: black;
    top: 0;
}

#goal-marker {
    margin-top: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: black;
}

#level-text {
    margin-bottom: 8px; /* Space between level text and progress bar */
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

#start-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

#progress-bar-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}