body{margin:0;padding:0;}
#wrap{width:100%;}
#wrap .header {
    position: relative;
    z-index: 2;
    width: 1140px;
    height: 100%;
    margin: 0 auto;
    zoom: 1;
    display: flex; /* 가로 정렬 */
    justify-content: space-between; /* 두 박스 사이를 일정하게 배치 */
    align-items: center; /* 세로 가운데 정렬 */
    padding: 10px;
}
.box {
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    font-size: 24px;
}
.logo {width:230px;height:57px;}
.gnb{
    list-style-type: none; /* 글머리 기호 제거 */
    padding: 0;
    margin: 0;
    display: flex; /* 가로 정렬 */
}
.gnb li{
    margin-right: 30px; /* 각 항목 간 여백 */
}
.gnb li>a {
    text-decoration: none; /* 밑줄 제거 */
    color: #121826;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s;
    padding:0 30px;
}

#wrap .container img{width:100%;}
.lnb{
    background:#1B1D23;
    height:30px;
    padding:10px 0;
}
.lnb_area{
    width: 1140px;
    margin: 0 auto;
    list-style:none;
    display: flex; /* 가로 정렬 */
}
.lnb_area li{
    margin-top:6px;
    margin-right:50px;
}
.lnb_area li>a {
    text-decoration: none; /* 밑줄 제거 */
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
    padding:0 30px;
}
.lnb_area li>a.active,
.lnb_area li>a:hover {
    text-decoration: underline;
    text-decoration-thickness:2px;
}

.tip-list {
    display: flex;
    flex-direction:row;
    align-items: center; /* 수평 가운데 정렬 */
    height: 477px; /* 전체 화면 높이 */
    justify-content: center; /* 수직 가운데 정렬 */
    gap: 10px; /* div 간 간격 */
  }

  .tip-item {
    width: 414px;
    height: 477px;
  }

/* 모바일용 미디어 쿼리 (768px 이하) */
@media screen and (max-width: 768px) {
    html, body{
        overflow-x:hidden;
    }
    #wrap .header {
        width:100%;
        flex-direction: column;
    }
    .gnb{
        flex-direction: column;
    }
    .lnb_area li{
        width:100%;
        height:35px;
    }
    .lnb {
        height:auto;
    }
    .lnb_area{
        flex-direction: column;
    }
}