@charset "utf-8";
/* CSS Document */
body { 
  font-family: "Noto Sans KR", sans-serif;
}

.app {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h1 { 
  text-align: center;
  margin-bottom: 2rem;
  color: #1B6806;
}

  .result {
    border: 2px solid #007100; /* 테두리 라인 설정 */
    padding: 20px; /* 내부 여백 설정 */
    border-radius: 10px; /* 테두리 모서리 둥글게 설정 */
  }

.question { 
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.answers { 
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hidden {
  display: none;
}

.answer-button {
  padding: 10px 20px;
  background-color: #398801;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.answer-button:hover {
  background-color: #41BD5A;
}

    .result-img-container {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .result-img {
      max-width: 100%;
      height: auto;
    }


/* 다른 테스트하기 스타일 */
.back-to-main {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 40px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 6px;
  background-color: #106298;
  transition: background-color 0.3s;
}

/* 카카오톡 공유 버튼 중앙 정렬 */
.kakao-sharing-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 광고 영역 중앙 정렬 */
.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

    /* 모바일 기기에 대한 대응 */
    @media screen and (max-width: 767px) {
      .result-img {
        max-width: 100%;
        height: auto;
      }
    }