@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

/* 웹킷 기반 브라우저 (Chrome, Safari, Edge 등) */
::-webkit-scrollbar {
    width: 10px;  /* 스크롤바의 너비 */
    height: 10px; /* 스크롤바의 높이 (가로 스크롤바) */
	/* display: none;  Chrome, Safari, Opera*/ 
}

::-webkit-scrollbar-thumb {
    background-color: #444; /* 스크롤바의 색상 */
    border-radius: 10px;    /* 스크롤바의 둥근 모서리 */
	/* display: none;  Chrome, Safari, Opera*/
}

::-webkit-scrollbar-track {
    background: #222; /* 스크롤바 트랙의 배경 색상 */
}

body {
    background-color: #333;
    background-image: 
        linear-gradient(to right, #555 1px, transparent 1px),
        linear-gradient(to bottom, #555 1px, transparent 1px);
    background-size: 24px 24px;
    color: #efefef;
    font-family: 'NanumSquare', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    padding-bottom: 60px;
	-ms-overflow-style: none;
}
.page-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #232323;
    margin-bottom: -10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.content-container {
    padding: 20px 10px;
	padding-top:0;
	margin-top:10px;
}
h1 {
    text-align: center;
    color: #f5f5f5;
    margin-top: 0;
    padding-top: 20px;
}
.top-menu {    
    padding: 10px 10px 0px;
}

.inner-logo-box {    
    text-align: center;
    padding: 5px 10px;
}

.menu-items {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    align-items: center;
}
.menu-items a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 15px;
}
.menu-items a.logo {
    background-color: #343434;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    padding: 5px 12px;
}
.content {
    background-color: #232323;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    background-color: #232323;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
	border-top: 1px solid #000;
    box-shadow: 0 -1px #424242;
	z-index:99999;
}
.bottom-bar a {
    color: #f5f5f5;
    text-decoration: none;
    transition-duration: 0.2s;
    transition-property: filter;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-bar a:hover {
    filter: brightness(1.2);
}
.bottom-bar .menu-text {
    font-size: 10px;
    margin-top: 4px;
}
.bottom-bar .profile-image-menu {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.top-menu a {
	transition-duration: 0.2s;
	transition-property: filter;
}



.filled-heart {
    color: orangered;
}
.empty-heart {
    /* color: #b7b7b7; */

}

.side-menu {
    position: absolute;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: rgba(60, 62, 78, 0.97); /* 약간의 투명도 추가 */
    transition: 0.3s;
    z-index: 1000;
    overflow-y: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	font-size:1rem;
}

.side-menu.open {
    left: 0;
}

.side-menu-content {
    padding: 20px;
}

.side-menu ul {
    list-style-type: none;
    padding: 0;
}

.side-menu ul li {
    margin-bottom: 15px;
}

.side-menu ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1rem;
}

.close-menu {
    color: #f5f5f5;
    font-size: 1rem;
    float: right;
}

.battlepost-info {
	display:table;
	max-width:800px;
	margin:10px auto;
	/* background-color:#454545; */
	background-color:#425648;
	color:#f5f5f5;
	padding:10px;
	font-size:0.9rem;
	border-radius:10px;
	text-align:center;
}

/* 오버레이 효과를 위한 스타일 추가 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.alarm-icon-container {
    position: relative;
    display: inline-block;
}
.unread-count {
	position: absolute;
    top: -8px;
    right: -2px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 900;
}

.menu-container {
    max-width: 800px;
	margin:10px auto;
    overflow-x: auto; /* 가로 스크롤 가능 */
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */	
}

.menu-container::-webkit-scrollbar {
	display:none;
}

.menu {
    display: flex;
    align-items: center;
    padding: 10px 0;
	justify-content: center;
}

.menu-item {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #eee;
    background-color: #454545;
    border: 1px solid #333;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
}

.menu-item:hover {
    background-color: #e0e0e0;
    color: #000;
}

.menu-item.active {
    background-color: #eee;
    color: #454545;
    border: 1px solid #333;
}

@media (max-width:576px) {
	.menu {
		justify-content: unset;
	}
}


h3 {
	color: #eee;	
}
.alarm-item {
	display: flex;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #000;
	box-shadow: 0 1px #424242;
}
.profile-image {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 15px;
}
.alarm-content {
	flex-grow: 1;
	font-size:0.9rem;
}
.alarm-content a.author {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

.alarm-content a.description {
	color: #f5f5f5;
	text-decoration: none;
}


.alarm-content a:hover {
	text-decoration: underline;
}
.alarm-time {
	color: #aaa;
	font-size: 0.8em;
	margin-left: 10px;
}

.alarm-content {
	color:#c7c7c7;
}


.alarm-content-wrapper {
    word-break: break-word;
}
.show-more {
	font-size:0.8rem;
    color: #999;
	background-color:#454545;
	padding:2px 4px;
    cursor: pointer;
    text-decoration: none;
}
.show-more:hover {
    text-decoration: underline;
}

hr {
	border-color:#000;
	border-width:1px;
}

.need-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top:30px;
	padding-top:20px;
	text-align: center;
	font-size: 1.5em;
	color: #ddd;
}

.need-login img {
	margin-top: 20px;
	max-width: 100%;
	height: auto;
}

.side-menu-content ul {
		list-style: none;
		padding: 0;
	}
	


.side-menu-content ul li i {
	font-style:normal;
	
}
.side-menu-content ul li a {
	display: flex;
	align-items: center;
	text-decoration: none;
	width: 100%;
	
}

.side-menu-content ul li a:hover {
	color:#ccc;
}

.side-menu-content ul li a i {
	width: 20px; /* 고정 너비 설정 */
	text-align: center;
	margin-right: 10px;
}


.close-menu {
	display: flex;
	justify-content: flex-end;
}


ul li.privacy {
	display:flex;

}

ul li.privacy a {
	display: flex;

	font-size:11px;
}

.side-sitename {
	font-size:12px;

	
}
