* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
img {
    max-width: 100%; /* 부모 요소의 너비를 넘지 않음 */
    width: auto; /* 이미지의 기본 너비를 유지 */
    height: auto; /* 비율을 유지하며 크기 조정 */
    min-width: 100px; /* 최소 너비 설정 * << 이거 건드리면 작아짐*/
    object-fit: contain; /* 이미지가 왜곡되지 않도록 설정 */
    display: block; /* 불필요한 여백 제거 */
    margin: 0 auto; /* 이미지 가운데 정렬 */
        min-width: unset; /* 최소 너비 제한 해제 */
        will-change: transform, opacity;
transform: translateZ(0);
backface-visibility: hidden;
}

video, .animated {
  will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

.fade-in {
  will-change: transform, opacity;
  opacity: 0;
   transform: translateY(30px);
}
/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
/*--------------------------------- Font ---------------------------- */

h3 {
  color: #333;
  margin: 0;
  text-align: center; /* 중앙 정렬 */
  font-weight: 600;; /* 기본 두께로 설정 */
  font-size: 1.2rem;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

h4 {
  margin-bottom: 1rem;
  font-weight: 600; /* 기본 두께로 설정 */
  font-size: 1rem;
  color: #555;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

p {
  font-size: .9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

a{
  font-family: 'Montserrat', sans-serif; /* 제목에 Montserrat 폰트 적용 */
}
/*--------------------------------- Font ---------------------------- */
.parallax {
    position: relative;  /* 부모 요소는 relative */
    overflow: hidden;  /* 불필요한 튕김 방지 */
    width: 100%;
    height: auto; /* 높이를 자동으로 조정 */
    min-height: 300px; /* 최소 높이 지정 (이미지가 안 보이는 경우 대비) */
}

.parallax img {
    position: relative;  /* 기존 absolute에서 relative로 변경 */
    width: 100%;
    height: auto;
    display: block;  /* inline 요소로 인한 여백 제거 */
    transform: translateY(0);  /* 초기 위치 */
}


.fade-in-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;  /* 흰색 배경 */
    z-index: 9999;  /* 모든 요소 위에 위치 */
    opacity: 1;  /* 처음에는 완전히 보임 */
    transition: opacity 0.6s ease-in-out;  /* 페이드 아웃 효과 */
    pointer-events: none;  /* 클릭 방지 */
}

/*------------------------------ Header ------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease; /* 부드러운 이동 효과 */
}

/* 헤더 숨김 상태 */
.header.hidden {
    transform: translateY(-100%); /* 위로 숨김 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

header h1 a {
    text-decoration: none;
    color: #7d7d7d;
    font-weight: 900;
    letter-spacing: -3.5px;
    transition: color 0.3s;
}

header h1 a:hover {
    color: #555;
}

header nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #ccc;
    font-weight: normal;
    transition: color 0.3s, font-weight 0.3s;
}

/* 활성화된 상태 */
header nav a.active {
    color: #000;
    font-weight: bold;
}

header nav a:hover {
    color: #555;
}
/*------------------------------ Header ------------------------------ */



/*-----------------------------01.Main_Intro-----------------------------*/
.container-intro{

 align-items: center;
 max-width: 900px;
 margin: 0 auto;
}

    .intro-section {
      flex-direction: row;
      justify-content: space-between; /* 좌우 정렬 */
      align-items: center;
      text-align: center;
      gap: 1rem;
  }

  .intro-section .left {
      flex: 1;
      max-width: 100%;
  }

  .intro-section .title-image {
         max-width: 80%; /* 작은 화면에서 Left 로고 크기 조정 */
         min-width: 100px; /* 최소 너비 설정 */
     }

     .intro-section .right img {
         max-width: 60%; /* 작은 화면에서 Right 로고 크기 조정 */
         min-width: 80px; /* 최소 너비 설정 */
     }

  .intro-section .project-details {
      text-align: left;
  }

/* Intro 섹션의 이미지만 크기 제한 */
.intro img {
    max-width: 70%; /* 부모 요소의 70% 너비로 제한 */
    height: auto; /* 비율 유지 */
}


/* Intro Section Styling */
.intro-section {
  display: flex;  /* 내부 요소(.left, .right)를 가로 정렬 */
  flex-direction: row;  /* 가로 방향 배치 */
  justify-content: space-between;  /* 좌우 끝으로 배치 */
    align-items: flex-start;
    gap: 3rem; /* 좌우 간격 증가 */
    margin: 3rem 0;
    padding: 0 1.5rem; /* 양옆 여백 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

.intro-section .left {
    max-width: 600px; /* 최대 너비 제한 */

}

.intro-section .title-image {
    max-width: 22%; /* Left 로고 크기 */
    text-align: left; /* 왼쪽 정렬 */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem; /* 로고와 설명 사이 간격 증가 */
}

.intro-section .description_left {
    max-width: 500px; /* 설명의 최대 너비 */
    margin: 0 auto; /* 수평 가운데 정렬 */
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left; /* 텍스트 중앙 정렬 */

}

.intro-section h3 {
font-size: 1.0rem;
line-height: 1.5; /* 줄 간격 */

}

.intro-section .right {
  width: auto; /* 내용물 크기에 맞춤 */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 왼쪽 정렬 */
      max-width: 200px; /* 최대 너비 제한 */
}

.intro-section .right img {
    max-width: 70%; /* Right 로고 크기 */
    height: auto;
    margin-top: 6.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -.5rem; /* 로고와 설명 사이 간격 */
}

.intro-section .description_right {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0; /* 위쪽에 여백 추가 */
  line-height: 2; /* 줄 간격 */
  color: #555; /* 텍스트 색상 */
  font-size: .9rem; /* 글자 크기 */
  font-weight: 600;
  max-width: 140px;
  text-align: left; /* 텍스트 중앙 정렬 */
}
/*-----------------------------01.Main_Intro-----------------------------*/
/*------------------------------ 02.Main_Background-------------------------*/
/* 전체 배경을 화면 전체에 맞춤 */
.background-section {
  background-color: #f9f9f9; /* 얕은 회색 배경 */
  padding: 2rem 1rem; /* 위아래 여백 */
  margin-top: 4rem; /* intro랑 띄우기 */
  width: 100%; /* 가로 전체 채우기 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background Title */
.background-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333; /* 제목 색상 */
  margin-bottom: : 25rem; /* 상단 여백 */

}

/* Background Content */
.background {
  display: flex;
  justify-content: center; /* 중앙 정렬 */
  align-items: center;
  gap: 6rem; /* 사람 화살표사이 거리 */
  margin-top: 2rem; /* 상단 여백 */
}

.background-title {
  margin-top: 2rem;
}

/* Population Statistics */
.population-statistics {
  display: flex;
  flex-direction: column; /* 세로 정렬 */
  align-items: center; /* 수평 중앙 정렬 */
  gap: 1rem; /* 아이콘과 텍스트 간격 */
  width: 30%;
}

/* 사람 아이콘 스타일 */
.people-icons {
  display: flex;
  justify-content: center;
  gap: 1rem; /* 아이콘 간격 */
}

/* 공통 스타일: 사람 아이콘 */
.person {
  position: relative;
  width: 24px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* 공통 스타일: 머리 (원) */
.person::before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%; /* 원형 */
  position: absolute;
  top: 0;
}

/* 공통 스타일: 몸통 (반원) */
.person::after {
  content: '';
  width: 24px;
  height: 12px;
  border-radius: 12px 12px 0 0; /* 반원을 뒤집음 */
  position: absolute;
  top: 15px;
}

/* 왼쪽 사람 아이콘만 주황색 */
.person-highlighted::before,
.person-highlighted::after {
  background-color: #ff7f0e; /* 주황색 */
}

/* 오른쪽 사람 아이콘들은 기본 회색 */
.person:not(.person-highlighted)::before,
.person:not(.person-highlighted)::after {
  background-color: #ddd; /* 기본 회색 */
}

/* Population Text */
.population-text,
.growth-text {
  line-height: 1.5; /* 줄 간격 통일 */
  text-align: center;
}

.population-text h3,
.growth-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2; /* 제목 줄 간격 */
}

.population-text p,
.growth-text p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4; /* 본문 줄 간격 */

}


/* Growth Statistics */
.growth-statistics {
  display: flex;
  flex-direction: column; /* 세로 정렬 */
  align-items: center; /* 수평 중앙 정렬 */
  gap: 3.4rem; /* 화살표와 텍스트 간격 */
  width: 20%;
}



/* 화살표 컨테이너 */
.arrow {
  position: relative;
    top: 30px; /* 화살표를 아래로 10px 이동 */
  width: 120px; /* 화살표 길이 */
  height: 2px; /* 선 두께 */
  background-color: #ff7f0e; /* 선 색상 */
  transform: rotate(-20deg); /* 20도 회전 */
  transform-origin: left center; /* 시작점 기준 */
  margin: 0 auto;
  margin-bottom: : -20px auto 0 auto; /* 위로 조금 내려서 글자와 간격 조정 */

}

/* 화살표 머리 */
.arrow::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 50%; /* 선 중심에 맞춤 */
  right: 0; /* 오른쪽 끝에 배치 */
  transform: translate(50%, -50%); /* 중심 맞춤 */
  border-left: 10px solid #ff7f0e; /* 화살표 머리 색상 */
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* 설명 텍스트 스타일링 */
.background-description {
  text-align: center; /* 텍스트 가운데 정렬 */
  margin-top: 3rem; /* 위쪽 여백 */
  max-width: 50%; /* 텍스트 너비 제한 */
  margin-left: auto;
  margin-right: auto; /* 수평 가운데 정렬 */
  line-height: 1.6; /* 줄 간격 */
  width: 500px;

}
/*------------------------------ 02.Main_Background-------------------------*/
/*------------------------------ 03.Main_accesibility-------------------------*/
/* 섹션 전체 스타일 */
/* 🔹 배경이 가로 전체를 채우도록 설정 */
.accessibility-section {
    width: 100%; /* 전체 화면 가로폭 */
    background-color: #f9f9f9; /* 연한 회색 배경 */
    padding: 3rem 0; /* 위아래 여백 추가 */
    display: flex;
    justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
}

/* 🔹 내부 콘텐츠는 1000px 제한 유지 */
.accessibility-content {
    max-width: 900px; /* 콘텐츠는 1000px 유지 */
    width: 100%;
    text-align: center;
}

/* 🔹 제목 스타일 */
.accessibility-title {
  margin-top: 5rem;
    margin-bottom: 2rem;
}

/* 🔹 네 개의 이미지 배치 컨테이너 */
.accessibility-container {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
}

/* 🔹 개별 이미지 및 텍스트 */
.accessibility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

/* 🔹 이미지 스타일 */
.accessibility-item img {
    width: 100%;
    height: auto;
}

/* 🔹 설명 텍스트 */
.accessibility-item p {
    margin-top: 0.5rem;
    text-align: center;
    max-width: 90%;
}

/*------------------------------ 03.Main_accesibility-------------------------*/
/*------------------------------ 04.Main_inspo-------------------------*/
/* 🔹 섹션 전체 스타일 */
/* 🔹 섹션 전체 스타일 */
/* 🔹 섹션 전체 스타일 */
.inspiration-section {
    width: 100%;
    display: flex;
    justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
    padding: 3rem 0;
    margin-top: 3rem;
}

/* 🔹 컨테이너: 최대 900px */
.inspiration-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    align-items: center;
    gap: 4rem;
    justify-content: space-between; /* ✅ 좌측 텍스트, 우측 이미지 정렬 */
}

