*{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: #6887A6;
}
 
header {
    background-color: #B0C3D6;
    width: 100%; 
    height: 100px;
    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;
    box-shadow: 0px 10px 15px rgba(250, 250, 250, 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 {
    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:white; 
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
  }

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


.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: #ffffff;
}

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

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

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

.background-image {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 뷰포트 높이로 설정 */
    z-index: -1;
    overflow: hidden; /* 내용이 넘치는 경우 숨김 처리 */
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blue {
    width: 100%;
    min-height: 230vh; 
    position: relative; 
    top: 80vh; 
}

.s1 {
    width: 1200px;
    height: auto;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.s-text-main {
    position: absolute; 
    top: 700px; 
    left: 290px;
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    align-items: left;
    font-family: 'GowunBatang-Regular', 'Serif';
    color: white;
}


.s-text {
    position: absolute; 
    top: 900px; 
    left: 290px;
    font-size: 20px;
    line-height: 60px;
    align-items: left;
    font-family: 'GowunBatang-Regular', 'Serif';
    color: white;
}

.s-text-right {
    position: absolute; 
    top: 900px; 
    left: 890px;
    line-height: 60px;
    font-size: 20px;
    align-items: left;
    font-family: 'GowunBatang-Regular', 'Serif';
    color: white;
}
