@font-face {
    font-family: 'yg-jalnan';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

*{
    font-family: 'Pretendard-Regular';
}

.side-submenu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}
.side-submenu:not(.hidden) {
    max-height: none;
}
.mobile-menu-container ul {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
.mobile-menu-container ul:not(.hidden) {
    max-height: none;
}
@supports (backdrop-filter: blur(4px)) {
    #mobileNav {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
    }
    #mobile-menu-overlay {
        backdrop-filter: blur(2px);
    }
}
#mobileNav::-webkit-scrollbar {
    width: 4px;
}
#mobileNav::-webkit-scrollbar-track {
    background: transparent;
}
#mobileNav::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 2px;
}

.section-top{
    background-image: linear-gradient(to top,  #eff5ff,#fff) !important;
}

.main-text-box > h1 {
    font-family: 'yg-jalnan';
}

.bg-gradient-button {
    background: linear-gradient(130deg, #00A8F0, #4063E0);
    border-color: transparent;
}

.board-ul > li.active{
    margin-left: 1vw;
}
.board-ul > li.active::before {
    position: absolute;
    top: -0.1vh;
    left: -0.8vw;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 100%;
    background-color: #3273E4;
    content: '';
}

.side-submenu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}
.side-submenu:not(.hidden) {
    max-height: none;
}
.mobile-menu-container ul {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
.mobile-menu-container ul:not(.hidden) {
    max-height: none;
}
@supports (backdrop-filter: blur(4px)) {
    #mobileNav {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
    }
    #mobile-menu-overlay {
        backdrop-filter: blur(2px);
    }
}
#mobileNav::-webkit-scrollbar {
    width: 4px;
}
#mobileNav::-webkit-scrollbar-track {
    background: transparent;
}
#mobileNav::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 2px;
}
nav > ul {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* 페이지 전환 시 깜빡임 방지 */
.no-flicker {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

 .sidebar-container {
     transition: all 0.3s ease-in-out;
 }

.sidebar-collapsed{
    transform: translateX(-100%);
    width: 0 !important;
    margin-right: 0 !important;
    opacity: 0; /* 추가 */
    visibility: hidden; /* 추가 */
}


.toggle-icon {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

.no-drag {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ */
    -webkit-user-drag: none;   /* Chrome, Safari */
}

