* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
}
body{
    background-image: url('/bg.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat; 
}

section{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-welcome, .main{
    height: 400px;
    width: 300px;
    background-color:black;
    color: aliceblue;
    border: 2px white solid;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    justify-content: space-evenly;
}

.headline-welcome ,headline-player{
   font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
   font-weight: 900;
}
.content div{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 250px;
    height: 80px;
    border: 1px white solid;
    padding: 2px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.content div input{
    background-color: black;
    border: 1px wheat solid;
    height: 30px;
    border-radius: 10px;
    color: aliceblue;
    padding: 5px;
    width: 40px;
}

.button{
    width: 270px;
    height: 50px;
    background-color: rgb(71, 70, 70);
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: large;
    border: 1px wheat solid;
    border-radius: 10px;
}




/* bubble game */
main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

nav{
    width: 100%;
    height:50px;
    background-color: rgb(60, 60, 60);
    color: beige;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.right{
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 20px;
}

.gamebroad{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    flex-grow: 1;
    border: 5px black solid;
    margin: 6px;
    padding: 1p;
}
.bubble{
    width: 50px;
    height: 50px;
    margin: auto;
    background-color: rgb(133, 133, 126 , 0.6);
    border: 2px black solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    font-size: xx-large;
    font-weight: 900;
}
.bubble:hover{
    background-color: rgb(133, 133, 126);
}


@media screen and (max-width: 657px) {
    .left h1{
        font-size: small;
    }
    .right div h3{
        font-size: x-small;
    }
}


.card-item{
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(28, 27, 27, 0.2); /* better than opacity */
    backdrop-filter: blur(2px);
}

.player-ending{
    height: 400px;
    width: 300px;
    background-color: black;
    color: aliceblue;
    border: 2px white solid;
    border-radius: 10px;

    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    justify-content: space-evenly;
    z-index: 10;
}









.displaynone{
    display: none;
 }






 /* utitliy */
 .wrong{
    background-color: rgba(124, 2, 2, 0.8);
 }