body {
    background: radial-gradient(circle, #3a3a3a, #0a0a0a);
    overflow: hidden
}
.title-name{
    color: antiquewhite;
    text-align: center;
}


/* cтартовый экран */
#start-screen {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 40px;
}

#pre-game-screen{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    border: 1px red solid;
    background-color: white;
}

button:hover {
    background-color: #2666cc;
}

/* игровой экран */
#game-screen {
    display: flex;
}

.div-avatar{
    position: relative;
    background: white;
    margin: 30px;
    top: -30px;
    width: 300px;
    height: 400px;
    border: 5px red solid;
}

.div-hp{
    position: relative;
    margin: 20px;
    height: 100px;
}

.div-round{
    position: absolute;
    background: white;
    border: red 5px solid;
    left: 45%;
    width: 150px;
    height: 100px;
}

.text-round{
    position: relative;
    text-align: center;
    top: -10px;
}

#text-round-count{
    position: relative;
    text-align: center;
    top: -30px;
}

.img-hp{
    margin: 10px;
    width: 100px;
}

.div-nickname{
    position: absolute;
    background: white;
    border: red solid 5px;
    width: 350px;
    height: 100px;
    top: 188px;
    left: 400px;
}

.div-skills{
    position: absolute;
    background: white;
    border: red 5px solid;
    width: 711px;
    height: 450px;
    margin: 30px;
    top: 400px;
}

.skills-btn{
    position: relative;
}

.div-mana{
    position: absolute;
    background: linear-gradient(pink, blue);
    border: red 5px solid;
    width: 90px;
    height: 450px;
    margin: 30px;
    left: 750px;
    top: 400px;
}

#div-mana-count{
    position: relative;
    background-color: white;
    width: 90px;
    height: 350px;
}

#text-mana-count{
    text-align: center;
    color: white;
}

.div-timer{
    position: absolute;
    background: white;
    border: red 5px solid;
    width: 200px;
    height: 75px;
    left: 85%;
}

#text-timer{
    text-align: center;
}

#confirm-btn{
    position: absolute;
    width: 200px;
    height: 50px;
    left: 85%;
    top: 90%;
}

.div-gesture{
    position: absolute;
    left: 55%;
    top: 30%;
}

#round-screen{
    position: absolute;
    background: linear-gradient(pink, blue);
    border: red 5px solid;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 800px;
}

#text-round-screen{
    position: relative;
}

#text-enemy-move{
    position: relative;
}

#text-round-total{
    position: relative;
}

#text-player-choice{
    position: absolute;
    color: white;
    top: 88%;
    left: 55%;
}

#nick-input{
    background-color: black;
    color: white;
}

#text-nickname{
    position: relative;
    text-align: center;
    top: 10px;
}

#lose-win-screen{
    position: absolute;
    width: 700px;
    height: 500px;
    border: 5px red solid;
    background-color: white;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

#lose-win-text{
    position: relative;
    text-align: center;
}

.div-enemy-hp{
    position: absolute;
    left: 70%;
    background-color: white;
}

#avatar-img{
    height: 400px;
}

#div-first-skill{
    position: relative;
    width: 300px;
    height: 100px;
    border: red 5px solid;
    background-color: gray;
}

.div-applied-skill{
    position: absolute;
    left: 400px;
    top: 310px;
    width: 470px;
    height: 100px;
    background-color: white;
    border:5px red solid;
}

#text-applied-skill{
    position: relative;
    text-align: center;
    top: 10px;
}

#multiplayer-screen{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    border: 1px red solid;
    background-color: white;
}

#div-chat{
    position: absolute;
    background-color: white;
    color: black;
    width: 200px;
    height: 400px;
    border: red 2px solid;
    left: 89%;
    top: 45%;
    overflow: hidden;
}

#msg-block{
    height: 100%;
    overflow-y: auto;
    padding: 8px;
    box-sizing: border-box;
}

#chat-form{
    display: flex;
    position: absolute;
    top: 95%;
}

#inp-chat{
    position: relative;
    width: 140px;
    background-color: black;
    color: white;
}

#btn-chat{
    position: relative;
    background-color: black;
    color: white;
}