body,
html {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Nanum Gothic', 'Arial', sans-serif;
    background: linear-gradient(to right, #66bbd7, #b1dae7);
    /*폰트 나눔고딕 변경 N-20240531*/
}

.header {
    background: linear-gradient(to right, #66bbd7, #b1dae7);
    /*폰트 나눔고딕 변경 N-20240531*/
    color: #ffffff;
    padding: 20px;
}

.logo_main {
    position: absolute;
    left: 40px;
    top: 25px;
    background-image: url(/Main/Images/bio_main_logo.png);
    /*로고변경 N-20240531*/
    background-repeat: no-repeat;
    width: 320px;
    height: 74px;
}

.nav-bar {
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0px;
    /*N-20240531*/
    /*background-color: #87CEEB;*/
    /*top: 15px;*/
    /*border-radius: 20px;*/
}

.nav-bar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.nav-bar a:hover {
    background-color: #008eb6;
    /*N-20240531  색상변경*/
    color: #ffffff;
    /*N-20240531  색상변경*/
    /*background-color: #ddd;
            color: black;*/
}

/*탑메뉴 현재 위치 표시*/
.nav-bar .m-active {
    background-color: #008eb6;
    /*N-20240531  색상변경*/
    color: #ffffff;
    /*N-20240531  색상변경*/
    /*background-color: #ddd;
            color: black;*/
}

/*메뉴 아이콘추가 N-20240531*/

.icon_01,
.icon_02,
.icon_03,
.icon_04,
.icon_05 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.icon_01::before,
.icon_02::before,
.icon_03::before,
.icon_04::before,
.icon_05::before {
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    height: 20px;
    padding-left: 25px;
}

.icon_01::before {
    background-image: url(/Main/Images/bio_main_icon_01.png);
}

.icon_02::before {
    background-image: url(/Main/Images/bio_main_icon_02.png);
}

.icon_03::before {
    background-image: url(/Main/Images/bio_main_icon_03.png);
}

.icon_04::before {
    background-image: url(/Main/Images/bio_main_icon_04.png);
}

.icon_05::before {
    background-image: url(/Main/Images/bio_main_icon_05.png);
}


.header_menuItem {
    color: var(--color-whtie);
    width: 160px;
    /*N-20240531*/
    padding-top: 44px;
    /*N-20240531*/
    height: 66px;
    /*N-20240531*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*width: 90px; */
    /*margin-right: 16px;*/
    /*height: 40px;*/
    /*padding-left: 14px;*/
    /*padding-right: 14px;*/
    /*border-radius: 12px;*/
}

.header_menuItem:hover {
    background-color: rgba(128, 128, 128, 0.5);
}

.header_menuItem_on {
    background-color: var(--color-whtie);
    color: var(--color-point);
}

.main {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* N-20240531 메인페이지 적용 */
    margin-top: 100px;
    /* Adjusted to ensure main content does not overlap with the nav-bar */
    flex-direction: row-reverse;
    min-height: 540px;
}

.main_W {
    display: block;
}

.main_M {
    display: none;
}

.mainbox01 {
    background-color: #fff;
    margin-bottom: 30px;
}

.mainbox02 {
    background-color: #b5dfed;
}

.mainbox01,
.mainbox02 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #ffffff;
    border: 1px solid #cfe4e9;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 20px auto;

    font-family: 'Nanum Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 720px;
}

.mainbox01 p strong,
.mainbox02 p strong {
    font-weight: 700;
    color: #1976d2;
}

.mainbox01 p,
.mainbox02 p {
    margin: 8px 0;
}

.main img {
    max-width: 18%;
    height: auto;
}

.text-section {
    width: 50%;
}

.text-section > h2 {
    font-size: 50px;
}

.text-section > p {
    font-size: 20px;
    color: dimgrey;
}

.button-container {
    margin-top: 20px;

}

.button {
    /* 기본 버튼 스타일 */
    background: #369ebb;
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* 가상 요소가 넘치지 않게 함 */
    z-index: 1;
    /* 텍스트를 가상 요소 위로 올리기 위해 z-index 설정 */
    transition: opacity 0.3s ease;
}

.button:hover {
    opacity: 0.6;
    /* 추가됨: 마우스 오버 시 투명도 조정 */
}

/* 눈 쌓인 효과 */
/*.button::before {
            content: '';
            position: absolute;
            top: -15px;
            right: 0;
            left: 0;
            height: 50px; 
            background-image: url('/Main/Images/snow.png'); 
            background-repeat: no-repeat;
            background-position: center top;
            background-size: 100% 100%;
            z-index: 0;  
        }*/


.footer {
    background-color: #262c2e;
    /*N-20240531  색상변경*/
    /*background-color: #50bcdf;*/
    color: white;
    text-align: left;
    padding: 30px 30px 20px 30px;
    /*N-20240531*/
    /*position: fixed;*/
    bottom: 0;
    width: calc(100% - 60px);
    /*N-20240531*/
    /*width: 100%;*/
}

.footer_top_menu_line {
    display: flex;
    margin-top: 8px;
    margin-bottom: 40px;
}

.footer_top_menu_line > a {
    margin-right: 17px;
    color: var(--color-whtie);
}

.footer_top_title {
    color: #546366;
    font-weight: 700;
    font-size: 18px;
}

.footer_top_menuLink {
    color: white;
    text-decoration-line: none;
}

.footer_top_menuLink:hover {
    color: #d9cd21;
}

.footer_p {
    text-align: left;
    color: #e0e0e0;
}

.menu-icon {
    display: none;
    float: right;
    font-size: 28px;
    color: white;
    padding: 20px;
}

.header i {
    display: none;
}

@media (max-width : 1700px) {}

/*상단메뉴 겹치는 부분 추가 수정 N-20240531*/
@media(max-width : 1280px) {
    .nav-bar a {
        font-size: 17px;
    }

    .header_menuItem {
        width: 120px;
        /*N-20240531*/
    }

}

@media (max-width : 1140px) {}

@media (max-width: 768px) {

    /* Adjusting the whole layout for mobile view */
    body,
    html {
        background: linear-gradient(to bottom, #7ec9e0, #b3dbe7);
        /* Changing the background color to white for mobile */
        /*N-20240531*/
        height: auto;
        font-family: 'Nanum Gothic', 'Arial', sans-serif;
        /*N-20240531 나눔고딕 추가*/
        overflow-x: hidden;
    }

    .header {
        background: linear-gradient(to bottom, #7ec9e0, #7ec9e0);
        /* Changing the header color to white */
        /*N-20240531 나눔고딕 추가**/
        color: black;
        padding: 16px;
        text-align: left;
    }

    /* 수정 N-20240531  */
    .logo_main {
        position: static;
        background-image: url(/Main/Images/bio_main_logo_m.png);
        background-repeat: no-repeat;
        width: 132px;
        height: 74px;
        margin: 0 auto 10px auto;
        /*N*/
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: black;
        padding: 16px;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-bar {
        display: none;
        background-color: #f1f1f1;
        overflow: hidden;
    }

    .nav-bar.responsive {
        display: block;
        position: fixed;
        width: 100%;
        top: 60px;
        left: 0;
        z-index: 1;
    }

    .nav-bar a {
        text-align: left;
        padding: 14px 16px;
        color: black;
        display: block;
    }

    .main_W {
        display: none;
    }

    .main_M {
        display: block;
    }

    .main {
        padding: 30px;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .main img {
        max-width: 70%;
        height: auto;
        display: block;
        /* Ensure the image is centered */
        margin: 15px auto;
    }

    .text-section {
        width: auto;
        text-align: center;
        padding: 0 16px;
    }

    .text-section h2 {
        font-size: 50px;
        /* Adjusted font size for mobile */
    }

    /* 색상 수정 N-20240531  */
    .text-section p {
        font-size: 18px;
        color: #2b617b;
        line-height: 20px;
    }

    /* 버튼 수정 N-20240531  */
    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -65px;
        margin-bottom: 20px;
        text-align: center;
        width: 70%;
    }

    /* 버튼 수정 N-20240531  */
    .button {
        width: 100%;
        /* Full width buttons */
        padding: 20px 0;
        margin: 5px 0;
        font-size: 20px;
        /* Adjusted font size for mobile */
        font-weight: 700;
    }

    /* 버튼 아이콘 추가 N-20240531  */
    .menu01,
    .menu02,
    .menu03,
    .menu04,
    .menu05,
    .menu01_on,
    .menu02_on,
    .menu03_on,
    .menu04_on,
    .menu05_on {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .menu01::before,
    .menu02::before,
    .menu03::before,
    .menu04::before,
    .menu05::before,
    .menu01_on::before,
    .menu02_on::before,
    .menu03_on::before,
    .menu04_on::before,
    .menu05_on::before {
        content: '';
        display: inline-block;
        background-repeat: no-repeat;
        height: 20px;
        padding-left: 25px;
    }

    .menu01::before {
        background-image: url(/Main/Images/bio_main_icon_01.png);
    }

    .menu02::before {
        background-image: url(/Main/Images/bio_main_icon_02.png);
    }

    .menu03::before {
        background-image: url(/Main/Images/bio_main_icon_03.png);
    }

    .menu04::before {
        background-image: url(/Main/Images/bio_main_icon_04.png);
    }

    .menu05::before {
        background-image: url(/Main/Images/bio_main_icon_05.png);
    }

    .menu01_on::before {
        background-image: url(/Main/Images/bio_main_icon_01_on.png);
    }

    .menu02_on::before {
        background-image: url(/Main/Images/bio_main_icon_02_on.png);
    }

    .menu03_on::before {
        background-image: url(/Main/Images/bio_main_icon_03_on.png);
    }

    .menu04_on::before {
        background-image: url(/Main/Images/bio_main_icon_04_on.png);
    }

    .menu05_on::before {
        background-image: url(/Main/Images/bio_main_icon_05.png);
    }

    /* 눈 쌓인 효과 */

    /*.button::before {
                content: '';
                position: absolute;
                top: -25px; 
                right: 0;
                left: 0;
                height: 50px;
                background-image: url('/Main/Images/snow.png');
                background-repeat: no-repeat;
                background-position: center top;
                background-size: 100% 100%;
                z-index: 0; 
            }*/

    .footer {
        position: relative;
        padding: 20px;
        width: calc(100% - 40px);
    }

    .footer_top_menu_line {
        flex-direction: column;

    }

    .footer_top_menuLink {
        display: block;
        margin-bottom: 10px;

    }
}

/* 반응형 수정 작업 03-30 */
@media (max-width : 584px) {
    * {
        margin: 0px;
        padding: 0px;
        font-family: 'Pretendard-Regular';
        --color-black: black;
        --color-whtie: white;
        --color-point: #50bcdf;
        --color-light: #87CEEB;
        --color-dark-blue: #2c3e50;
        --color-light-blue: #3498db;
        --color-green: #2ecc71;
        --color-orange: #e67e22;
        --color-red: #e74c3c;
    }

    .button-container {
        display: flex;
        flex-direction: column;
    }

    .main {
        flex-direction: column;
        margin-top: 35px;
        /*N*/
    }

    .main-img {
        margin-top: -300px;
        margin-left: -px;
        background: none;
    }

    .text-section {
        width: 100%;
    }

    .button {
        margin-bottom: 5px;
    }

    .footer_top_menu_line {
        display: flex;
        margin-top: 8px;
        margin-bottom: 32px;
        flex-direction: column;
    }

    .footer_top_menu_line > a {
        margin-right: 12px;
        color: var(--color-whtie);
        padding-bottom: 5px;
    }

    .header_modile_bg {
        display: none;
        position: fixed;
        top: 64px;
        width: 100%;
        z-index: 9999;
        height: calc(100vh - 64px);
        background-color: rgba(0, 0, 0, .90);
    }

    .header_modile_bg_main > a {
        width: 70%;
        margin: auto;
        margin-bottom: 15px;
        justify-content: center;
        text-decoration: none;
    }

    /*상단 메뉴와 동일하게 적용되어 새로운 css작업 N-20240531*/

    .m_list_but,
    .m_list_but_on {
        height: 50px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 18px;
    }

    .m_list_but {
        color: #fff;
        border: 1px solid #617d88;
    }

    .m_list_but_on {
        color: #252c32;
        background-color: #aadff1;
        border: 1px solid #aadff1;
    }


    .header_modile_bg_main i {
        margin-right: 12px;
    }

    .header_modile_bg_main {
        width: 100%;
        padding-top: 60px;
        /*N-20240531*/
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .header_menuItem {
        color: #fff;
        width: 80px;
        padding-left: 14px;
        padding-right: 14px;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 16px;
        border-radius: 12px;
    }

    .header_menuItem_on {
        background-color: var(--color-whtie);
        color: var(--color-point);
    }

    .header i {
        display: block;
    }


}

/* 반응형 수정 작업 03-30 */
.nav-bar.responsive {
    display: block;
}

/* } 코드 오류 같음*/
