body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard';
    color: #282828;
    
}
p,h1,h2,h3,h4,h5,h6{word-break: keep-all;}

#header_wrap {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    height: 100px; 
    position: fixed;
    left: 0; top: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.header {
    max-width: 1170px;
    width: 90%; 
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100px; 
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #fff; 
    font-size: 24px;
    font-weight: bold;
}


.gnb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.gnb li {
    margin-left: 50px; 
}

.gnb a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column; 
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s;
}

.gnb a:hover {
    color: #f7e6e6; 
}

.menu-icon {
    margin-bottom: 5px; 
    
}
.menu-icon img{height: 50px;}

.menu-text {
    font-size: 16px;
    white-space: nowrap;
}



/* aside */
aside{position: fixed; right: 0; bottom: 50px; z-index: 999;}
aside .flex_column{gap: 10px;}

/* footer */
 footer{
        background-color: #282828;
        text-align: center;
        padding: 80px 0;
        box-sizing: border-box;
    }
    footer .footer-logo{margin-bottom: 30px;}
    footer  p {color: #fff; line-height: 150%;}
    footer .line{
        width: 100%;
        height: 2px;
        background-color: #d9d9d9;
        margin: 50px 0;
    }

     @media screen and (max-width:1024px){
         footer .footer-logo{max-width: 415px; margin: 0 auto 30px;}
     }
      @media (max-width: 767px) {
        footer{
    padding: 12vw 15px;
    }
    footer .footer-logo{
        width: 25%;
        max-width: 120px;
    }
    footer .footer-logo img{
        width: 100%;
    }
    footer .line{
        margin: 5vw 0;
    }




    aside{right: 10px;}
    aside .flex_column{gap: 5px;}
    aside img{height: 45px;}

} 

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    position: relative;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.mobile-menu-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-button span:nth-child(1) { top: 0px; }
.mobile-menu-button span:nth-child(2) { top: 8px; }
.mobile-menu-button span:nth-child(3) { top: 16px; }

.mobile-menu-button.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.mobile-menu-button.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

#mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #282828;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    padding: 100px 20px 20px 20px;
    box-sizing: border-box;
}

#mobile-sidebar.active {
    right: 0;
}

.mobile-gnb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-gnb li {
    margin-bottom: 15px;
}

.mobile-gnb a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: background 0.3s;
    border-radius: 5px;
}

.mobile-gnb a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-gnb .menu-icon {
    margin-right: 15px;
    margin-bottom: 0;
}
.mobile-gnb .menu-icon img {
    height: 30px;
}

.mobile-gnb .menu-text {
    font-size: 18px;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.sidebar-backdrop.active {
    display: block;
}

.only_m{display: none;}
@media (max-width: 768px) {
    .only_pc{display: none;}
    .only_m{display: block;}
    .header .gnb {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    #header_wrap,.header{height: 80px;}
    header .logo{width: 60px;}
    header .logo img{width: 100%;}
    
}
@media (max-width: 450px){
    header .logo{width: 50px;}
}