﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
    margin: 0;
    overflow: auto;
    font-family: "Noto Serif", serif;
    /*background-color: #A0A0A0;*/
}

.jsBox {
    width: 100%;
    height: 900px;
    border: none;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .jsBox {
        width: 100%;
        height: 500px;/*간격을 많이 두고 중간에 그려지고 거기에 스크롤이 맞춰져 goJS 문구가 안보이게*/
        border: none;
        overflow: hidden;
    }
}

@media screen and (orientation: portrait) {
    body.landscape-warning::before {
        content: "화면을 가로 모드(Landscape)로 전환해야 잘 보실 수 있습니다";
        display: block;
        font-size: 24px;
        font-weight: bold;
        color: white;
        background: rgb(115,187,210);
        text-align: center;
        padding: 20px;
    }
}
.nav-link.active {
    background-color:whitesmoke;
}
.navbar-nav .active .nav-link {
    background-color:whitesmoke;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    border-color: rgb(115,187,210);
    box-shadow: none;
}

.btn-outline-secondary.custom-hover:hover {
    background-color: rgba(108,117,125,0.3);
}



#tree {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 8px solid #dedede; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/*스핀 버튼이 안보이게
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}*/

.rightMenu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0px;
    width: 48px;
    z-index: 999;
}
.leftMenu {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0px;
    width: 48px;
    z-index: 999;
}

canvas:focus {
    outline: none;
}
