@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url('https://cdn.jsdelivr.net/npm/galmuri@latest/dist/galmuri.css');
@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cafe24Ssurround';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.combined-class {
    font-weight: bold;
    font-family: "Cafe24Ssurround", sans-serif;
    font-size: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .combined-class {
        font-size: 1.8rem;
    }



}


/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

body {
    font-family: "GmarketSansMedium" !important;
}

#nprogress .bar {
    height: 3px !important;
}

.top-menu {
    background-color: white;
    padding: 27px 0;

}

.top-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-left:150px !important;
}

.top-menu ul li {
    display: inline;
    margin-right: 20px;
}

@font-face {
    font-family: 'KyoboHand';
    src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Kyobo/KyoboHand.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.top-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size:22px;
    font-family: 'KyoboHand';
}

.logo img {
    margin-top:3px;
    max-width: 150px;
}

.active {
    text-decoration: underline !important;
    text-decoration-color: #B9CB41 !important;
    text-underline-offset: 10px !important;
    /*text-decoration-thickness: 3px !important;*/
}

.fontimg {

    position: relative;
    height:60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:20px;
}

.fontimg img {
    max-height: 100%;
    max-width: 100%;
}

.star {
    fill: #e5e7eb;
    cursor: pointer;
    transition: fill 0.3s ease;
}

.star.active {
    fill: yellow;
    stroke: black;
    stroke-width: 0.2;
}

.stroke-current{
    stroke: black;
    stroke-width: 0.2;
}

.top-menu {
    display: block;
}

@media (max-width: 1024px) {
    .top-menu {
        display: none;
    }
}

logoimg {
    display: none !important;  /
}

@media screen and (max-width: 1024px) {
    .visible-pc-only {
        display: none;
    }

    .glyphDisplayBox{
        width:50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        height: 50px !important;
    }

    .glyphDisplay{
        font-size: 30pt !important;
    }
}
@media screen and (min-width: 1025px) {
    .visible-mobile-only {
        display: none;
    }

    .dropdown-menu {
        left: -150px;
    }

    .logo{
        padding-top:2px;
    }
}

@media screen and (min-width: 1425px) {
    .logo{
        margin-left:3%;
    }
}


/* Dropdown container */
.custom-dropdown {
    position: relative;
    display: block;
}

/* Dropdown menu (default hidden) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 1;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
    width: 200px; /* or whatever width you want */
}

/* Dropdown menu items */
.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.dropdown-mobile{
    margin-left:-150px;
}

.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 90%;
    padding: 1rem;
    z-index: 1050;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 500px;
    max-width: 100%;  /* Adjust this value for modal width */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.btn-close {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.btn {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    background-repeat: no-repeat;
}

.btn-secondary {
    color: #6c757d;
    background-color: #e0e0e0;
    border-color: #dcdcdc;
}

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 검은색 배경, 0.5의 투명도 */
    z-index: 1040; /* modal-dialog보다 낮은 z-index */
    display: none; /* 기본적으로 숨김 */
}

.ttsTop {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .ttsTop {
        flex-direction: row;
    }
}

@media (min-width: 640px) {
    .ttsTop {
        gap: 0 2rem;
        margin-bottom: 2rem;
    }
}

.ttsDiv {
    margin-top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}


@media (min-width: 640px) {
    .ttsDiv {
        gap: 1.5rem;
    }
}

.ttsH2 {
    font-size: 2.25rem;
    line-height: normal;
}

@media (min-width: 640px) {
    .ttsH2 {
        font-size: 3rem;
        line-height: normal;
    }
}

.ttsInfo {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6B7280;
    gap: 0.75rem;
}


@media (min-width: 768px) {
    .ttsH2 {
        font-size: 4rem;
        line-height: normal;
    }
}

.ttsRight {
    flex-shrink: 0;
    text-align: right;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .ttsRight {
        margin-top: 0;
    }
}

