@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300;
    src: url(fonts/Jost-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Spectral-Medium';
    font-style: normal;
    font-weight: 300;
    src: url(fonts/Spectral-Medium.ttf) format('truetype');
}

body {
    background: linear-gradient(180deg,#0A2740 1%, #1D4667 25%, #2D3135 45%);
    height: 200vh;
    font-family: 'Spectral-Medium';
}

h2 {
    color: white;
    font-size: 42px;
    font-family: 'Jost';
    line-height: 1.2em;

}

#main-playground {
    margin-left: auto;    
    margin-right: auto;
    max-width: 780px;
}

#code {
    width: 100%;
    background-color: black;
    color: #F75AFF;
    font-family: monospace;
    tab-size: 4;
}

@media only screen and (max-width:600px) {
    #run-code { grid-area: a; }
    #step-code{ grid-area: b; }
    #reset-code { grid-area: c; }
    #share{ grid-area: d; }
    #show-libs { grid-area: e; }
    #code-actions {
        display: grid;
        gap: 4px;
        grid-template-columns: auto 0.5 0.5 auto;
        grid-template-areas: 
            "a b b c"
            "d d e e";
    }
}
@media only screen and (min-width:601px) {
    #code-actions {
        display: flex;
        justify-content: space-around;
    }
}

#code-actions button {
    font-family: 'Jost';
    font-size: 20px;
    margin-top: 5px;
    color: #51C5FF;
    padding: 5px 15px;
    border: none;
    background: #2D3135;
}
    
#code-actions button:hover {
    filter:  hue-rotate(30deg);
    border: 2px solid #51C5FF;
    padding: 3px 13px;
}
dt.nova-stack-title {
    font-family: 'Jost';
    font-size: 20px;
    color: white;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 2px;
    margin-top: 2px;
}

.nova-stack-elements {
    margin-left: 5px;
    padding: 6px;
    text-indent: 0;
    background: #2D3135;

    border-radius: 4px;
    font-size: 18px;
    border: 1px solid white;
}

.nova-stack-element {
    border: 1px solid white;
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 3px;
    margin-right: 3px;
    background: black;
    color: #F75AFF;
    font-family: monospace;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
}
