*{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: white;
}
 
header {
    width: 100%; 
    height: 100px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

#title {
    text-align: left;
    padding: 40px;
    margin: 0; 
    color: black;
    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: black;}
 
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: black;}

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

.inner-menu-item > a {
    /* hover 전 기본 상태 */
    display: block;
    padding: 5px 40px;
    margin-bottom: 15px;
    font-size: 20px;
    color: black;
    text-align: center;
    text-decoration: none;
}
 
.inner-menu-item a:hover {
    background-color: white;
    color:  #46AF72;
}
 
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:black; 
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
  }

  .text-item:hover{
    color:  #46AF72;
  }
  
  .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: 150px; 
    align-items: left;
    font-family: 'Pretendard', sans-serif;
    margin-left: 70px;
}

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

.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: 120px;
    left: 0;
    width: 100%;
    height: 100vh; /* 뷰포트 높이로 설정 */
    z-index: -1;
    overflow: hidden; /* 내용이 넘치는 경우 숨김 처리 */
}

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

.grey {
    background-color: #EBEBEB;
    width: 100%;
    min-height: 150vh; 
    position: relative; 
    top: 77vh; 
}

.image-container {
    display: grid;
    grid-template-columns: 48% 48%; 
    column-gap: 80px;
    row-gap: 100px;
    margin: 15% auto 0; 
    justify-items: center; 
    width: fit-content; 
} 

.image-item {
    text-align: left;
}

.image-item img {
    width: 100%; 
    max-width: 500px; 
    height: auto; 
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.image-item p {
    margin-top: 30px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #333;
}

