*{margin: 0px; padding: 0px;}
ul{list-style: none;} 
a{text-decoration: none;} 
 

body, html {
    margin: 0;
    padding: 0;
    background-color: black; 
}

header {
    width: 100%; 
    height: 100px;
    background-color: #000000;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

#title {
    text-align: left;
    padding: 40px;
    margin: 0; 
    color: white;
    font-size: 43px;
    font-weight: 200;
    font-family: Baskerville;
    position: relative; 
    flex-grow: 1; 
}

#logo{
    position: absolute;
    top: 15px;
    left: 50%; 
    transform: translateX(-50%); 
}

#top_menu a{color: white;}
 
nav{
    position: absolute;
    bottom: 30px;
    right: 50px;
    font-family: pretendard; font-size: 25px; font-weight: 300;
    margin-right: 30px;
}

nav li{
    display: inline;
    margin-left: 60px;
}
 
nav li a{color: white;}

nav li a:hover{
    color: #98FF9D; 
}
 
.inner-menu {
    /* 하위 메뉴 스타일 */
    display: none;
    position: absolute;
    left: 15px;
    background-color: black;
    box-shadow: 0px 10px 15px rgba(133, 255, 102, 0.1);
    padding: 0;
    margin: 0;
}

.inner-menu-item > a {
    /* hover 전 기본 상태 */
    display: block;
    padding: 5px 40px;
    margin-bottom: 15px;
    font-size: 20px;
    color: white;
    text-align: center;
    text-decoration: none;
}
 
.inner-menu-item a:hover {
    background-color: black;
    color: #98FF9D;
}
 
ul {
    list-style-position: inside;
    padding-top: 0;
  }
  
nav ul li:hover .inner-menu {
    display: block;
}

/* 전체 섹션 */
.content {
    background-color: black;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
    box-sizing: border-box;
    gap: 20px;
    min-height: calc(100vh - 100px); 
    height: auto; 
}

/* 왼쪽 섹션 */
.left-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 10px;
    margin-top:40px;
    margin-right: 130px;
    font-family: 'Pretendard', sans-serif;
    color:rgb(90, 90, 90);
    border-right: 2px solid #444;
}

.left-section a {
    text-decoration: none;
    color: inherit;
}

.left-section h2 {
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 120px;
}

.left-section h3 {
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 90px;
}

.left-section h2:hover{
    color: white;
    }
    
.left-section h3:hover{
color: white;
}

/* 방명록 스타일 */
.right-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-top:40px;
}

.right-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

#guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

#guestbook-form input, #guestbook-form textarea {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #98FF9D;
    background-color: #000;
    color: white;
    outline: none;
    resize: none;
}

#guestbook-form button {
    background-color: #98FF9D;
    color: black;
    font-size: 18px;
    padding: 15px;
    margin-top: 5px;
    border: none;
    cursor: pointer;
}

#guestbook-form button:hover {
    background-color: #76D681;
}

/* 방명록 기록 */
#entries {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.entry {
    border-bottom: 1px solid #98FF9D;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry-content {
    flex: 1; /* 텍스트 영역 확장 */
}

.entry-actions {
    display: flex;
    gap: 10px;
}

.entry button {
    background: none;
    border: none;
    color: #98FF9D;
    cursor: pointer;
    font-size: 14px;
}

.entry button:hover {
    color: #76D681;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination button {
    background-color: #2f4d31;
    color: black;
    border: none;
    margin: 0 5px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.pagination button:hover {
    background-color: #98FF9D;
}

.pagination button.active {
    background-color: #98FF9D;
    color: black;
    font-weight: bold;
}
