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

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

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: 300;
}

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: 100px; 
    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{    
    background-color:black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.image-gallery {
    position:relative;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: left;
    margin: 30px 0;
    gap: 120px;
}


.gallery-row {
    display: flex;
    gap: 80px;
    justify-content: center;
    margin-top: 30px;
}

.gallery-row img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* 세로가 더 긴 이미지를 위한 스타일 */
img[alt="푸켓 이미지3"], img[alt="푸켓 이미지8"] {
    width: 100px;
    height: 150px;
    object-fit: cover; 
}

.gallery-row img:hover {
    transform: scale(1.1);
}

.main-caption {
    width: 150px;
    height: 100px;
    color: rgb(200, 200, 200);
    font-size: 25px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
    text-align: left;
    line-height: 40px;
}
.gallery-caption {
    width: 150px;
    height: 100px;
    color: rgb(200, 200, 200);
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    text-align: left;
    line-height: 20px;
}


/* 팝업 스타일 */
#popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.851); 
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

#popup .close-btn {
    position: absolute;
    top:40px;
    right: 200px;
    font-size: 40px;
    color: #98FF9D;
    cursor: pointer;
}
