/* Body styling */
body {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 1000;
    background-color: #f9f9f9;
    color: #333333;
    text-align: center;
}

/* Center wrapper */
.center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Countdown timer styling */
.countdown-timer {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 3vw;
    margin-bottom: 3vh;
    padding: 1vh 2vw;
    border: 0.2vw solid #ddd;
    border-radius: 0.5vw;
    background-color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    max-width: 50vw;
    width: 50vw;
    text-align: center;
}

/* Button styling */
.confetti-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 2vh 4vw;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5vw;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2vh;
    transition: background-color 0.3s;
}

/* Button hover effect */
.confetti-button:hover {
    background-color: #FF69B4;
}

/* Progress bar container */
#myProgress {
    width: 80vw;
    background-color: #ddd;
    margin-bottom: 3vh;
    position: relative;
    height: 5vh;
    border-radius: 2.5vh;
    overflow: hidden;
}

/* Progress bar */
#myBar {
    width: 1%;
    height: 100%;
    background: linear-gradient(90deg, #04AA6D, #06b73a);
    border-radius: 2.5vh;
    transition: width 0.1s ease;
}

/* Progress bar text centered in the grey bar */
#progressText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}
