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

html, body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; 
    overflow-y: auto; 
}

html {
    scroll-behavior: smooth;
}

body {
  background: black;
}
 
header {
    width: 100%; 
    height: 100px;
    background-color: black;
    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;
    z-index: 1001;
}

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 {
    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;
}

  .text-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    height: 100px;
    padding: 20px;
    margin-top: 20px;
  }
  
  .text-item {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px; font-weight: 400;
    color: rgb(208, 208, 208); 
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
  }

  .text-item:hover{
    color: #98FF9D; 
  }
  
  .content{    
    position: relative;
    background-color:black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.scene {
    width: 500px;
    height: 950px;
    margin: -13% 5% 5% 50%;
  
  }
  
.text-container2 {
    margin-top: 80px;
    position: relative; 
    top: 60px; 
    align-items: left;
    font-family: 'Pretendard', sans-serif;
    margin-left: 70px;
}

.text-container2 h1,
.text-container2 h2,
.text-container2 h3 {
    margin: 10px 0; 
    color: #e2e2e2;
}

.text-container2 h1 {
    font-size: 28px; 
    font-weight: 400; 
    margin-left: 0;
    line-height: 38px;
}

.text-container2 h2 {
    font-size: 24px;
    font-weight: 300; 
    margin-top: 20px;
}

.text-container2 h3 {
    font-size: 20px; 
    font-weight: 300;
}

.book{
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;  /* 변경 */
    top: -230px;  /* 조정 가능 */
    margin-bottom: 100px;
    z-index: 0;
}
.book-image {
    width: 800px;
    height: auto;
    object-fit: cover;
}

.mockup-image {
    width: 100%;
    height: auto;
}

.text-container3 {
    position: absolute;
    left: calc(50% + 310px);
    margin-top: 80px;
    top: 240px; right:30px;
    align-items: left;
    font-family: 'Pretendard', sans-serif;
    margin-left: 250px;
}

.text-container3 h3 {
    font-size: 16px; 
    font-weight: 300;
    line-height: 24px;
    margin: 10px 0; 
    color: #e2e2e2;
}
