@import url(./font.css);

* {
    position: absolute;
    margin: 0;
    padding: 0;
    font-family: "GmarketSansMedium";
    letter-spacing: -2px;
    word-break: keep-all;
}
html,
body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* background: #000; */
    background: url(../img/dim.png);
    background-size: 100% 100%;
    background-position: center;
}

.mobile_warning_message {
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: hsla(0, 0%, 0%, 0.9);
    color: #fff;
    font-size: 37px;
    line-height: 160%;
    font-family: "GmarketSansBold";
    display: none;
}
.mobile_warning_message > .warning_message {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
#contents {
    background: url(../img/bg2.png);
    position: absolute;
    width: 720px;
    height: 1031px;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    top: 50%;
    left: 50%;
}
@media (max-width: 450px) {
    #contents {
        /* transform: scale(0.55) translate(-50%, -50%); */
    }
}
@media (max-width: 390px) {
    #contents {
        /* transform: scale(0.50) translate(-50%, -50%); */
    }
}
#contents[data-state="bg_2"] {
    background: url(../img/bg2.png);
}
.disable_click {
    pointer-events: none;
}
.page {
    width: 100%;
    height: 100%;
    display: none;
}
.page_1 {
    display: block;
}
.title {
    font-size: 64px;
    top: 130px;
    width: 100%;
    text-align: center;
    font-family: "GmarketSansBold";
}

.sub_title {
    font-size: 34px;
    top: 220px;
    width: 100%;
    text-align: center;
}

.icon_wrap {
    top: 330px;
    width: 690px;
    height: 510px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    overflow-y: auto;
    padding-bottom: 30px;
}

.item {
    position: relative;
    width: 300px;
    height: 250px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    top: 0;
    left: 0;
    float: none;
    margin: 0;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.item img {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
    object-fit: contain;
}
.item[data-set="5"] img {
    width: 210px;
}

.item p {
    position: relative;
    font-size: 40px;
    text-align: center;
    color: #333;
    margin: 0;
    padding: 0;
    font-family: "GmarketSansBold";
}
.item[data-set="5"] p {
    font-size: 33px;
}

.msit_ci {
    background: url(../img/msit_ci.png);
    width: 346px;
    height: 69px;
    top: 942px;
    left: 5px;
    transform: scale(0.9);
}
.nia_ci {
    background: url(../img/nia_ci.png);
    width: 346px;
    height: 30px;
    top: 961px;
    left: 360px;
    transform: scale(0.9);
}

::-webkit-scrollbar {
    width: 12px; /* 세로 스크롤바 너비 */
    height: 12px; /* 가로 스크롤바 높이 */
}

/* 스크롤바의 트랙 (스크롤바 아래의 영역) */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* 트랙의 배경색 */
    border-radius: 6px; /* 트랙의 모서리를 둥글게 */
}

/* 스크롤바의 핸들 (스크롤바의 이동 가능한 부분) */
::-webkit-scrollbar-thumb {
    background-color: #00a0e9; /* 핸들의 색상 */
    border-radius: 6px; /* 핸들의 모서리를 둥글게 */
    border: 3px solid #f0f0f0; /* 핸들 안쪽의 트랙과 같은 색으로 간격을 줍니다 */
}

/* 스크롤바의 핸들 위로 커서를 올렸을 때 */
::-webkit-scrollbar-thumb:hover {
    background-color: #0072a7; /* 핸들의 색상이 조금 어두워집니다 */
}

/* 스크롤바의 모서리 부분 */
::-webkit-scrollbar-corner {
    background-color: #f0f0f0; /* 코너의 색상 */
}

.page_2 {
    display: none;
}
.selection_wrap {
    top: 330px;
    width: 650px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
.selection_item {
    position: relative;
    width: 300px;
    height: 540px; /* Changed height */
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    top: 0;
    left: 0;
    float: none;
    margin: 0;
    border: 2px solid #000;
}
.selection_item:nth-child(1) {
    border: 2px solid #06a3ea;
}
.selection_item:nth-child(2) {
    border: 2px solid #165296;
}
.selection_item:nth-child(1) > .title {
    color: #06a3ea;
}
.selection_item:nth-child(2) > .title {
    color: #165296;
}
.division {
    position: relative;
    width: 70%;
    height: 0;
    border: 1px solid #a5a5a5;
    margin-bottom: 20px;
}
.selection_item:nth-child(1) > .division {
    border: 1px solid #06a3ea;
}
.selection_item:nth-child(2) > .division {
    border: 1px solid #165296;
}
.selection_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.selection_item .title {
    position: relative;
    top: 0;
    font-size: 50px;
    margin-bottom: 15px;
    font-family: "GmarketSansBold";
}
.selection_item img {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    object-fit: contain;
}
.selection_item .desc {
    position: relative;
    font-size: 27px;
    color: #000;
    line-height: 1.4;
    text-align: center;
    width: 90%;
}
.back_btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 50px;
    background-color: #355375;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-family: "GmarketSansBold";
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}
.back_btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}
.back_btn p {
    position: relative;
    color: white;
    font-size: 24px;
    font-family: "GmarketSansBold";
    letter-spacing: -1px;
}
