body {
    margin: 0;
    
    overflow: auto !important; /* 스크롤 가능하게 설정 */
    width: 100vw;
    min-height: 100vh; /* 최소 높이를 화면 높이로 설정 */
    height: auto;
    background-image: url("https://user-images.githubusercontent.com/26748614/96337246-f14d4580-1085-11eb-8793-a86d929e034d.jpg");
    background-size: cover;
    backdrop-filter: brightness(50%);
}

canvas {
    display: block;
}

#canvas_container {
    width: 100%;
    height: 100vh;
}

.button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid white;
    border-radius: 5px;
    font-size: 0.9rem;
    padding: 0.5rem 0.9em;
    background: #000000;
    color: white;
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    /* 밑줄 제거 */
}

.button:hover {
    background: #ffffff;
    color: #000000;
}

.button2.logo {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    font-size: 20px;
    padding: 1rem 1.5em;
    background: rgba(0, 0, 0, 0.3);
    color: rgb(255, 255, 255);
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}

.button3.logo {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    top: 350px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    font-size: 1.1rem;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.6);
    color: rgb(255, 255, 255);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}


.button logo2 {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans CJK KR', sans-serif;
    pointer-events: all;
    color: rgb(255, 255, 255);
    font-weight: 400;
    font-size: 16px;
    overflow: hidden;
    padding: 0.5em 1em;
    text-decoration: none;
    /* 밑줄 제거 */
}

.button4 p {
    font-family: 'Noto Sans CJK KR', sans-serif;
    font-weight: 800;
    font-size: clamp(12px, 1.2vw, 16px);
    max-width: 1000px;
    color: crimson;
}

.horizontal-line {
    width: 90%;
    /* 전체 너비 */
    height: 1px;
    /* 선 두께 */
    background-color: #a8a8a8;
    /* 선 색상 */
    margin: 0;
    /* 위아래 여백 */
}

.button5-container {
    display: grid;
    position: relative;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* 유동적인 컬럼 */
    gap: 15px;
    /* 칸 간격 */
    max-width: 1000px;
    min-width: auto;
    margin: auto;
    padding: 10px;
}

/* 버튼 스타일 */
.button5 {
    background: rgba(0, 0, 0, 0.0);
    padding: 10px;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    /* 최대 너비 설정 */

}

/* 반응형 폰트 크기 */
.button5-container p {
    font-family: 'Noto Sans CJK KR', sans-serif;
    font-weight: 200;
    font-size: clamp(10px, 1.0vw, 14px);
    max-width: 100%;
}

.button5-container h3 {
    font-family: 'Noto Sans CJK KR', sans-serif;
    font-weight: 500;
    font-size: clamp(12px, 1.2vw, 16px);
    color: aqua;
}

/* ✅ 미디어 쿼리 추가 */


/********************************************************************************/

.label-image1 {
    position: fixed;
    top: 0;
    /* 화면 세로 중앙 */
    left: 0px;
    /* 화면 우측에서 0px 왼쪽 */
    width: 180px;
    /* 이미지 크기 */
    height: auto;
    /* 가로 비율 유지 */
    z-index: 1000;
    /* 다른 요소 위에 표시 */
    opacity: 0.4;
    /* 기본 투명도 */
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left top;
    /* 오른쪽 기준으로 확대 */
}

.label-image2 {
    position: fixed;
    bottom: 0;
    /* 화면 세로 중앙 */
    left: 0px;
    /* 화면 우측에서 0px 왼쪽 */
    width: 180px;
    /* 이미지 크기 */
    height: auto;
    /* 가로 비율 유지 */
    z-index: 1000;
    /* 다른 요소 위에 표시 */
    opacity: 0.4;
    /* 기본 투명도 */
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left bottom;
    /* 오른쪽 기준으로 확대 */
}

.label-image3 {
    position: fixed;
    top: 0;
    /* 화면 세로 중앙 */
    right: 0px;
    /* 화면 우측에서 0px 왼쪽 */
    width: 180px;
    /* 이미지 크기 */
    height: auto;
    /* 가로 비율 유지 */
    z-index: 1000;
    /* 다른 요소 위에 표시 */
    opacity: 0.4;
    /* 기본 투명도 */
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: right top;
    /* 오른쪽 기준으로 확대 */
}

.label-image4 {
    position: fixed;
    bottom: 0;
    /* 화면 세로 중앙 */
    right: 0px;
    /* 화면 우측에서 0px 왼쪽 */
    width: 180px;
    /* 이미지 크기 */
    height: auto;
    /* 가로 비율 유지 */
    z-index: 1000;
    /* 다른 요소 위에 표시 */
    opacity: 0.4;
    /* 기본 투명도 */
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: right bottom;
    /* 오른쪽 기준으로 확대 */
}

/* 마우스를 올리면 밝아지고 확대 */
.label-image1:hover {
    opacity: 1;
    transform: scale(1.8);
    /* 2.1배 확대 */
    background-color: #012551b6;
}

.label-image2:hover {
    opacity: 1;
    transform: scale(1.8);
    /* 2.1배 확대 */
    background-color: #152b04b3;
}

