@charset "utf-8";
/* CSS Document */

.container {
    display: flex;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    cursor: pointer; /* 커서를 포인터로 변경하여 클릭 가능성을 시각적으로 나타냄 */
}

.image {
    flex: 1;
    margin-right: 16px;
}

.image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.content {
    flex: 2;
}

.title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
}

.description {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
}

.link {
    font-size: 14px;
    color: #888;
}

/* 목차 스타일링 */
#toc {
	margin-top: 20px;
	padding: 10px;
	border: 1px solid #ddd;
	background-color: #f9f9f9;
}
#toc ul {
	list-style-type: none;
	padding-left: 0;
}
#toc li {
	margin-bottom: 5px;
}
#toc a {
	text-decoration: none;
	color: #0073e6;
}
#toc a:hover {
	text-decoration: underline;
}

/* 텍스트 버튼 */
#changeTextButton {
    padding: 10px 20px;
    font-size: 18px;
    background: linear-gradient(90deg, #007bff, #00aaff); /* 블루 계열 그라데이션 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-break: break-word; /* Ensure words break if necessary */
    display: block; /* Ensure the button is treated as a block element */
    margin: 0 auto; /* Center the button horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* 드롭 쉐도우 그림자 효과 */
}

/* Default button width for larger screens (desktop) */
#changeTextButton {
    width: 90%;
}

/* Button width for smaller screens (mobile) */
@media (max-width: 768px) {
    #changeTextButton {
        width: 98%;
    }
}

#changeTextButton:hover {
    background-color: #0056b3;
    background: linear-gradient(90deg, #0056b3, #0088cc); /* 호버 시 그라데이션 변경 */
}