/* 🔹 좌측 텍스트 스타일 */
.inspiration-text {
    width: 40%;
    text-align: left; /* ✅ 좌측 정렬 */
}

.inspiration-text h3 {
    margin-bottom: 1rem;
    text-align: left; /* ✅ 좌측 정렬 */
}

.inspiration-text p {
    text-align: left; /* ✅ 좌측 정렬 */
}

/* 🔹 우측 이미지 스타일 */
.inspiration-image {
    width: 55%;
    display: flex;
    justify-content: flex-end; /* ✅ 이미지 우측 정렬 */
}

.inspiration-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}
/*------------------------------ 04.Main_inspo-------------------------*/
/*------------------------------ 05.Main_Checklist-------------------------*/
.check {
    padding: 5rem 0rem 0rem 0rem; /* 섹션 상하좌우 여백 */
    margin-top: 1rem;
}

.check-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    gap: 2rem; /* 요소 간의 간격 */
}


.check-image-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* 이미지 최대 너비 */

}

.check-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */
    margin-bottom: 1.5rem;
}

.check-text-content {
    max-width: 700px; /* 텍스트 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
    margin: 0;
}



.check-text-content p{

    margin-bottom: -3rem;
}

/*------------------------------ 05.Main_Checklist-------------------------*/
/*-----------------------------06.Main_Formfactor-------------------------------*/
.formfactor {
    padding: 7rem; /* 섹션 상하좌우 여백 */
}

.formfactor-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
}


