.red{
    color:red;
}

body{
    font-family: cursor, monospace;
    overflow-x: hidden;
    color: #D2D1E5;
    background-color: #2E3440;
}

body > *{
    z-index: 1;
}

pre{
    font-size: 1rem;
    margin:0;
    white-space: pre-wrap;
}

pre:has(> span.mb)
{
    margin-bottom: 1rem;
}

.highlight{
    color: #88C0D0;
    cursor: pointer;
}

.commad-name{
    color: #81A2C1;
    cursor: pointer;
}

a{
    color: #B48EAD;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.commad-description
{
    color: #E5E9F1
}

.error-command{
    color:#BF616A
}

#currentCommand.error {
    color:#BF616A
}

#currentCommand.match{
    color: #A3BE8C;
}

.guest{
    color:#81A2C1;
}

.host{
    color: #EBCB8A;
}

::-moz-selection { 
    background-color: #3B4252; 
    color: #fff; 
} 
::selection { 
    background-color: #3B4252; 
    color: #fff; 
}

#cli{
    font-family: cursor, monospace;
    font-size: 1rem;
    margin:0;
}

.prefix{
    margin-right: 0.3rem;
}

#currentCommand{
    animation: blink 1s infinite;
    border-right: 10px solid #E5E9F1;
    margin: 0;
}


@keyframes blink {
    50%{
        border-color: transparent;
    }
}

#game-of-life{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2E3440;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.controls{
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    padding: 0.5rem;
    list-style-type: none;
    background-color: #D2D1E5;

    position: absolute;
    bottom: 10px;
    right: 10px;
    border-radius: 5px;
}

controls .controls-item 
{
    cursor: pointer;
}

.controls .controls-item img{
    width: 20px;
    cursor: pointer;
    height: 20px;
}

.controls .controls-item img:hover{
    filter: contrast(10%);
}

.hidden{
    display: none;
}

.mobile-hidden{
    display: none;
}

@media (min-width: 1270px) {
    body{
        overflow-y: hidden;
    }

    .mobile-hidden{
        display: block;
    }
}
