footer{
    width: 100%;
    display: flex;
    background-color: #fff;
    padding: 30px 0;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    border: 1px solid #CDCDCD;
    max-width: 2650px;
}

.footer_text{
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer_logo{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.footer_detail{
    width: 50%;
    color: #222;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.footer_detail_policy{
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
}

.footer_de{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.footer_de_de{
    color: #222;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: left;
}

.footer_de_poli{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer_de_poli01{
    color: #222;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.footer_de_poli02{
    color: #222;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

/* 스타일링은 여기에 추가합니다. */
.popup-container {
    position: relative;
}

.popup {
    width: 60%;
    height: 600px;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.popup p{
    width: 100%;
    color: #222;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    height: 540px;
    overflow-y: scroll;
}

.popup_close_btn{
    min-width: 100px;
    display: flex;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    background: #222;
    color: #FFF;
    text-align: center;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem;
    border: 1px solid #222;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 블랙 반투명 배경 */
    z-index: 9998; /* 팝업보다 한 층 아래에 위치 */
    display: none; /* 초기에는 숨김 */
}

@media all and (max-width: 1450px) {

    .footer_logo{
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: row;
    }

    .footer_detail{
        width: 60%;
        flex-direction: column;
        gap: 0px;
        align-items: flex-start;
    }

}

@media all and (max-width: 850px) {

    .popup {
        width: 80%;
        height: 400px;
    }

    .popup p{
        height: 340px;
    }

    .footer_text{
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer_logo{
        width: 100%;
    }

    .footer_detail{
        width: 100%;
    }

    .footer_detail_policy{
        width: 100%;
    }
}

@media all and (max-width: 500px) {

    .popup {
        width: 80%;
        height: 350px;
    }

    .popup p{
        height: 290px;
    }
}
