body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: black;
  color: white;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 5vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background: black url('img/pattern.png') center top/70%; 
  background-repeat: no-repeat;
  background-position: center; */
}

.navbar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center; /* 수직 중앙 정렬 */
  padding: 0 20px;
}

/* 이미지 요청 태그 디자인 */
.nav-left {
  display: flex;
  align-items: center;
}

.tag-link {
  display: inline-block; /* 추가! */
  padding: 8px 15px;
  background-color: #c1dbe3;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.2s ease;
  white-space: nowrap; /* 줄 바꿈 방지 */
}

.tag-link:hover {
  background-color: #aacbd5;
}

/* 회원가입, 로그인 버튼 디자인 */
.nav-buttons button {
  margin: 0 5px;
  padding: 10px 20px;
  background-color: #c1dbe3;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 10px; /* 둥글게 */
  transition: 0.2s ease;
}

.nav-buttons button:hover {
  background-color: #aacbd5;
}

/* 메인 화면에 있는 FITVERSE 디자인 */ 
.logo-container h1 {
  font-size: 18vw;
  color: white; /* 텍스트 색상 변경 */
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* 빛나는 효과 추가 */
}

.content {
  padding: 200px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.section-text {
  max-width: 2000px;
  text-align: center;
  color: #ff7833;
  line-height: 1.8;
  font-size: 1.1rem;
  transition: all 0.8s ;
  font-family: "Noto Sans KR", sans-serif;
}

.section-text h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.ani_text em{
  display: block;
  margin-top: 20px;
  color: #ff7833;
  font-style: italic;
  opacity: 0;
  transition: all 1s ;
  font-family: "Noto Sans KR", sans-serif;
}

.ani_text{
  font-size: 1vw;
  display: block;
  margin-top: 20px;
  color: #ccc;
  font-style: italic;
  opacity: 0;
  transition: all 1s ;
  font-family: "Noto Sans KR", sans-serif;
}

.ani_text_bf {
  opacity: 1;
}

.ani_text_bf em {
  opacity: 1;
}

.section-img {
  width: 300px;
  border-radius: 20px;
}

.footer {
  text-align: center;
  padding: 50px;
  background-color: #111;
}

/* fitvers_start */
.fitvers_start_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fitvers_start_content{
  padding: 200px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.start_btn {
  padding: 15vw 10vw;
  background-color: #c1dbe30a;
  border: 2px solid #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 5vw;
  border-radius: 100%; /* 둥글게 */
  transition: 0.2s ease;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 70px 15px rgba(255, 255, 255, 0.5); /* 빛샘 효과 추가 */
}

.start_btn:hover {
  background-color: #ffffff;
  color: black;
  box-shadow: 0 0 80px 20px rgba(255, 255, 255, 0.8); /* 호버 시 빛샘 효과 강조 */
}

/* Modal styles */
.modal.hidden {
  display: none;
}


/* 실제 회원가입 로그인 창 눌렀을 때의 모달 부분 */ 
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* 모달 스타일 코드 부분 여기서부터 */
.modal-content {
  position: relative;
  background: white;
  color: black;
  padding: 30px 40px;
  border-radius: 15px; /* 더 둥글게 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 300px;
  text-align: center;
}

.modal-content input {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 90%;
  border-radius: 8px; /* 입력창 둥글게 */
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 8px; /* 버튼 둥글게 */
  margin-top: 10px;
}
/* 여기까지 */

.head_btn{
  display: inline-block;
  padding: 8px 12px;
  background-color: #0a0a0a;
  border: 2px solid #ffffff;
  color: rgb(255, 255, 255);
  border-radius: 50px;
  transition: 0.2s ease;
  margin: 0px 15px;
  /* box-shadow: 0 0 70px 15px rgba(255, 255, 255, 0.5); */
}

.head_btn:hover {
  background-color: #ffffff;
  color: black;
  box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.8); /* 호버 시 빛샘 효과 강조 */
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
}

.section-banner-img1{
  width: 20%;
  height: auto;
  max-width: 500px;
  border-radius: 5vw;
  box-shadow: 0 0 70px 15px rgb(247, 247, 247);
}

.section-banner-img2{
  width: 20%;
  height: auto;
  max-width: 500px;
  border-radius: 5vw;
  box-shadow: 0 0 70px 15px rgba(16, 127, 255, 0.623);
}

/* 팀원 소개에 쓰이는 클래스 입니다잉 */
.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  font-family: "Noto Sans KR", sans-serif;
}

