@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Press Start 2P', cursive;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

body {
    overflow: hidden;
    background-color: rgb(9, 17, 26);
}

.wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.game-text {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    left: 0;
    top: 0;
    color: #fff;
    font-size: 50px;
    z-index: 2;
}

.game-text>button {
    padding: 0.5rem 1rem;
    color: #fff;
    background: salmon;
    border: none;
    cursor: pointer;
}


.name {
    margin-bottom: 1vw;
    font-size: 30px;
}

.field {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.about {
    font-size: 20px;
}

.about-name {
    background-color: rgb(19, 93, 179);
    padding: 10px;
    border: 1px solid #fff;
}

.score-wrapper {
    background-color: rgb(9, 53, 104);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
}


.score-text {
    margin-bottom: 20px;
}

.score {
    font-size: 50px;
    color: yellow;
}

.help {
    background-color: rgb(9, 53, 104);
    border: 1px solid #fff;
}

.help .help-name {
    padding: 10px;
    background-color: rgb(19, 93, 179);
}


.arrow i {
    font-size: 30px;
    color: Yellow;
}

.arrow p {
    font-size: 16px;
}

.help .arrow-l {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.help .arrow-r {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.help .arrow-u {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.help .arrow-d {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.help .arrow-l {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.help .space {
    padding: 10px;
}

.help .space div {
    font-size: 20px;
    color: Yellow;
    margin-bottom: 5px;
}

.imag {
    width: 130px;
    height: 130px;
    background-image: url(../img/java.png);
    background-size: cover;
}





.playground {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(9, 53, 104);
    width: 320px;
    height: 540px;
    border: 1px solid #fff;
    border-radius: 5px;

}

.playground>ul {
    width: 275px;
    margin: 0 auto;
}

.playground>ul>li {
    width: 100%;
    height: 20px;
    background-color: rgb(9, 17, 26);
}

.playground>ul>li>ul {
    display: flex;
}

.playground>ul>li>ul>li {
    width: 20px;
    height: 20px;
}

.moving,
.seized {
    border: 1px solid #fff;
    z-index: 1;
    box-sizing: border-box;
    border-radius: 3px;

}


.bar {
    background: salmon;

}

.tree {
    background: #67c23a;

}

.zee {
    background: #e6a23c;


}

.elLeft {
    background: #8e44ad;


}

.elRight {
    background: #16a085;

}

.square {
    background: #a01616;
}


@media (max-width:580px) {
    .imag {
        display: none;
    }

    .field {
        flex-direction: column;
    }

    .name {
        font-size: 20px;
    }

    .about {
        font-size: 10px;
    }
    .score {
        font-size: 20px;
    }
    .score-text {
        margin-bottom: 5px;
    }
    .help {
        display: none;
    }

    .score-wrapper {
        padding: 5px 0;
        border-radius: 5px;
    }

    .about-name {
       display: none;
    }

}