@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}



@media (max-width:500px) {

    body {
        height: 100vh;
        width: 100vw;
        background: linear-gradient(rgb(92, 23, 181) 80%, rgb(0, 0, 0)) no-repeat;
    }

    #name {
        text-align: center;
        color: rgb(255, 247, 0);
        font-weight: 700;
    }

    .main {
        width: 100%;
        height: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .container {
        width: 95%;
        height: 500px;
        background: black;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .bubble {
        width: 30px;
        height: 30px;
        position: relative;
        border-radius: 50%;
        animation: bubble 1.5s;
    }

    @keyframes bubble {
        0% {
            transform: translateY(500px);
        }
    }

    .utils {
        width: 100%;
        height: 100px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        justify-content: center;
        align-items: center;
    }

    .start-div {
        display: flex;
        justify-content: center;
    }

    .start {
        width: 70px;
        height: 30px;
        border: none;
        font-size: 20px;
        font-weight: 700;
        border-radius: 5px;
        align-self: center;
    }

    .start:hover {
        background: yellow;
        cursor: pointer;
    }

    #score,
    #high-score,
    #missed {
        color: white;
        font-size: 20px;
        text-align: center;
    }

    .game-over {
        height: 100px;
        color: white;
        display: none;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        font-weight: 700;
        position: absolute;
        top: 40%;
        left: 27%;
    }

    .game-over:hover {
        background: yellow;
        cursor: pointer;
    }

    .try-again {
        border: none;
        width: 90px;
        height: 40px;
        font-size: 18px;
        border-radius: 5px;
        font-weight: 700;
    }

    .try-again:hover {
        background: yellow;
        cursor: pointer;
    }

}