/* 각 팀원 카드 스타일 */
.member {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.3s ease;
}

.member:hover {
  transform: translateY(-8px);
}

/* 팀원 이미지 스타일 */
.member img {
  width: 200px;
  height: 250px;
  border-radius: 10%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 0px solid #000000;
  image-rendering: auto;
}

/* 이름 스타일 */
.member h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333333;
}

/* 역할 목록 스타일 */
.member ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member ul li {
  font-size: 0.95rem;
  color: #555555;
  margin: 5px 0;
}

main{
  height:400vh;
  overflow: clip;
}

.logo-container {
  width: 100%;
  float: left;
  overflow: hidden;
  position: sticky;
  height: 100vh; /* 화면 전체 높이 */
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 120px;
  transition: all 0.5s ease;
  color: #ffffff;
  z-index: 10;
}

.logo-container.zoomed {
  font-size: 300px; /* 최종 확대 크기 */
  color: #fff; /* 텍스트 색상 변경 */
  background-color: #000; /* 배경색 변경 */
  transition: all 0s ease; /* 부드러운 전환 */
}

.home_btn{
  text-align: center;
  padding: 15px 5%;
  background-color: #000000;
  border: 2px solid #ffffff;
  color: rgb(255, 255, 255);
  border-radius: 50px;
  transition: 0.2s ease;
  margin: 2% 90vh;
  font-size: 18px;
  display: flex;
  flex-direction: column;
}

.home_btn:hover {
  background-color: #ffffff;
  color: black;
  box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.8); /* 호버 시 빛샘 효과 강조 */
}
/* 이미지 합성 결과 섹션 스타일 */
.results-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.result-item {
  text-align: center;
  max-width: 300px;
}

.result-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.result-item img:hover {
  transform: scale(1.05);
}

.result-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ccc;
}

/* 반응형 디자인 추가 */
@media (max-width: 768px) {
  .section-text {
    font-size: 1rem;
    padding: 10px;
  }

  .section-text h2 {
    font-size: 2rem;
  }

  .team {
    flex-direction: column;
    align-items: center;
  }

  .member img {
    width: 95%;
    height: auto;
  }

  .section-banner-img1{
    width: 80%;
    height: auto;
    max-width: 300px;
    border-radius: 15vw;
    box-shadow: 0 0 40px 10px rgb(247, 247, 247);
  }

  .logo-container.zoomed {
    font-size: 300px; /* 최종 확대 크기 */
    color: #000000; /* 텍스트 색상 변경 */
    background-color: #000; /* 배경색 변경 */
    transition: all 0.5s ease; /* 부드러운 전환 */
  }
  
  .section-banner-img2{
    width: 80%;
    height: auto;
    max-width: 300px;
    border-radius: 15vw;
    box-shadow: 0 0 40px 10px rgba(16, 127, 255, 0.623);
  }

  .ani_text em{
    display: block;
    margin-top: 20px;
    color: #ff7833;
    font-style: italic;
    opacity: 0;
    transition: all 1s ;
    font-family: "Noto Sans KR", sans-serif;
  }
  
  .ani_text{
    font-size: 2.8vw;
    display: block;
    margin-top: 20px;
    color: #ccc;
    font-style: italic;
    opacity: 0;
    transition: all 1s ;
    font-family: "Noto Sans KR", sans-serif;
  }
  
  .ani_text_bf {
    opacity: 1;
  }
  
  .ani_text_bf em {
    opacity: 1;
  }

  .member {
    background-color: #ffffff;
    border-radius: 55px;
    box-shadow: 0px 0px 0px rgb(255, 255, 255);
    width: 250px;
    text-align: center;
    padding: 25px 20px;
    transition: transform 0.3s ease;
  }

  .logo-container {
    font-size: 10vw;
    padding: 0px 0;
  }

  .start_btn {
    font-size: 4vw;
    padding: 10vw 8vw;
  }
}

/* 추가적인 모바일 스타일 */
@media (max-width: 480px) {
  .section-text {
    font-size: 0.9rem;
  }

  .section-text h2 {
    font-size: 1.8rem;
  }

  .member h3 {
    font-size: 1.3rem;
  }

  .member ul li {
    font-size: 0.85rem;
  }

  .logo-container {
    font-size: 8vw;
  }

  .start_btn {
    font-size: 3.5vw;
    padding: 8vw 6vw;
  }
}