/*폰트 임포트, 색상 설정*/
body{
    font-family: 'Noto Sans KR', sans-serif;
   
}

@font-face {
    font-family: 'Ownglyph_ParkDaHyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HakgyoansimDunggeunmisoTTF-B';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimDunggeunmisoTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

.nanum-text {
    font-family: 'NanumSquare', sans-serif;
    color: #463A00;
}

p, .parkdahyun-font {
            font-family: 'Ownglyph_ParkDaHyun', serif;
            color: #463A00;
            font-size: larger;
            word-break: keep-all;
        }

h1, h2, h3, h4, .title_font {
    font-family: 'HakgyoansimDunggeunmisoTTF-B', serif;
    color: #463A00;
    word-break: keep-all;
        }



/*배경 색 설정*/
.main_bg {
    background-color: #fcfce9;
}

.sub_bg {
    background-color: #edf5f8;
}



/* 내비게이션 영역 */
.nav-link {
    color: #463A00;
}

.navbar-nav .nav-link:hover {
    color: #A697CE !important;
}

.navbar-brand img {
    height: 1.2em;
    margin: 10px;
}



/* 홈 화면 */
header{
    background-image: url(../images/main-bg.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.vh-80 {
    height: 80vh;
}

#home h1 {
    margin-top: -50px;
}



/* 레이블 영역 */
.card-hover {
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.85;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.card-hover:hover::before {
    opacity: 0.6;
}

.card-hover .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.card-hover > * {
    position: relative;
    z-index: 2;
}

.card-hover a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
    padding: 0rem;
}

.card-hover a .d-flex,
.card-hover a p {
    position: relative;
    z-index: 3;
}



/* 갤러리 영역 */
.custom-carousel-icon .carousel-control-prev-icon,
.custom-carousel-icon .carousel-control-next-icon {
    filter: brightness(0.27) sepia(1) saturate(7.5) hue-rotate(30deg);
}

.carousel-indicators button {
    background-color: #A697CE !important;
}

.carousel-indicators .active {
    background-color: #463A00 !important;
}



/* sns영역 */
.Instagram {
    border-color: rgb(129, 071, 212) !important;
    background-color: rgb(129, 071, 212);
}

.YouTube {
    border-color: rgb(179, 055, 053) !important;
    background-color: rgb(179, 055, 053);
}

.Twitter {
    border-color: rgb(103, 161, 213) !important;
    background-color: rgb(103, 161, 213);
}



/* 전곡 소트 */
#mainTable {
    font-size: larger;
    text-align: center;
    vertical-align: middle;
    width: 410px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 10px 5px;
}

#leftField {
    width: 120px;
    height: 150px;
    border: 1px solid #463A00;
}

#rightField {
    width: 120px;
    height: 150px;
    border: 1px solid #463A00;
}

A {
    text-decoration : none;
    color: #A697CE;
}

a:hover {
    color:#A697CE;
}

.nanum-text table,
.nanum-text #mainTable,
.nanum-text #mainTable td {
    font-family: 'NanumSquare', sans-serif;
    color: #463A00;
}

.result-table {
    width: 200px;
    line-height: 120%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border: 1px solid #463A00;
    font-family: 'NanumSquare', sans-serif;
    font-size: 1.1em;
    color: #463A00;
    margin-top: 50px;
}

.result-table th,
.result-table td {
    font-family: 'NanumSquare', sans-serif;
    border: 1px solid #463A00;
    padding: 5px;
    text-align: center;
}

.result-table th {
    font-family: 'NanumSquare', sans-serif;
    color: #edf5f8;
    background-color: #463A00;
    text-align: center;
    font-weight: normal;
}

.result-table td:first-child {
    text-align: center;
}



/* 전곡 소트 플로팅 버튼 */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #A697CE;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.floating-button:hover {
    background-color: #8C7BBF;
    color: white;
}

.floating-button.parkdahyun-font {
    font-family: 'Ownglyph_ParkDaHyun', serif;
    color: white;
}