body {
    display: flex;
    font-family: 'Calibri';
    flex-direction: column;
    align-items: center;
    background-color: HoneyDew;
    height: 100vh;
    margin: 0;
    position: relative; /* Added for positioning */
}
canvas {
    border: 1px solid black;
}
#title {
    font-size: 30px;
    font-family: sans-serif;
    color: green;
    margin: 20px;
    font-weight: 700;
}
#score {
    font-size: 45px;
    font-family: sans-serif;
    color: green;
    margin: 10px;
}
#gameCanvas {
    border: 1px solid white;
    border-radius: 10px; 
}

.welcome-title {
    font-size: 24px;
    font-family: Verdana, sans-serif;
    color: green;
    margin-top: 20px;
    text-align: center;
}

.start-button {
    font-size: 16px;
    font-family: Verdana, sans-serif;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.start-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.start-button:active {
    background-color: #3e8e41;
    transform: scale(0.98);
}

.upper-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

#gameWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#scores {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 10%; /* Adjusted to position higher */
}

.score-left {
    position: absolute;
    left: calc(50% - 352px - 210px); /* Adjust based on canvas width and score width */
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: green;
    background-color:rgb(214, 250, 214);
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.score-right {
    position: absolute;
    right: calc(50% - 352px - 210px); /* Adjust based on canvas width and score width */
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color:blue;
    background-color:rgb(222, 243, 250);
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

#gameContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