.formfactor-image-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* 이미지 최대 너비 */

}

.formfactor-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */

}

/*-----------------------------06.Main_Formfactor-------------------------------*/
/*---------------------------07.Main_sktch--------------------------*/
.sketch {
    padding: 4rem 0rem 0rem 0rem; /* 섹션 상하좌우 여백 */
    background-color: #f9f9f9; /* 연한 회색 배경 */
}

.sketch-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    gap: 1rem; /* 요소 간의 간격 */
}


.sketch-image-container {
    position: relative;
    width: 100%;
    max-width: 1100px; /* 이미지 최대 너비 */

}

.sketch-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */
    margin-bottom: -1rem;
}

.sketch-text-content {
    max-width: 700px; /* 텍스트 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
    margin: 0;
}

.sketch-text-content p{

    margin-bottom: .4rem;
}

/*---------------------------07.Main_sketch--------------------------*/
/*---------------------------08.Main_usertest--------------------------*/
/* User Testing Section */
.testing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 0rem 1.5rem 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9; /* 연한 회색 배경 */

}

/* 이미지 스타일 */
.testing-image img {
    width: 100%;
    max-width: 700px; /* 이미지 최대 너비 */
    height: auto;
    margin-top: -2rem;
}

/* 텍스트 컨텐츠 스타일 */
.testing-content {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* 제목 스타일 */
.testing-content h3 {
    margin-bottom: 1rem;
}

/* 일반 텍스트의 최대 너비를 600px로 제한 */
.testing-content p:not(.testing-box p) {
    max-width: 530px;
    margin: 0 auto; /* 가운데 정렬 */
    line-height: 1.6;
}

/* 주황색 박스 */
.testing-box {
    background-color: #f6b889; /* 연한 주황색 */
    padding: 1rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    max-width: 700px;
    margin : 1.5rem;
}

/*---------------------------08.Main_usertest--------------------------*/
/*---------------------------09.Main_Final-Design--------------------------*/
.Final-design {
    padding: 5rem 0rem 0rem 0rem; /* 섹션 상하좌우 여백 */
}

.Final-design-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    gap: 2rem; /* 요소 간의 간격 */
}


