* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;
  max-width: 100%;
}
.all-wrap {
  margin: 0px 20px;
}
/* 전체 레이아웃 */
.content-wrapper {
  max-width: 1000px;
  margin: 10px auto;
  padding: 20px 0px;
  margin-top: 30px;
}

/* 본문 스타일 */
p {
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}

/* Sticky title */
.sub-title {
  display: flex;
  z-index: 2;
  white-space: nowrap;
  margin-bottom: 0;
  max-width: 1000px;
  margin: 0 auto;
  position: sticky;
  margin-top: 30px;
  font-weight: 700;
  font-size: 1.5em;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 0.4px solid #000;
  transition: border-bottom-color 0.3s ease-in-out, color 0.3s ease-in-out;
  padding: 10px 0px;
}

.sub-title.sticky {
  border-bottom-color: #ccc;
}

/* 본문 요약 */
.sub-p {
  width: 350px;
  transition: color 0.3s ease-in-out, color 0.3s ease-in-out;
  height: 45px;
  line-height: 45px;
}
.sub-short {
  width: 650px;
  text-align: right;
  font-size: 0.6em;
  height: 45px;
  line-height: 45px;
}
.sub-short ul {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.sub-short ul li {
  height: 45px;
  line-height: 45px;
  cursor: pointer;
}
.summary {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 35px;
}

/* 갤러리 섹션 */

/* 간단한 특징 리스트 */
.simple-features-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.simple-features-list li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

.simple-features-list strong {
  color: #000;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* 리스트 스타일 */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
  line-height: 2;
}

.bolder {
  font-weight: 900;
}

/* 색상 및 폰트 스타일 */
.black {
  color: #000;
}

.gray-light {
  color: #86868b;
}
.black-light {
  color: #333;
  font-weight: 400;
}

.big_font_black {
  color: #000;
  font-size: 1.3em;
  font-weight: 800;
  margin-bottom: 15px;
}
.mid-font-black {
  color: #000;
  font-size: 0.9em;
  font-weight: 700;
  margin-bottom: 30px;
}
.T-bar {
  width: 5%; /* 전체 너비로 설정 */
  height: 3px;
  background: linear-gradient(to right, #000000 80%, #046cdb 20%);
  margin-bottom: 5px;
}
.module-wrapper {
  display: flex;
  flex-wrap: wrap; /* 가로 정렬이 넘치면 다음 줄로 넘겨줌 */
  gap: 40px; /* .module 요소들 사이에 간격 추가 (선택사항) */
  justify-content: space-evenly;
  margin-bottom: 60px;
}

.module {
  flex: 1 1 calc(50% - 20px); /* 각 module의 너비를 부모의 절반으로 설정 */
  max-width: calc(50% - 20px); /* 마진을 제외한 너비로 설정 */
  box-sizing: border-box;
  margin: 10px 0; /* 아래쪽 간격 */
}

.module ul {
  list-style: none;
  padding: 0;
}

.module li {
  margin-bottom: 15px;
  font-size: 0.8em;
  line-height: 1.6;
}

.captions {
  position: absolute;
  top: 15px;
  right: 10px;
  color: #2c3137;
  height: 30px;
  line-height: 30px;
}
.captions-pt {
  position: absolute;
  bottom: 5px;
  right: 10px;
  color: #2c3137;
  height: 30px;
  line-height: 30px;
}
.captions-pt a {
  display: inline-block;
  padding: 1px 4px; /* 여백을 최소화 */
  border: 1px solid #2c3137; /* 테두리 설정 */
  color: #2c3137; /* 텍스트 색상 */
  text-decoration: none; /* 링크 밑줄 제거 */
  border-radius: 2px; /* 모서리를 둥글게 */
  line-height: 1.2; /* 라인 높이를 조절 */
  transition: all 0.3s ease; /* 부드러운 애니메이션 */
}

.captions-pt a:hover {
  background-color: #2c3137; /* 배경색 변경 */
  color: #fff; /* 텍스트 색상을 흰색으로 변경 */
  border-color: #2c3137; /* 테두리 색상 유지 */
}

.image-item {
  text-align: center; /* 이미지를 가운데 정렬 */
  position: relative !important;
}

.image-item {
  text-align: center;
  margin-bottom: 10px;
  max-width: 100%;
}

.image-transition {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 비율로 설정. 필요에 따라 비율을 조정 */
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
}

.image-transition img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 6s infinite;
}

.image-transition img:first-child {
  animation-delay: 0s;
}

.image-transition img:last-child {
  animation-delay: 3s;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
/* 일반 이미지 스타일 */
.image-item img:not(.image-transition img) {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 1px solid #a4a3a3;
}

.module li:first-child {
  margin-bottom: 10px;
  font-weight: 700;
}

/* 아텍스 */

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.image-container {
  position: relative;
  text-align: left;
  color: white;
  margin-bottom: 50px;
}

.image-container::before {
  content: "";
  position: absolute;
  top: -5px; /* 이미지 위쪽에 붙도록 */
  left: 95%; /* 오른쪽 5% 위치 */
  width: 2.5%; /* 검은색 영역 */
  height: 5px;
  background-color: #0d1937; /* 검은색 */
}

.image-container::after {
  content: "";
  position: absolute;
  top: -5px; /* 이미지 위쪽에 붙도록 */
  left: 97.5%; /* 파란색 영역 시작점 */
  width: 2.5%; /* 파란색 영역 */
  height: 5px;
  background-color: #046cdb; /* 파란색 */
}

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

.logo-tecbug img {
  width: 200px;
  height: auto;
}

.text-overlay {
  position: absolute;
  bottom: 20px; /* 하단에서 약간 띄우기 */
  right: 20px; /* 오른쪽에서 약간 띄우기 */
}

.repair-text {
  color: #fff !important;
  font-size: 2rem !important; /* 필요에 따라 크기 조절 */
}
.text-overlay h1 {
  font-size: 4em;
  margin: 0;
  color: #0091dc;
}

.text-overlay h2 {
  font-size: 2em;
  margin-bottom: 50px !important;
  color: white;
  margin: 20px 0;
}

.text-overlay p {
  font-size: 0.8em;
  font-weight: 100;
  line-height: 1.5em;
  max-width: 450px;
  color: #e9ecef;
  /* text-align: justify; */
}
.text-overlay-bottom {
  position: absolute;
  bottom: 8%;
  left: 35%;
  transform: translate(-10%, -10%);
}

.text-overlay-bottom h1 {
  font-size: 0.8em;
  margin: 0;
  color: #000;
}

.color-black {
  color: black !important;
}
.hover-text:hover {
  color: #0464c9;
}

.img-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal {
  display: none; /* 기본적으로 숨김 */
  position: fixed; /* 화면에 고정 */
  z-index: 1000; /* 최상단에 배치 */
  left: 50%; /* 화면의 가로 중앙 */
  top: 50%; /* 화면의 세로 중앙 */
  transform: translate(-50%, -50%); /* 중앙에 위치 */
  width: 75%; /* 원하는 너비로 설정 (화면 너비의 90%) */
  height: 97%; /* 원하는 높이로 설정 (화면 높이의 90%) */
  background-color: rgba(0, 0, 0, 0.5); /* 어두운 오버레이 */
  overflow: hidden; /* 넘치면 스크롤이 되도록 처리 */
}

.modal-content {
  background-color: #fff;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #888;
  box-sizing: border-box;
  position: relative;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none; /* iframe에 border 없앰 */
}

.close {
  color: red;
  position: absolute;
  top: -2px;
  right: 5px;
  font-size: 36px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .sub-title {
    display: block !important;
  }
  .sub-p {
    margin: 0;
  }
  .sub-short {
    display: flex;
  }
}

@media (max-width: 1040px) {
  .module {
    flex: 1 1 100%; /* 한 줄에 하나씩 배치되도록 너비 100% 설정 */
    max-width: 100%; /* 최대 너비도 100%로 */
    margin: 10px 0; /* 상하 간격 조정 */
  }
}
