body {
    font-family: 'Helvetica';
    margin: 0rem;
}

.simulationSpace {
    border: 6px solid black;
    height: calc(100vh - 12px);
    width: calc(100vw - 12px);
}

canvas {
    height: 100%;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
}

form input, form select {
    background-color: #fff;
    border: .2rem solid #111;
    padding: .5rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #fff;
    border: .2rem solid #111;
    color: #000;
    cursor: pointer;
    font-family: 'Helvetica';
    font-size: 1.8rem;
    padding: 1rem;
}

.btn:hover {
    background-color: #111;
    color: #fff;
}

.addCreatureButton {
    font-size: 1.2rem;
    position: absolute;
    top: 20px;
    right: 20px;
}

.createModal { 
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: calc(100% - 4rem);
    left: 0;
    opacity: .98;
    padding: 2rem;
    position: absolute;
    top: 0;
    width: 30vw;
    z-index: 1;
    transition: left .5s ease-in-out;
}

.hidden {
    left: calc(-30vw - 4rem);
}

.closeButton {
    align-self: flex-end;
    border: solid 0.2rem black;
    cursor: pointer;
    padding: .8rem 1rem;
}

@media screen and (max-width: 900px) {
    .createModal {
        top: 0;
        left: 0;
        width: calc(100% - 4rem);
        height: auto;
        transition: top .8s ease-in-out;
    }

    .hidden {
        top:-100vh;
    }
}