.Final-design-image-container {
    position: relative;
    gap: 0px 3px 0px 0px; /* 이미지 간 간격 설정 */
    width: 100%;
    max-width: 1200px; /* 이미지 최대 너비 */

}

.Final-design-image-container2 {
    position: relative;
    gap: 0px 3px 0px 0px; /* 이미지 간 간격 설정 */
    width: 100%;
    max-width: 1200px; /* 이미지 최대 너비 */
    margin-bottom: 2rem;

}

.Final-design-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */
    margin-bottom: .4rem;
}

.Final-design-text-content {
    max-width: 700px; /* 텍스트 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
    margin: 0;
}

.Final-design-text-content p{

    margin-bottom: .4rem;
}

/*---------------------------09.Main_Final-Design--------------------------*/
/*------------------------------ 10.Main_detail-------------------------*/
/* 🔹 섹션 전체 스타일 */
/* 🔹 섹션 전체 스타일 */
/* 🔹 섹션 전체 스타일 */
.detail-section {
  background-color: #f9f9f9; /* 얕은 회색 배경 */
    width: 100%;
    display: flex;
    justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
    padding: 5rem 0;
    margin-top: 3rem;
}

/* 🔹 컨테이너: 최대 900px */
.detail-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    align-items: flex-flex-start;
    gap: 4rem;
    justify-content: space-between; /* ✅ 좌측 텍스트, 우측 이미지 정렬 */
}

/* 🔹 좌측 텍스트 스타일 */
.detail-text {
    width: 31%;
    text-align: left; /* ✅ 좌측 정렬 */
}

.detail-text h3 {
    margin-bottom: 1rem;
    text-align: left; /* ✅ 좌측 정렬 */
}

.detail-text p {
    text-align: left; /* ✅ 좌측 정렬 */
}

/* 🔹 우측 이미지 스타일 */
.detail-image {
    width: 55%;
    display: flex;
    justify-content: flex-end; /* ✅ 이미지 우측 정렬 */

}

.detail-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}
/*------------------------------ 10.Main_detail-------------------------*/
/*------------------------------ 11.Main_tech-------------------------*/
/* 섹션 전체 스타일 */
/* 🔹 배경이 가로 전체를 채우도록 설정 */
.tech-section {
    width: 100%; /* 전체 화면 가로폭 */
    display: flex;
    justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
}

/* 🔹 내부 콘텐츠는 1000px 제한 유지 */
.tech-content {
    max-width: 900px; /* 콘텐츠는 1000px 유지 */
    width: 100%;
    text-align: center;
}

/* 🔹 제목 스타일 */
.tech-title {
  margin-top: 5rem;
    margin-bottom: 2rem;
}

/* 🔹 네 개의 이미지 배치 컨테이너 */
.tech-container {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
}

