/* Global CSS */
* {
    font-family: monospace;
    font-weight: bold;
}

body{
    padding: 0;
    margin: 0;
    overflow: hidden;
    background:#0a0a0a;
}

img{
    width: 150px;
    height: 150px;
}
a{
    color: #fff;
}

/* Terminal design */
#terminal, #terminalInput{
    position:fixed;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    padding: 0.5em;
    overflow: auto;
    border:none;
    width: 100vw;
}

#terminal{
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    height:calc(100vh - 120px);
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}
#terminal::-webkit-scrollbar, #infobox::-webkit-scrollbar { 
    display: none;
}

#terminalInput{
    bottom: 0;
    right: 0;
    left: 0;
    height:30px;
    border-top:1px solid #fff;
    padding-left:30px;
}
#terminalInput:focus{
    outline: none;
}

.terminal-input-arrow{
    position:fixed;
    bottom:15px;
    left: 15px;
    color: #fff;
    font-weight:bold;
}

/* Links rendering */
#links{
    position:fixed;
    bottom:60px;
    width: 100vw;
    height:30px;
    padding:0 20px;
}

#links a{
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 9999px;
    margin-right: 10px;
    z-index: 1;
}

/* Autocomplete */
#autocomplete{
    position:fixed;
    bottom:60px;
    width: 80px;
    left:30px;
    padding:5px 20px;
    background:#fff;
    color: #000;
    display: none;
}
#autocomplete span{
    display: block;
}

/* Infobox / modals */
#infobox, #enablegui{
    position: fixed;
    height: auto;
    left: 35vw;
    top: 5vh;
    max-height: 80vh;
    background: #0a0a0a;
    border: 1px solid white;
    color: #fff;
    overflow: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    padding:5px 20px;
    display: none;
    text-align: left;
    box-shadow: 13px 13px 0px black;
    padding-bottom:50px;
}

#infobox span{
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    margin: 0;
    padding: 5px;
    display: inline-block;
    background: #fff;
    color: #000;
    cursor: pointer;
}

#infobox p{
    max-height: 50vh;
    overflow: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    padding-right:5px;
}

/* Infobox paraph scrollbar */
#infobox p::-webkit-scrollbar-track
{
	background-color: #0a0a0a;
}

#infobox p::-webkit-scrollbar
{
	width: 5px;
	background-color: #0a0a0a;
}

#infobox p::-webkit-scrollbar-thumb
{
	background-color: #fff;
}

/* GUI modal */
#enablegui{
    top:35vh;
    display: block;
    padding-bottom: 10px;
}
#enablegui p{
    display:block;
    width: 100%;
    margin:20px 0px;
}
#enablegui span{
    display:inline-block;
    width: calc(40% - 10px);
    padding:5px;
    margin: 5px;
    background:#fff;
    color: #000;
    cursor:pointer;
}

/* Responsive */
@media screen and (max-width: 600px) {
    body{
        overflow: hidden;
    }

    #terminal, #terminalInput{
        font-size: 1em;
        max-height: 90vh;
    }
    #terminalInput{
        bottom: 10px;
    }
    #links{
        display: none;
    }
    .terminal-input-arrow{
        bottom:25px;
    }
}

