@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");

html,body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size:62.5%;
}

body {
    font-family: 'Pretendard Variable';
}

button, hr,li,ul,i, select,a, p{
    padding: 0;
    margin: 0;
    list-style: none;
    border-style: none;
    outline-style: none;
    background-color: transparent;
    text-decoration: none;
}

a {
    color: black;
}

select{
    appearance: none;
    -webkit-appearance: none; /* 사파리, 크롬 하위버전용 */
    -moz-appearance: none; /* 사파리, 크롬 하위버전용 */
}

/* .noto-sans-kr-regular {
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.noto-sans-kr-medium {
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
} */

/* 프리텐다드 */
.pretendard-regular {
    font-family: 'Pretendard Variable';
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.pretendard-semi-bold {
    font-family: 'Pretendard Variable';
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


.pretendard-bold {
    font-family: 'Pretendard Variable';
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.box-shadow{
    box-shadow: -1px 3px 17px -6px rgba(89,89,89,0.59);
    -webkit-box-shadow: -1px 3px 17px -6px rgba(89,89,89,0.59);
    -moz-box-shadow: -1px 3px 17px -6px rgba(89,89,89,0.59);}

/* header */
#header{
    display: flex;
    width: 100vw;
    /* min-width: 900px; */
    /* min-height: 5.56vh; */
    height: 70px;
    background-color: #fff;
    position: fixed;
    /* position: sticky; */

    top: 0; /* 브라우저 맨 위에 위치 */
    left: 0; /* 왼쪽으로 정렬 */
    /*width: 100%;  헤더가 화면 너비를 채움 */
    border-bottom: 1px solid #BBBBC4;
    user-select: none;
    z-index: 100;

    justify-content: start; /* 기본적으로 왼쪽 정렬 */
}

.header-logo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: orange;
    font-size: 1.8rem;
    margin: 11px 34px;
    width: 152px;
    margin-right: auto;
    /* width: 7.5vw; */
}

/* .header-logo img{
    width: 1.8rem;
    height: 1.8rem;
}
.header-logo span{
    color: #E8E8EF;
    text-align:center;
} */

.header-menu {
    position: absolute; /* 헤더 기준으로 절대 위치 */
    left: 50%; /* 헤더의 중간으로 이동 */
    transform: translateX(-50%); /* 정확히 중앙으로 정렬 */
    display: flex;
    gap: 3vw;
    /* width: 66.9vw; */
}

.header-menu li {
    /* display: inline-block; */
    font-size: 2rem;
    /* min-width: 150px; */
    /* margin-right: 30px; */
}

.header-menu li:last-child {
    margin-right: 0;
}

.header-menu li a {
    line-height: 70px;
    display: flex;

    /* display: inline-block; */
    /* min-width: auto; */
    padding: 0 20px;
    text-align: center;
    /* padding: 18px 30px; */
    /* margin: 0 20px; */
    color: #88888E;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;

    position: relative; /* 밑줄 위치를 위해 필요 */
}    

.header-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; /* 밑줄을 중앙 정렬 */
    width: 0;
    height: 3px;
    background-color: #000; /* 밑줄 색상 */
    transition: all 0.3s ease; /* 애니메이션 효과 */
    transform: translateX(-50%);
    color: #000;
}

.header-menu li a.on, .header-menu li a:hover {
    font-weight: 700;
    color: #000;
}

.header-menu li a.on::after {
    width: 100px; 
}

/* .header-menu li a.on::after, .header-menu li a:hover {
    color: #000;
    border-color: #000;
    font-weight: bold;
} */

@media (max-width: 800px) {
    #header {
        height: 140px;
    }
    .header-menu {
        gap: 20vw;
        top: 70px; 
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .header-logo-div {
        width: 100%;
        margin: 0 auto;
    }
    .header-logo {
        margin: 15px auto;
        width: 130px;
    }
    .header-menu li {
        /* font-size: 2.5vw; */

        /* width: 100%;
        min-width: 100px; */
        /* border: 1px solid red; */
    }
    .header-menu li a {
        padding: 0 0vw;
    }
    .header-menu li a.on::after {
        /* width: 70px;  */
    }
  }

#main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    min-width: 1000px;
    
    /* width: 1160px;
    margin: 0 auto; */

}

#section-canvas {
    /* width: 100%; */
    /* position: relative; */

    /* width: 66.9vw; */
    height: 85.5vh;
    margin-top: 6vh;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}


.main-background{
    position: absolute;
    width: 100%;
    min-width: 1280px;
    height: 88vh;
    /* height: 800px; */
   /* height: 91.95vh;   78.89vh*/
    z-index: -1;
}

