@font-face {
    font-family: 'SF Mono Regular';
    src: url("../public/font/SF-Mono-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Mono Bold';
    src: url("../public/font/SF-Mono-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

.sf-regular {
    font-family: 'SF Mono Regular', monospace;
    font-weight: 400;
}

.sf-bold {
    font-family: 'SF Mono Bold', monospace;
    font-weight: 700;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

#top_title{
    text-align: left;
    padding : 12px 12px;
    color: rgb(125, 125, 125);
    height: 3vh;
}

#top_title_main{
    font-size: 30px;
}

#top_title_extra{
    font-size: 15px;
}

#main{
    position: relative;
    left: 12px;
    display: flex;
    flex-direction: row;
    width: calc(100vw - 24px);
    height: 90vh;
    overflow: none;
    gap: 12px;
}

#screen{
    height: 100%;
    width: 75%;
}

#console{
    position: relative;
    width: 25%;
    color: rgb(200, 200, 200);
    overflow-y: scroll;
    border-left: 0.5px solid #000000;
    display: flex;
    flex-direction: column;
}

#terminal{
    background-color: #ffffff;
    height: 80%;
    padding-left: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    font-family: 'SF Mono Regular', monospace;
    overflow-y: scroll;
    scrollbar-width: 0px;
    cursor: text;
}
#terminal::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
.cmd_prompt{
    position: relative;
    width: fit-content;
    font-size: 12px;
    top: 4px;
}

.terminal_input {
    align-self: stretch;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    max-width: 100%;
    min-width: 100%;
    height: auto;
    resize: vertical;
    font-size: 12px;
}



.terminal_input:focus{
    outline: none;
    border: none;
    background: transparent;
}


.terminal_error{
    color: red;
}

.terminal_message{
    color: rgb(0, 255, 0);
}

.red{
    color: red;
}

.green{
    color: rgb(0, 255, 0);
}

.terminalLine{
    display: flex;
    flex-direction: row;
    align-items: self-start;
    height: auto;

}

.green{
    color: rgb(0, 255, 0);
}

#list{
    padding: 12px;
    position: relative;
    align-self: left;
    height: fit-content;
    border-top: 0.5px solid #000000;
    overflow-y: hide;
    font-size: 12px;
    color: #000000;
}

#terminal table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
}

#terminal td {
    vertical-align: top;
    padding: 1px 0;
}

#terminal td:first-child {
    width: auto;
    white-space: nowrap;
    padding-right: 8px;
}

#terminal td:last-child {
    width: 100%;
}

.clickable{
    cursor: pointer;
}

.clickable:hover{
    background-color:  rgb(0, 255, 0);
    color: rgb(255, 255, 255);
}

.audio-player{
    outline: none;
    color: #000;
    padding: 8px;
    font-family: 'SF Mono Regular', monospace;
    font-size: 12px;
    display: block;
}

.audio-player::-webkit-media-controls-download-button {
    display: none;
}

.audio-player::-webkit-media-controls-overflow-button {
    display: none;
}

 audio::-webkit-media-controls-panel {
    font-family: 'SF Mono Regular', monospace;
  background-color: white;
}

footer{
    position: fixed;
    bottom: 0;
    text-align: center;
    justify-content: center;
    padding: 4px;
    color: rgb(125, 125, 125);
    height: fit-content;
    font-size: 8px;
    width: 100vw;
}

@media screen and (width<900px) {


    #top_title{
        padding: none;
        margin: none;
        position: relative;
        top: 0;
        left: 10px;
        z-index: 1002;
        background-color: white;
        width: fit-content;
        height: 2%;
        padding: none;
        text-align: left;
        
    }
    body {
        height: 100dvh;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin: 0px;
        padding: 0px;
    }
    #main {
        position: relative;
        padding: 0px;
        margin: 0px;
        flex-direction: column;
        left: 0;
        height: 100%;
    }
    #screen {
        position: absolute;
        justify-content: center;
        padding: none;
        margin: none;
        width: 100%;
        height: 92%;
        min-width: 0;
        overflow: scroll;
    }
    #console {
        position: relative;
        height: 2%;
        border-left: none;
        width: 100%;
        height: 10%;
        overflow-y: scroll;
        height: fit-content;
        background-color: #ffffff;
        z-index: 1000;
        position: relative;
    }
    #top_title_main {
        font-size: 22px;
    }
    #top_title_extra {
        font-size: 12px;
    }
    footer {
        display: none;
    }

    .button-bar{
        z-index: 1001;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 8px;
        z-index: 1001;
        position: fixed;
        bottom: 0;
        background-color: white;
        width: 100vw;
        padding-bottom: 20px;
        height: fit-content;
    }

    .nav-button{
        justify-content: space-around;
        font-size: 12px;
        color: black;
        cursor: pointer;
        background-color: transparent;
        border: none;
    }


}



