#game-logo {
    width: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    font-family: 'Arial', sans-serif;
}

.container {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
}

.game-heading {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #11de29;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 20px;
}

#score {
    /* font-weight: bold; */
    color: #ff5722;
}

#gameArea {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 320px;
    background-color: #e0e0e0;
    border: 4px solid #333;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

#gameArea:hover {
    background-color: #d3d3d3;
}

#ball {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ff8a65, #ff5722);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease;
}

#ball:hover {
    transform: scale(1.1);
}

    /* Modal container */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    }
    
    /* Modal container */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Modal content box */
    .modal-content {
        background-color: #fefefe;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 300px;
        text-align: center;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Play Again button */
    #playAgainButton {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 1rem;
        color: #fff;
        background-color: #28a745;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    #playAgainButton:hover {
        background-color: #218838;
    }
    
    #winModal {
        display: none;
    }
    
    #startButton, #nextLevelButton {
        /* background-color: #4CAF50; */
        /* border: none; */
        color: black;
        /* padding: 15px 32px; */
        padding: 1vh 2vh;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 1.5vh;
        border-radius: 8px; /* Rounded corners */
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
        transition: all 0.3s ease; /* Smooth transition for interactions */
    }


@media (max-width: 500px) {
    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.25rem;
    }

    #gameArea {
        max-width: 280px;
        height: 280px;
    }

    #ball {
        width: 30px;
        height: 30px;
    }

}
