@charset "utf-8";

body {
    font-family: 'Inter', 'Noto Sans KR', 'Noto Sans JP', sans-serif !important;
}

.notosans{
    font-family: 'Inter', 'Noto Sans KR', 'Noto Sans JP', sans-serif !important;
}

.navbar-toggler:active, .navbar-toggler:focus{border: none !important; box-shadow: none !important; outline: none !important;}
.btn-close:active, .btn-close:focus{border: none !important; box-shadow: none !important; outline: none !important;}
.background {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15)), url('/gnuboard/img/daonunse_background.jpg');
    background-size: cover;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: -5;
}


@media (max-width: 768px) {
    .background {
        display: none;
    }
}

.font-light-gray {
    color: #d5cecb;
}

.fixed-container {
    position: fixed;
    top: 65%; /* 메인 텍스트 위치 변경 -- 2025/04/18, kkoo2324 */
    left: 0;
    width: 58.3333%; /* col-lg-7 크기 */
    transform: translateY(-65%); /* 메인 텍스트 위치 변경 -- 2025/04/18, kkoo2324 */
    z-index: 1;
}

.fixed-container > .text-start { /* 메인 텍스트 위치 변경 -- 2025/04/18, kkoo2324 */
    margin-left:42%;
}

@media (max-width: 1280px) { /* 메인 텍스트 위치 변경 미디어쿼리 -- 2025/04/18, kkoo2324 */
    .fixed-container {
        top: 60%;
        transform: translateY(-60%);
    }
    .fixed-container > .text-start {
        margin-left:0%;
    }
}

/* 반응형 화면에서 고정 해제 */
@media (max-width: 991.98px) {
    /* Bootstrap의 lg 기준 */
    .fixed-container {
        position: static; /* 고정 해제 */
        transform: none; /* 가운데 정렬 해제 */
        width: auto; /* 기본 레이아웃 유지 */
    }
}

/* main_wrap, content css 수정 -- 2025/04/22, kkoo2324 */
.main_wrap{
    height: 100vh; min-height: 100vh; overflow-y: hidden; display: flex; flex-direction: column;
}
#content{
    position: relative;
    width:100%;
    /* height: calc(var(--vh, 1vh) * 100); */
    overflow-y: scroll;
    overflow-x: hidden;
}

/* 스크롤 바 커스텀 디자인 css -- 2025/04/22, kkoo2324 */
/* 기본 스타일: Firefox 대응 */
#content {
    overflow-y: auto;
    scrollbar-width: thin;                 /* Firefox */
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
/* Webkit (Chrome, Edge, Safari) 스타일 */
#content::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}
/* 스크롤 트랙 */
#content::-webkit-scrollbar-track {
    background: transparent;
}
/* 스크롤 핸들 (움직이는 바) */
#content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}
/* hover 시 살짝 진하게 */
#content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
/* 스크롤 화살표 제거 (Webkit) */
#content::-webkit-scrollbar-button {
    display: none;
}
/* 모바일에서 스크롤바 숨기기 */
@media (max-width: 768px) {
    #content {
        scrollbar-width: none;          /* Firefox */
        -ms-overflow-style: none;       /* IE/Edge */
    }
    #content::-webkit-scrollbar {
        display: none;                  /* Chrome/Safari/Edge */
    }
}

.cursor-pointer {
    cursor: pointer;
}


/* 
2025/04/22 kwak
반응형 고려하지 않고 우선 타로 카드 나오게 하는 형태로 구현 */
.tarot-card {
    width: 80px;
    height: 120px;
    margin: -30px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.tarot-card:hover {
    transform: scale(1.1);
}
.selected-card {
    width: 87px;
    height: 131px;
    margin: 0.125rem; /* 선택 카드와 카드 리스트 사이 간격 수정 -- 2025/04/28, kkoo2324 */
}

/* 소셜로그인 시 최근 로그인 표시 -- 2025/05/09, kkoo2324 */
.recent-login-bubble {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background-color: #FF4E00;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.recent-login-bubble::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #FF4E00 transparent;
}

/* 소셜로그인 및 회원가입 안내문구 추가 -- 2025/05/21, kkoo2324 */
.notice-box {
    margin: 1.5rem auto;
    padding: 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    color: #000;
}
.notice-box p {
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.notice-box p:last-child {
    margin-bottom: 0;
}
@media (max-width:1740px) {
    .pc_br{display: none !important;}
}
@media (max-width:768px) {
    .pc_br{display: block !important;}
}
@media (max-width:560px) {
    .pc_br{display: none !important;}
}


/* 반응형 추가 -- 2025/04/28, kkoo2324 */
@media (max-width: 1800px) {
    .selected-card {width: 82px; height: 123px;}
}
@media (max-width: 1700px) {
    .selected-card {width: 76px; height: 114px;}
}
@media (max-width: 1600px) {
    .selected-card {width: 70px; height: 105px;}
}
@media (max-width: 1560px) {
    .selected-card {width: 90px; height: 135px;}
}
@media (max-width: 1100px) {
    .selected-card {width: 80px; height: 120px;}
}
@media (max-width: 960px) {
    .selected-card {width: 90px; height: 135px;}
}
@media (max-width: 800px) {
    .selected-card {width: 80px; height: 120px;}
}
@media (max-width: 768px) {
    .tarot-card {
        width: 60px;
        height: 90px;
        margin: -18px;
    }
    .selected-card {
        width: 80px;
        height: 120px;
        margin: 0.25rem;
    }
    .mb_info_box{
        margin-right:0 !important;
    }
    .mb_info_point{
        font-size: 0.75rem;
    }
    .mb_info_name{
        font-size: 0.875rem;
    }
    .mb_info_icon{
        width:1.75rem !important; height:1.75rem !important;
    }

    /* 소셜로그인 시 최근 로그인 표시 -- 2025/05/09, kkoo2324 */
    .recent-login-bubble {
        font-size: 10px;
        padding: 3px 8px;
        margin-top: 7px;
    }
    .recent-login-bubble::after {
        top: -10px;
        border-width: 5px;
    }
}
@media (max-width: 480px) {
    .tarot-card {
        margin: -20px;
    }
    .mb_info_box{
        flex-direction: column;
        justify-content: flex-end;
    }
    .mb_info_point{
        margin: 0 0 0.25rem !important;
    }
    .mb_info_name{
        margin-right: 0.25rem !important;
    }
    .mb_info_icon{
        width:1.5rem !important; height:1.5rem !important;
    }
}
@media (max-width: 434px) {
    .tarot-card {
        margin: -21px;
    }
}
@media (max-width: 360px) {
    .tarot-card {
        margin: -22px;
    }
}