@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: cursive;
    font-weight: 900;
    /* font-family: "Permanent Marker", cursive; */
    font-weight: 800;
    font-style: normal;
    text-transform: capitalize;
    /* border: 1px solid; */
    color: aliceblue;
    /* user-select: none;
    -webkit-touch-callout: none; */
}

html,
body {
    height: 100%;
    width: 100%;

}

#main {
    height: 100%;
    width: 100%;
    background-color: rgb(31, 32, 32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    /*display: flex;
    */
    height: 80%;
    width: 80%;
    /* background-color: aqua; */
    border-radius: 10px;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border: 2px solid;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    background-color: rgb(91, 97, 95);
    /* gap: 50px;/ */
}

.header .hbtn {
    margin-right: 60px;
    font-size: 25px;
    padding-left: 10px;
}

.header .hith2 {
    color: crimson;

}

.header .timerbtn {
    color: rgba(11, 164, 235, 0.952);
}

.header .scorebtn {
    color: rgb(10, 241, 10);
}

.buttom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    /* margin: 0 15px; */
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: calc(100% - 90px);
    padding-left: 10px;
    padding-right: 10px;
}

.buttom h1 span {
    color: red;
}

.buttom .gameover {
    color: green;
}

.bubble {
    margin: 4px;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    /* border: 1px solid white; */
    background-color: rgb(76, 85, 85);
    cursor: pointer;
    transition: all linear .2s;
    margin: 5px;
    border: 2px solid rgba(121, 118, 118, 0.842);
}

.bubble:hover {
    scale: 1.2;
    border: 2px solid;
    color:rgb(18, 240, 166);
}


/* RESPONSIVE START HERE */

@media (max-width:400px) {
    .container {
        width: 95%;
        height: 95%;
    }
    .bubble{
        transition: none;
    }

    .header .hbtn {
        display: flex;
        justify-content: center;
        margin-right: 40px;
        font-size: 20px;
        padding-left: 5px;
    }

    .header .hith2 {
        margin-left: 15px;

    }
}

.restart {
    margin-top: 100px;
    padding: 5px 20px;
    border-radius: 10px;
    color: rgb(9, 218, 9);
    border: 1px solid;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    cursor: pointer;
}

.gameover {
    margin-bottom: 100px;
    color: rgb(236, 46, 13) !important;
    letter-spacing: 3px;

}