*{
    margin: 0;
    padding: 0;
}

div{
    max-width: 0;
    max-height: 0;
    display: none;
    visibility: hidden;
}

body{
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

main{
    display: flex;
}

#canvas{
    display: block;
    margin: auto;
    margin-top: 40px;
    border: 2px solid white;
}

#help, #helpE{
    position: absolute;
    margin: auto;
    width: 350px;
    height: 504px;
    border: 2px solid white;
    top: 40px;
    left: calc(50% + 265px);
    box-sizing: border-box;
    padding: 0 10px;
    font-size: 20px;
    visibility: hidden;
    overflow-y: scroll;
}

#helpE{
    color: #0f0;
}

#help p, #helpE p{
    margin: 20px 0;
}

#help p span{
    color: #0f0;
}

#helpE p span{
    color: white;
}

#spike, #walls{
    display: none;
}

#cmd{
    width: fit-content;
    display: block;
    margin: auto;
    padding: 0;
    margin-top: 10px;
    border: 2px solid white;
    visibility: hidden;
}

#cmdText{
    background-color: transparent;
    width: 452px;
    max-height: 45px;
    min-height: 45px;
    font-size: 35px;
    color: white;
    border: none;
    box-sizing: border-box;
    padding-left: 3px;
}

#cmdText:focus, #cmdText:focus{
    outline: none;
}

#cmdEnter{
    max-width: 50px;
    max-height: 48px;
    min-width: 50px;
    min-height: 48px;
    background-color: transparent;
    border: none;
    border-left: 2px solid white;
    margin-left: -2px;
    padding: 0;
    vertical-align: bottom;
    color: white;
    font-size: 30px;
    padding-bottom: 5px;
    cursor: pointer;
}

#cmdEnter:hover{
    color: #999;
}

#error{
    color: red;
    text-align: center;
    font-size: 25px;
    margin-top: 10px;
}