body {
    background-color: rgb(203, 215, 236);
}

:root {
    --canvas-width: 800px;
    --canvas-height: 600px;
}

/* ---------------------- top panel ---------------------- */


.panel {
    border: none;
    border-radius: 8px 8px 1px 1px;
    position:relative;
    width: var(--canvas-width);
    background-color: #4335a7;
}

input[type=range] {
    width: 80px;
    height: 14px;
    display: inline;
    margin: 4px 0px 0px 4px;
}

input[type=range]+label {
    width: 64px;
}

.panel-button {
    border: none;
    padding: 8px 15px;
    margin-top: 4px;
    margin-left: 2px;
    margin-bottom: 10px;
    transition-duration: 0.15s;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px rgba(69, 157, 216, 0.664)
}

.panel-button:active {
    box-shadow: 0 0px;
    transform: translateY(2px);
}

.panel-button_1 {
    background-color: #80c4e9 !important; 
    color: #4335a7; 
}

.panel-button_1:hover {
    background-color: #9adcff !important;
    color: rgb(255, 255, 255);
}

#modeButton {
    background-image: image('./assets/icons/play-fill.svg');
    margin-left: 10px;
}

#createModeButton, #traceModeButton {
    color: blue;   
    border: blue solid 2px;
    font-weight: 600; 
    margin-left:    8px;
    height: 36px;
    display: none; 
}

#createModeButton {
    width: 60px;
    display: none;
}

#traceModeButton {
    width: 40px;
    display: none;
}

#sceneSelect {
    margin-top: 12px;
    margin-left: 8px;
    display: inline-block; 
    border: none;
    border-radius: 4px;
    transition-duration: 0.15s;
    background-color: #fff6e9;
    color: #4335a7;
    
    font-size: 17px;
    box-shadow: 0 2px #fff6e956;
}

#sceneSelect:hover {
    background-color: #ffac67;
    color: rgb(255, 255, 255);
}

#mousePosSpan, #infoSpan  {

    float: right;
    margin-top: 14px;
    margin-right: 13px;
    font-size: 17px;
    color: #80c4e9;
}

#mousePosSpan  {
    color: blue;
    display: none;
}

/* ----------------- Canvas Containeer -------------------------- */


.canvas-cont {
    
    position: relative;
    width: var(--canvas-width);
    height: var(--canvas-height);

    background-color: #fff6e9;

}

.canvas-item {
    position: absolute;
    top: 0;
    right: 0;
    color: #4335a7;
}

/* -----------------  Board Styles -------------------------- */


#ballBoard, #lineBoard, #problemBoard {
    border: none;
    
    border-radius: 1px 1px 4px 4px;
    border-color: rgb(117 190 218 / 70%);
    font-family: monospace;
    font-weight: 800;
    color: #ff7f3e;
    padding: 5px;
    background-color: #9adcff00 !important;
    background-image: linear-gradient(180deg, #9adcffc7, #9adcff46 ) !important;
    display: none; 
    z-index: 3;
    left: auto;  
    right: 0;     
}

#ballBoard {
    background-image: linear-gradient(180deg, #bcc3c4f5, #bcc3c428 ) !important;
}

#problemBoard {
    width: 500px;
    left: 0;
    
}

#answerText {   
    color: #4335a7;
    width: 100px; 
    border-radius: 4px;
    background-color: #fff6e92a; 
    border-color: #4235a748;    
}

::placeholder {
    color: #4235a77c;
}

#canvas {
    z-index: 2;
}

#canvas2 {
    z-index: 1;
}

.board-text {
    width: 70px;
    text-align: right;
    margin-bottom: 3px;
    
    border-radius: 4px;
    background-color: rgb(117 190 218 / 0%); 
    border-color: #4235a748;
}

.board-button {
    width: 70px;
    border: none;
    background-color: #ff7f3e;
    border-radius: 4px;
    color: #4335a7;
}

.board-label {
    width: 55px;
    display:inline-block;
    text-align: right;
    margin-right: 4px;
    color: #4335a7;
}

#graviRange, #waistRange, #waistLinkRange, #waistFrictRange, #rigidRange {
    display: none; 
}

#graviValue, #waistValue, #waistLinkValue, #waistFrictValue, #rigidValue {
    display: none; 
}

/* <!------------------ bottom panel ----------------> */


.bottom-panel {
   margin-top: 4px;
   width: var(--canvas-width);
} 

#savedSceneText {
    border: none;
    width: 720px;
    height: 30px;
    background-color: #4335a7;
    color: rgb(255, 255, 255);
}

scene-textarea {
    width: 720px;
    height: 100px;
    margin-top: 4px;
    
}

.scene-btn {
    vertical-align: top;
    border: none;
    padding: 6px 9px;
    background-color: #80c4e9; 
    color: #4335a7;
}

.scene-btn:hover {
    background-color: #9adcff !important;
    color: rgb(255, 255, 255);
}


/* <!------------------ button tooltip ----------------> */


.tooltip-inner {
    background-color: #9adcffc7;
    color: #4335a7;
    white-space: pre-line;
  }
  
.tooltip-arrow {
    display: none !important;
}