.label-image3:hover {
    opacity: 1;
    transform: scale(1.8);
    /* 2.1배 확대 */
    background-color: #17063ab9;
}

.label-image4:hover {
    opacity: 1;
    transform: scale(1.8);
    /* 2.1배 확대 */
    background-color: #2c1802a9;
}

#bg-video {
    display: none; /* 기본적으로 숨김 */
    position: fixed; /* 화면 고정 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* 비디오가 화면 전체를 덮도록 */
    z-index: -1; /* 다른 요소 뒤에 배치 */
}


/* 화면 가로폭이 1024px 미만일 때 */
@media (max-width: 1024px) {
    body {
       background-color: #000000;
       background-image:url("../os_015/cos_111.png");
       background-size: cover;  
    }

    #canvas_container {
       display: none;
    }

    
    .button logo2 {
        position: relative;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 70px;
    }

    .button2 logo {
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 80%;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 5px;
        font-size: 1.0rem;
        padding: 20px;
        background: rgba(0, 0, 0, 0.3);
        color: rgb(255, 255, 255);
        font-weight: 600;
        -webkit-font-smoothing: antialiased;
    }
    
    .button3.logo {
        display: flex;
        flex-direction: column;
        position: absolute;
        align-items: center;
        justify-content: center;
        width: 100%;
        top: 250px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
        font-size: 0.8rem;
        padding: 20px;
        background: rgba(0, 0, 0, 0.6);
        color: rgb(255, 255, 255);
        font-weight: 300;
        -webkit-font-smoothing: antialiased;
    }
    .button4 p {
        margin: 10px 0 0 0 ;
        font-family: 'Noto Sans CJK KR', sans-serif;
        font-weight: 800;
        font-size: 0.8rem;
        padding: 1px;
        max-width: 500px;
        color: crimson;
    }

    .button5-container {
        display: grid;
        grid-template-columns: 1fr;
        width: 400px;
    }

    .button5 h3 {
        font-weight: 800;
        font-size: 14px;
    }

    .button5 p {
        font-weight: 300;
        font-size: 14px;
        font-family: 'Noto Sans CJK KR', sans-serif;
    }

    .button5 {
        background: rgba(0, 0, 0, 0.0);
        padding: 15px;
        border-radius: 30px;
        width: 70%;
        max-width: 350px;
        /* 최대 너비 설정 */

    }


    .label-image1,.label-image2, .label-image3,.label-image4 {
        display: none;
    }
}

@media screen and (min-width: 1920px) {
    .label-image1 {
        position: fixed;
        top: 0px;
        /* 화면 하단에서 20px 위 */
        left: 0px;
        /* 화면 우측에서 20px 왼쪽 */
        width: 250px;
        /* 이미지 크기 */
        height: auto;
        /* 가로 비율 유지 */
        z-index: 1000;
        /* 다른 요소 위에 표시 */
        opacity: 0.4;
        /* 투명도 조절 */
        transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .label-image1:hover {
        opacity: 1;
        transform: scale(1.4);
        /* 10% 확대 */
    }

}
@media screen and (min-width: 1920px) {
    .label-image2 {
        position: fixed;
        bottom: 0px;
        /* 화면 하단에서 20px 위 */
        left: 0px;
        /* 화면 우측에서 20px 왼쪽 */
        width: 250px;
        /* 이미지 크기 */
        height: auto;
        /* 가로 비율 유지 */
        z-index: 1000;
        /* 다른 요소 위에 표시 */
        opacity: 0.4;
        /* 투명도 조절 */
        transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .label-image2:hover {
        opacity: 1;
        transform: scale(1.4);
        /* 10% 확대 */
    }

}

@media screen and (min-width: 1920px) {
    .label-image3 {
        position: fixed;
        top: 0px;
        /* 화면 하단에서 20px 위 */
        right: 0px;
        /* 화면 우측에서 20px 왼쪽 */
        width: 250px;
        /* 이미지 크기 */
        height: auto;
        /* 가로 비율 유지 */
        z-index: 1000;
        /* 다른 요소 위에 표시 */
        opacity: 0.4;
        /* 투명도 조절 */
        transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .label-image3:hover {
        opacity: 1;
        transform: scale(1.4);
        /* 10% 확대 */
    }

}

@media screen and (min-width: 1920px) {
    .label-image4 {
        position: fixed;
        bottom: 0px;
        /* 화면 하단에서 20px 위 */
        right: 0px;
        /* 화면 우측에서 20px 왼쪽 */
        width: 250px;
        /* 이미지 크기 */
        height: auto;
        /* 가로 비율 유지 */
        z-index: 1000;
        /* 다른 요소 위에 표시 */
        opacity: 0.4;
        /* 투명도 조절 */
        transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .label-image4:hover {
        opacity: 1;
        transform: scale(1.4);
        /* 10% 확대 */
    }

}


.dev-guide-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff00ae;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff; /* ← 테두리 추가 */
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.dev-guide-button:hover {
    background-color: #555;
}

.dev-guide-button2 {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff; /* ← 테두리 추가 */
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.dev-guide-button2:hover {
    background-color: #555;
}



