html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* 헤더 */
.header {
  width: 100%;
  height: 10%;
  background-color: cadetblue;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: relative;
}

.title-container {
  display: flex;
  align-items: center;
  margin-left: 3%;
}

.title-icon {
  width: 2vw;
  border-radius: 10px;
  margin-right: 5%;
  object-fit: contain;
}

.title-text {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
}

.header-nav {
  display: flex;
  gap: 10px;
  margin-right: 5%;
}

.header-nav .pcOnly {
  padding: 8px 16px;
  background-color: teal;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
}

.header-nav button:hover {
  background-color: #0b5b5a;
  transform: translateY(-2px);
}

/* 메인 콘텐츠 */
.section {
  height: 80vh;
  background-color: #ffffff;
  position: relative;
}

/* 푸터 */
.footer {
  width: 100%;
  height: auto;
  background-color: #343a40;
  color: #ffffff;
  clear: both;
  display: flex;
  justify-content: left;
  position: relative;
  z-index: 100;
}

.footer > section {
  margin-left: 2%;
}

.footer > section > h4 {
  font-size: 1.2rem;
}

.footer > section > p {
  font-size: 0.8rem;
}

/* 모바일 모달 버튼 스타일 */
.mobile-modal-open-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  margin-right: 5%;
}

.mobile-modal-open-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 2px 0;
}

.mobile-modal-main-button,
.mobile-modal-about-button {
  flex: 1 auto;
  width: 80%;
  padding: 3% 0;
  align-items: center;
  background-color: #20c997;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 3.5rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.mobile-modal-main-button:hover,
.mobile-modal-about-button:hover {
  background-color: #17a589;
  color: black;
}

.mobile-modal {
  background: white;
  height: 25%;
  width: 100%;
  padding: 5%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  gap: 5%;
}

.mobile-modal-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* 모바일 반응형 */
@media screen and (max-width: 959px) {
  .mobile-modal {
    flex-direction: column;
    align-items: center;
    gap: 2vh;
  }

  .mobile-modal-main-button,
  .mobile-modal-about-button {
    max-width: 50%;
    width: 50%;
  }

  .pcOnly {
    display: none;
  }

  .title-icon {
    display: none !important;
  }

  .title-text {
    font-size: 1.4rem;
  }
}
