*{
    position: relative;
    
}
main {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;

}
canvas {
    border: 1px solid black;
    /* flex-basis: 50%; */
    /* width: 100vw;
    height: 60vh; */
    z-index: 5
    overflow: hidden;
}
#scriptsContainer{
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    border: 1px solid black;
}
#scriptsContainer > .btns-container {
    display: flex;
    justify-content: space-between;
    margin: 0 2.5%;
}
#scriptsContainer > .btns-container > button {
    font-size: 1.2rem;
    padding: .5% 2%;
}

#scriptsContainer > .code-container>pre.copy-code:active,#scriptsContainer>.code-container>pre.copy-code:focus{
    box-shadow: 0 -2px 2px 3px blue;
}
canvas:active,canvas:focus{
    box-shadow: 0px 0px 2px 4px orange;
}
.btns-container>button:active,.btns-container>button:focus{
    box-shadow: 2px 3px 2px 4px yellow;
}

#scriptsContainer {
    margin: 0 5%;
}
#scriptsContainer >.code-container {
    border: 1px solid black;
    height: 100%;
    margin: 0 1%;
}
#scriptsContainer > .code-container > pre.copy-code {
    display: block;
    overflow-x: scroll;
    background-color: black;
    border: 1px solid black;
    height: 100%;
    width: 100%;
    color: white;
    font-size: 1rem;
    padding: 0 1%;
    padding-top: 1%;
}
.code-container > .copy-code{
    background-color: black;
}
.popup {
    position: absolute;
    width: 50%;
    font-size: 40% !important;
    top: 0;
    right: 0;
    margin: 0 !important;
    max-height: 100vh!important;
    overflow-y: scroll;
}
footer > p {
    width: 50%;
}