html, body {
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    background-color: rgb(38, 39, 47);
    color: rgb(209, 146, 51);
    font-family: 'Franklin Gothic Medium';
}

.header {
    font-size: 16px;
    text-align: center;
    
    background-color: rgb(33, 34, 39);
    border-bottom: 1px solid rgb(102, 79, 39);
}

.header-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    line-height: 55px;
    height: 55px;
    width: calc(100% - 40px);
    margin: auto;
}

.main {
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.main-wrapper {
    height: calc(100vh - 60px);
}

.canvas-container {
    position: relative;
    margin: auto;
    margin-top: 45px;
    height: calc(100% - 90px);
    width: 87%;
    border: 1px solid rgb(102, 79, 39);
}

.canvas-container > canvas {
    width: 100%;
    height: 100%;
}

.stats {
    color: rgb(145, 122, 42) !important;
    position: absolute;
    top: 20px;
    right: 20px;
}

.settings-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: auto;
    margin-top: 45px;
    height: calc(100% - 90px);
    width: 80%;
    border: 1px solid rgb(102, 79, 39);
}

.settings-row {
    width: 90%;
    text-indent: 3px;
    margin: 25px auto 0px;
}

.settings-row:last-child {
    margin-top: auto;
    margin-bottom: 20px;
}

.settings-row th, .settings-row td {
    border: 1px solid rgb(102, 79, 39);
    padding: .5em;
}

.settings-row.table {
    max-height: 40dvh;
    overflow-y: auto;
}

.submit {
    color: inherit;
    background-color: rgb(38, 39, 47);
    letter-spacing: 1px;
    font-size: 14px;
    border: 2px solid rgb(102, 79, 39);
    width: 100%;
    line-height: 50px;
}

.submit {
    cursor: pointer;
}

.submit:hover {
    background-color: rgb(32, 33, 39);
}

.submit:active {
    transform: scale(0.95);
}

.slider-container {
    display: grid;
    grid-template-columns: 83% 17%;
}

.slider {
    margin-top: 12px;
    -webkit-appearance: none;
    height: 12px;
    border-radius: 5px;  
    background: rgb(106, 101, 101);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgb(209, 146, 51);
    cursor: pointer;
}
  
.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgb(209, 146, 51);
    cursor: pointer;
}

.slider-input {
    height: 20px;
    margin-left: 10px;
    margin-top: 5px;
    text-align: center;
    color: rgb(209, 146, 51);
    background-color: rgb(38, 39, 47);
    border: 1px solid rgb(102, 79, 39);
}

.slider-input:focus {
    outline: none;
}