body{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
/* все для меню игры🔽*/
#game{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    position: fixed;
    background-image: url(img/fon.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}
#game>header{
    display: flex;
    justify-content:center;
    align-items: end;
    height: 5%;
    width: 100%;
    padding: 20px;
}
.shop{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    width: 33%;
    position: relative;
    top: 100%;
}
#wave{
    display: flex;
    justify-content: center;
    width: 33%;
}
#money{
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 25px;
    width: 33%;
}
.main{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 95%;
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
}
#boss{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40%;
    width: 100%;
    margin-top: 10%;
    margin-bottom: 10%;
}
#boss>img{
    height: 100%;
}
#hp{
    display: flex;
    justify-content: left;
    align-items: center;
    height: 5%;
    width: 100%;
    background-color: rgb(61, 61, 61);
    margin-left: 30px;
    margin-right: 30px;
}
.hp.center{
    width: 100%;
    height: 100%;
    background-color: greenyellow;
    position: relative;
    z-index: 0;
}
.hp.num{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5%;
    position: relative;
    bottom: 5%;
    z-index: 1;
}
#attack{
    display: flex;
    justify-content: center;
    align-items: start;
    height: 50%;
    width: 100%;
}
#attack>img{
    cursor: pointer;
}
#next{
    height: 30%;
    width: 20%;
}
#shop{
    font-size: large;
    height: 100px;
    position: relative;
    top: 50px;
    right: 80px;
    cursor: pointer;
}
/* все для меню магазина🔽*/
#store{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #a0c7e7;
    z-index: 3;
    transition: 1s;
    right: 100%;
}
#store.enabled{
    right: 0;
}
#store>header{
    display: flex;
    justify-content:center;
    align-items: end;
    padding: 20px;
    height: 2%;
    width: 100%;
}
#store>header>#money{
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 25px;
    width: 20%;
    position: relative;
    top: 10px;
}
#store>header>.name{
    display: flex;
    justify-content:center;
    width: 70%;
    font-size: large;
}
#store>header>.close{
    display: flex;
    justify-content:center;
    width: 10%;
}
#store>header>.close>#close{
    font-size: large;
    cursor: pointer;
}
#store>.items{
    height: 98%;
    width: 100%;
}
#store>.items>.card{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    margin: 1% 1% 1% 1%;
    height: 17%;
    width: 98%;
    background-color: rgb(0, 140, 255);
    border-radius: 10px;
    border: 2px solid black;
}
#store>.items>.card>.prewiew{
    height: 100%;
    width: 20%;
    background-repeat: no-repeat;
    background-size: 50% 90%;
    background-position: center;
}
#store>.items>.card>.description{
    height: 100%;
    width: 50%;
}
#store>.items>.card>.description>.text{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    height: 20%;
    width: 100%;
    font-size: large;
}
#store>.items>.card>.cost{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    height: 100%;
    width: 10%;
}
#store>.items>.card>.cost>.text{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    height: 10%;
    width: 100%;
    font-size: large;
}
#store>.items>.card>.buy{
    display: flex;
    justify-content:center;
    align-items: center;
    height: 100%;
    width: 20%;
}
#store>.items>.card>.buy>button{
    font-size: large;
    border-radius: 10px;
    height: 50%;
    width: 50%;
    cursor: pointer;
}
#store>.items>.card>.buy>button:hover{
    background-color: rgb(226, 63, 63);
}