.ttsRight2 {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.inline-block{
    display: inline-block;
}

.fontbee-yellow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.125rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(250 204 21 / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: rgb(255 217 81 / var(--tw-bg-opacity));
    padding: 0.7rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-duration: .15s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.fontbee-white-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.125rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding: 0.5rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(13 17 23 / var(--tw-text-opacity));
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-duration: .15s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    border:2px solid #ebebee;
}

.detailstar {
    vertical-align: middle;
}

.fontbee-white-button > span {
    display: flex;
    align-items: center;
}

.nobelContent {
    height: 400px;
    overflow: auto;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow-wrap: break-word;
}

.fontSizeLabel {
    width: auto;
    text-align: left;
    font-size: 0.75rem;
    color: #718096;
}

@media (prefers-color-scheme: dark) {
    .fontSizeLabel {
        color: #A0AEC0;
    }
}

@media screen and (min-width: 768px) {
    .fontSizeLabel {
        font-size: 0.875rem;
    }
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


.code-block {
    background-color: #f5f5f5;  /* 배경색 */
    padding: 20px 20px;         /* 내부 여백 */
    margin: 10px 0;             /* 외부 여백 */
    overflow-x: auto;           /* 가로 스크롤 (코드가 너무 긴 경우) */
    border-radius: 4px;         /* 모서리 둥글게 */
    font-family: 'Courier New', Courier, monospace; /* 고정폭 글꼴 */
    font-size: 0.9em;           /* 글꼴 크기 */
}

.keyword {
    color: #0076b6;
}

.function-name {
    color: #d61a7f;
}


.artical-content {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .artical-content {
        width: 50%;
    }
}

#userPhoto img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.footer {
    background-color: #212529; /* 푸터 배경 색상 */
    padding: 60px;
    color: #666; /* 텍스트 색상 */
    border-top: 1px solid #ddd; /* 상단 경계선 */
    height: 120px;

}

.footer h3, .footer h5 {
    color: #fff !important;
}

.footer a {
    color: #fff; /* 링크 색상 */
    font-weight: 300 !important;
}

.footer a:hover {
    color: #ff0000; /* 링크 호버 색상 */
    text-decoration: none;
}

.footer li{
    height: 30px;
}



.footer ul.list-unstyled {
    padding-left: 0;
}

@media (max-width: 767px) {
    .col-xs-12 {
        width: 100%;
        float: left;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .col-sm-6 {
        width: 50%;
        float: left;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-md-6 {
        width: 50%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-8 {
        width: 66.66667%;  /* 2/3 of the container width */
        float: left;
    }

    .col-md-4 {
        width: 33.33333%;  /* 1/3 of the container width */
        float: left;
    }
}

.container2 {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* 기본 설정: 모든 기기에서 보임 */
.onlypc, .onlymobile {
    display: block;
}

/* 미디어 쿼리: 화면 너비가 768px 이하인 경우 (일반적인 태블릿 및 모바일 크기) */
@media (max-width: 768px) {
    .onlypc {
        display: none; /* PC용은 숨김 */
    }
    .onlymobile {
        display: block; /* 모바일용은 보임 */
    }
}

/* 미디어 쿼리: 화면 너비가 769px 이상인 경우 (일반적인 PC 크기) */
@media (min-width: 769px) {
    .onlypc {
        display: block; /* PC용은 보임 */
    }
    .onlymobile {
        display: none; /* 모바일용은 숨김 */
    }
}

@media (max-width: 768px) {
    .footer {
        height: 200px;
    }
}

.fontbeeinfo{
    font-family: 'Cafe24Ssurround';
    font-size:24px;
    margin-bottom:15px;
    margin-top:10px;
}

.fontbeeinfo2{
    font-family: 'Cafe24Ssurround';
    font-size:24px;
    margin-bottom:3px;
    margin-top:10px;
}

.line30{
    line-height:30px;
}

.mt30{
    margin-top:50px;
}

.fontbeeimg{
    text-align: center;
    margin-top:20px;
}

.fontbeeimg img{
    width:200px;
    max-width:100%;
}


.form-control {
    display: block;
    width: 95%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mt10{
    margin-top:20px;
}

.reportBtn{
    padding: 1rem 1.5rem;font-size:16px;
}

figure.table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
}

figure.table th,
figure.table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

figure.table th {
    background-color: #f8f8f8;
    color: #333;
    font-weight: bold;
}

figure.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

figure.table {
    padding: 15px;
}

blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

blockquote {
    margin: 0 0 1rem;
}

.single-page{
    margin-bottom: 2em;
}

.boardContent p{
    min-height: 20px;
}

#search-results {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    width:93.5%;
    margin-left:3.5%;
    border-radius: 20px;
}

#search-results li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

#search-results li:last-child {
    border-bottom: none;
}

#search-results li:hover {
    background-color: #f7f7f7;
    cursor: pointer;
}

.red-row {
    color: red;
}

.mainHeader{
    font-family: 'Galmuri7' !important;
    animation: title .5s cubic-bezier(0,0,0,1) forwards;
    text-shadow: 0.125em 0 0 #ffd951,
    -0.125em 0 0 #ffd951, 0 0.125em 0 #ffd951, 0 -0.125em 0 #ffd951, 0.125em 0.125em 0 #ffd951, -0.125em -0.125em 0 #ffd951, 0.125em -0.125em 0 #ffd951, -0.125em 0.125em 0 #ffd951, 0 0.125em 0 #ffd951, -0.125em 0.125em 0 #ffd951, 0.125em 0.125em 0 #ffd951;
    font-size:32px !important;
    color:#6171eb !important;
    display: inline-block !important;
    margin-top:13px !important;
    margin-left:30px !important;
}

@media (max-width: 768px) {
    .mainHeader{
        margin-top:1px !important;
        margin-left:5px !important;
    }

    .top-searchbar input[type="text"] {
        width:100%;
        margin-left: 0;
    }

    .userinfo{
        margin-top:0;
    }

    .top-searchbar{
        margin-top:5px;
    }
}

.footerHeader{
    font-family: 'Galmuri7' !important;
    animation: title .5s cubic-bezier(0,0,0,1) forwards;
    text-shadow: 0.125em 0 0 #ffd951,
    -0.125em 0 0 #ffd951, 0 0.125em 0 #ffd951, 0 -0.125em 0 #ffd951, 0.125em 0.125em 0 #ffd951, -0.125em -0.125em 0 #ffd951, 0.125em -0.125em 0 #ffd951, -0.125em 0.125em 0 #ffd951, 0 0.125em 0 #ffd951, -0.125em 0.125em 0 #ffd951, 0.125em 0.125em 0 #ffd951;
    font-size:32px !important;
    color:#6171eb !important;
    display: inline-block !important;
    margin-bottom: 5px;
}

.optionMenu input::placeholder {
    color: #ccc;
    font-size:14px;
}


.exText{
    max-width:250px;float: left;height: 25px;border:1px solid #dcd2d2;margin-top:28px;margin-left:20px;font-size:16px;border-radius: 15px;!important;
}

.exRange{
    float: left;margin-left:20px;width:100%;max-width:250px;margin-top:40px;
}

.exLabel{
    float: left;margin-top:37px;margin-left:5px;font-size:14px;
}

.exOption{
    width: 200px;float: left;margin-top:28px;margin-left:10px;max-width:45%;font-size:14px;
}

.post-basic-info{
    overflow-x: auto !important;
}

.post-basic-info textarea:focus {
    outline: none;
    border: none;
}
.post-basic-info textarea::placeholder{
    color: black;
}

.post-basic-info textarea{
    color: black;
}
@media (max-width: 1440px) {
    .menuHeader{
        margin-left: 0;
    }
    .exText , .exRange , .exLabel , .exOption{
        margin-top : 6px;
        margin-left:0;
    }

    .exText {
        min-width:95% !important;
    }

    .exRange{
        min-width:85% !important;
    }


}