/*
Theme Name: my theme
Template: twentytwentyone
*/
#all-box ul,li,a {margin: 0; padding: 0; list-style: none;}
#all-box a {color: inherit; text-decoration: none;}

#all-box {
    margin-top: 160px;
    background-color: #fff;
}

/* 커스텀헤더 */
#all-box .custom-header{
    position: relative;
    background-color: #fff;
    padding-bottom: 10px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0; right: 0;
    border-bottom: 1px solid rgb(232, 232, 232);
}

/* 메뉴이미지 */
#all-box .logo-container img {
    margin-left: auto; margin-right: auto;
    display: block;
    width: 90px;
    padding-top: 10px;
    margin-bottom: 5px;
}

/* 메뉴바 */
#all-box .custom-menu{
    margin-left: auto; margin-right: auto;
    width: 55%;
    transform: 3s;
}
#all-box .custom-menu ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#all-box .nav-links a {
    font-size: 12px;
    transform: 3s;
}

#all-box .nav-links a:hover {
    color: #B497BD;
}

/* 햄버거 메뉴 버튼 스타일 */
#all-box .menu-toggle {
    display: none;
    font-size: 20px;
    color: #404040; /* 햄버거 아이콘 색상 적용 */
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 85%;
    padding: 0;
}

@media screen and (max-width: 900px) {
    #all-box .custom-menu{
        width: 70%;
    }
}

/* 모바일 네비게이션 스타일 */
@media screen and (max-width: 550px) {
    #all-box .custom-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid rgb(232, 232, 232);

        /* 기본적으로 숨김 (애니메이션 적용) */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease-out, transform 0.2s ease-out;
        pointer-events: none;
    }

    #all-box .custom-menu.active {
        opacity: 1;
        transform: translateY(0);
    }
    
    #all-box .custom-menu ul {
        flex-direction: column;
        align-items: center;
    }

    #all-box .menu-toggle {
        display: block; /* 모바일에서 보이게 */
    }

}

/* 커스텀 푸터 */
#site-footer {
    border-top: 1px solid rgb(232, 232, 232);
    background-color: white;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
  }
  
  #site-footer p {
    margin-bottom: 10px;
  }
  
  .social-icons {
    display: flex;
    flex-wrap: wrap; /* 화면 좁으면 자동으로 줄바꿈 */
    justify-content: center;
    align-items: center;
    gap: 15px; /* 아이콘 사이 간격 */
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .social-icons a {
    display: inline-block;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
  }
  
  .social-icons img:hover {
    transform: scale(1.2);
  }  

/*gpt랑 같이 넣은 글용 코드/
/* 글 본문 슬림폭 적용 */
/* 게시글 본문 너비 조정 */
article.entry, .post-navigation {
    max-width: 55%;
    margin: 0 auto;
  }  
/* 모바일 & 태블릿 반응형 */
@media (max-width: 900px) {
    article.entry, .post-navigation {
    max-width: 70%;
  }
}
@media (max-width: 550px) {
    article.entry, .post-navigation {
    max-width: 96%;
  }
}