/* 🔹 개별 이미지 및 텍스트 */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

/* 🔹 이미지 스타일 */
.tech-item img {
    width: 100%;
    height: auto;
}

/* 🔹 설명 텍스트 */
.tech-item p {
    margin-top: 0.3rem;
    text-align: center;
    max-width: 92%;
    font-style: italic;
}

.tech-text {
    max-width: 670px;
    text-align: center; /* ✅ 텍스트 중앙 정렬 */
    margin: 4.5rem auto 0 auto; /* ✅ 가운데 정렬 추가 */
}

.tech-screen{
  max-width: 800px;
      margin: 3rem auto 0 auto; /* ✅ 가운데 정렬 추가 */
      margin-bottom: 5rem;
}
/*------------------------------ 11.Main_tech-------------------------*/
/*---------------------------12.Main_app--------------------------*/
.app {
    padding: 4rem 0rem 0rem 0rem; /* 섹션 상하좌우 여백 */
    background-color: #f9f9f9; /* 연한 회색 배경 */

}

.app-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    gap: 1rem; /* 요소 간의 간격 */
}


.app-image-container {
    position: relative;
    width: 100%;
    max-width: 1100px; /* 이미지 최대 너비 */

}

.app-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */
    margin-bottom: -1rem;
}

.app-text-content {
    max-width: 700px; /* 텍스트 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
    margin: 0;
}

.app-text-content p{

    margin-bottom: .4rem;
}

.typing-effect {
    font-size: 2rem;
    font-style: italic; /* 🔹 이탤릭체 적용 */
    font-weight: 400;
    text-align: center; /* 중앙 정렬 */
    color: #333;
    white-space: nowrap;
    overflow: visible; /* 🔹 잘리는 문제 해결 (기존: hidden) */
    display: inline-block;
    width: auto; /* 🔹 자동 너비 설정 */
    max-width: 100%; /* 🔹 부모 요소를 넘어가지 않도록 설정 */
    padding: 10px; /* 🔹 좌우 여백 추가 */
    margin-top: 3rem;
    margin-bottom: 5rem;
}

/* 커서 효과 */
.typing-effect::after {
    content: "|";
    display: inline-block;
    width: 5px;
    margin-left: .1px;
    opacity: 1;
    animation: blink 0.8s infinite;
}

/* 깜빡이는 효과 */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/*---------------------------12.Main_app--------------------------*/
/*---------------------------BacktoMain--------------------------*/
/* 섹션 정렬 */
.back-to-home {
    display: flex;
    justify-content: center;
    align-items: center;
padding-top: 4rem;
    background-color: #f9f9f9; /* 연한 회색 배경 */
    text-align: center; /* 가운데 정렬 */

}

/* 정사각형 프레임 */
.grid-icon {
    width: 44px; /* 20px + 20px + 3px 간격 */
    height: 44px; /* 정사각형 프레임 */
    display: grid;
    grid-template-columns: 20px 20px;
    grid-template-rows: 20px 20px;
    gap: 1px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* 네모 기본 스타일 */
.square {
    background-color: #b0b0b0;
    border-radius: 2px;
    transition: height 0.3s ease-in-out;
    position: absolute;
}

/* 초기 네모 크기 및 위치 */
.square-1 { width: 20px; height: 25px; top: 0; left: 0; }  /* 좌측 위 */
.square-2 { width: 20px; height: 15px; top: 0; right: 0; }   /* 우측 위 */
.square-3 { width: 20px; height: 15px; bottom: 0; left: 0; } /* 좌측 아래 */
.square-4 { width: 20px; height: 25px; bottom: 0; right: 0; } /* 우측 아래 */

/* 🟢 호버 시 길이만 변경 (위치는 유지됨) */
.grid-icon:hover .square-1 { height: 15px; }   /* 좌측 위 → 작아짐 */
.grid-icon:hover .square-2 { height: 25px; }  /* 우측 위 → 길어짐 */
.grid-icon:hover .square-3 { height: 25px; }  /* 좌측 아래 → 길어짐 */
.grid-icon:hover .square-4 { height: 15px; }   /* 우측 아래 → 작아짐 */

/* 호버 시 색상 변경 */
.grid-icon:hover .square {
    background-color: #ff7f0e; /* 어두운 회색 */
}

/*---------------------------BacktoMain--------------------------*/


/* Footer */
footer {
  background-color: #f9f9f9; /* 연한 회색 배경 */
  padding: 4rem 2rem 0.5rem 2rem; /* 아래쪽 패딩 조정 */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #333;
    letter-spacing: -1.3px;
}
