* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

body {
    height: 100%;
    overflow: hidden;
    background-color: #000;
}


.bg-video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    user-select: none;
}

.bg-video:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.31);
    z-index: 1;
}

.bg-video video {
    width: 100%;
    height: 100%;

}

.outer {
    width: 400px;
    height: 300px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30000;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    border-radius: 7px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.31);
}

.outer h2 {
    font-size: 40px;
    color: #000;
    text-align: center;
}

.game {
    display: none;
}

.outer button.start {
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    background-color: cornflowerblue;
    color: #fff;
    z-index: 10;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
}

.outer button.start:hover {
    background-color: dodgerblue;
    color: #fff;
}

/*
.game {
    display: none;
}

.game:active {
    display:block;
}
*/

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

.game-text span {
    margin-bottom: 5px;
}

.game-text button {
    padding: 0.5rem 1rem;
    color: #fff;
    background-color: crimson;
    cursor: pointer;
    border: none;
    font-size: 20px;
}

.score {
    text-align: center;
    font-size: 36px;
    margin-bottom: 2rem;
    color: #fff;
    margin-top: -10px;
}

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

.playground {
    margin-top: -10px;
}

.playground > ul {
    border: 1px solid #333;
    width: 300px;
    margin: 0 auto;
}

.playground > ul > li {
    width: 100%;
    height: 30px;
}

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

.playground > ul > li > ul > li {
    width: 30px;
    height: 30px;
    outline: 1px solid #ccc;
}

.tree {
    background-color: #8e44ad;
}

.bar {
    background-color: salmon;
}

.zee {
    background-color: #e67e22;
}

.elLeft {
    background-color: crimson;
}

.elRight {
    background-color: cornflowerblue;
}

.square {
    background-color: yellowgreen;
}
