@media only screen and (max-width: 480px) {
    main {
        padding-left: 3px;
        padding-right: 3px;
    }
}
@media only screen and (min-width: 481px) and (max-width: 767px){
    main {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1279px){
    body {
        padding: 15px;
    }
    main {
        padding-left: 8px;
        padding-right: 8px;
        margin: 0 auto;
        max-height: calc(100% - 60px);
        border-radius: 8px;
        box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    }
}
@media only screen and (min-width: 1280px) {
    body {
        padding: 15px;
    }
    main {
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;
        max-height: calc(100% - 50px);
        border-radius: 8px;
        box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    }
}

body, body > div {
    width: 100%;
}
body {
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}
div {
    box-sizing: border-box;
}
canvas {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 960px;
}

main {
    padding-top: 5px;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.card {
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.depthroot {
    background-color: #333941;
    color: #dae0ea;
}
.depth1 {
    background-color: #4a5462;
}