/* 초기 세팅 */
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: 'Nanum Gothic', sans-serif;
  overflow: hidden;
  background-color: white;
  color: black;
}

/* 로고 */
#mainLogo {
  font-weight: bold;
  font-size: 16.5vw; /* 세로모드 기준 */
  text-align: center;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(-10px);
  animation: logoFadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
  white-space: normal !important;
  color: black;
}

#mainLogo br {
  display: inline !important;
}

/* 애니메이션 */
@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 전체 레이아웃 */
#layoutWrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

#leftPane, #rightPane {
  width: 100%;
}

/* 가로모드 대응 */
@media (min-aspect-ratio: 1/1) {
  #layoutWrapper {
    flex-direction: row;
  }

  #leftPane, #rightPane {
    width: 50%;
    height: 100%;
  }

  .main-logo {
    font-size: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mainLogo {
    font-size: inherit;
    white-space: normal !important;  /* ← 항상 줄바꿈 허용 */
  }

  #mainLogo br {
    display: inline !important;
  }

  #rightPane {
    background-color: #f2f2f2;
  }
}

/* 다크모드 강제 무시 */
@media (prefers-color-scheme: dark) {
  html, body {
    background-color: white !important;
    color: black !important;
  }

  #mainLogo {
    color: black !important;
  }
}
