/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #4CAF50;
    padding: 10px 0;
    width: 100%;
    text-align: center;
}

main {
    margin-top: 20px;
}

#game-container {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
    padding: 15px 30px;
    font-size: 16px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ddd;
}

#purchase-area {
    margin-top: 20px;
}

#stats p {
    font-size: 18px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.overlay.visible {
    visibility: visible;
}

.tutorial-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

#close-tutorial, #keep-tips {
    margin-top: 10px;
}
.endgame-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.endgame-box h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

#restart-button {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
}

#restart-button:hover {
    background-color: #45a049;
}