/* #unity-container {
    min-width: 1000px;
} */

#canvas {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    border: none; /* 필요 시 프레임 보더 제거 */
}

.content_footer{
    display: flex;
    width: 100%;
    height: 4.99%;
    flex-direction: row;
    justify-content: end;
    align-items:center;
}

.content_name{
    font-size: 1.4rem;
    text-align: center;
    padding: 0 10px;
    color: #E8E8EF;
}

#btn-full_screen{
    width: 3%;
    height: 100%;
    font-size: 1.6rem;
    color: #E8E8EF;
}

#section-introduction{
    width: 100%;
    height: 32.41vh;
    margin-top: 4.08vh;
    margin-bottom: 7.78vh;
    min-width: 1000px;
    max-width: 1280px;

    display: flex;
    justify-content: center;
    flex-direction: column;

}

.header-introduction{
    width: 100%;
    height: 11.43%;

    margin-bottom: 2.344%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.title-introduction{
    min-width: 10%;
    font-size: 2rem;
    text-align: start;
}

.line-title{
    width:90%;
    height: 100%;
    margin-bottom: 4px;
    border-style: solid;
    border-width: 0 0 2px 0;
    border-color: #E8E8EF;
}

#group-introduction{
    width: 100%;
    height: 80%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.content-introduction {
    width: 26.562%;
    height: 82.86%;
    padding: 1.875% 2.657%;
    border-radius: 10px;
    color: #E8E8EF;
    position: relative;
    background-size: cover;
    background-position: center;
}

.content-introduction:first-child {
    background-image: url('/img/main/Img_MainDress_01.png');
}
.content-introduction:nth-child(2) {
    background-image: url('/img/main/Img_FoodPoison_01.png');
}
.content-introduction:last-child {
    background-image: url('/img/main/Img_MainBellQuiz_01.png');
}

/* .content-introduction:hover,
#btn-full_screen:hover{
    cursor: pointer;
} */

.div-show-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden; /* 기본 상태: 숨김 */
    border-radius: 10px;
}

.content-introduction:hover .div-show-content {
    background-color: rgba(0, 0, 0, 0.65);
    transition: 0.35s;
    visibility: visible;
}

.show-content {
    padding: 6% 8%;
}

.title-content{
    font-size: 2.2rem;
}

.line-detail{
    width:100%;
    margin: 2% 0;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #c0c4bb;
}

.detail-introduction{
    font-size: 1.3rem;
}

/* footer */

#footer{
    width: 100%;
    min-width: 1000px;

    /* height: 23.15vh; */
    height: 250px;
    bottom: 0;
 
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #2C2C2E;
    position: relative;
}

.wrap-footer{
    width: 100%;
    max-width: 1280px;
    /* width: calc(100% - 33.33%); */
    min-width: 1000px;
    /* height:37.60%; */
    /* padding: 2.6045% 16.667% 0 16.667%; */
    margin: 50px 0; 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-footer{
    display: flex;
    flex-direction: row;
}

.nav-footer a{
    color: #a5a5ac;
    padding: 0 12px;
    font-size: 1.4rem;
}

.none {
    display:none !important;
}

#select-link{
    /* width: 12vw; */
    width: 200px;
    /* height: 4.5vh; */
    height: 45px;
    /* line-height: 4.5vh; */
    line-height: 45px;
    /* padding: 0.94% 10%; */
    padding: 0 20px;
    background-color: #42424A;
    color: #E8E8EF;
    cursor: pointer;
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center; 
}

#select-link p {
    font-size: 1.5rem;
}

#select-link .select-link-arrow {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('/img/Icon_Arrow.svg');
}

#select-link .select-link-arrow.on {
    transform: rotate(180deg);
}

.select-link-list {
    background-color: #42424A;
    position: absolute;
    bottom: 201px;
    /* bottom: 100%; */
    /* transform: translateY(5.5vh); 위로 여백 추가 */
    width: 240px;
    display: inline-block;
}

.select-link-list li {
    width: 13.02vw;
}

.select-link-list li a {
    display: inline-block;
    width: 220px;
    height: 4.5vh;
    padding-left: 20px;
    /* padding: 0.94% 10%; */
    line-height: 4.5vh;
    font-size: 1.5rem;
    background-color: #42424A;
    color: #fff;
}

.select-link-list li a:hover {
    background-color: #88888E;
}

.group-phrase{
    color:#88888E;
    /* text-align: start; */
    /* padding:0 16.667%; */

    width: 100%;
    max-width: 1280px;
    min-width: 1000px;

    user-select: none;
    display: flex;
    /* justify-content: flex-start; */
    flex-direction: column;
    gap: 10px;
}