* {
  font-family: "Jua", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

#logo {
  border-radius: 0.625rem;
  width: 128px;
  height: 128px;
}

#version {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  margin-top: -10px;
  font-weight: normal;
  font-style: italic;
}

.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.disclaimer {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin-top: 30px;
  text-align: center;
  width: 100%;
}

h1 {
  color: #333;
  margin-bottom: 15px;
  font-size: 2rem;
}

h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

#start-screen {
  text-align: center;
}

#start-screen h2 {
  margin: 20px;
}

#question-container {
  background-color: #f4f4ff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

#question-number {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

#question {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 15px;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button {
  background-color: #a8d5e8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background-color: #7ab5d8;
}

#result {
  background-color: #f0f8e0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

#mbti-result {
  font-size: 2rem;
  font-weight: bold;
  color: #2a643d;
  margin-bottom: 10px;
}

#mbti-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.2;
}

#copyright {
  font-size: 0.7rem;
  color: #888;
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

#copyright a {
  color: inherit;
  text-decoration: none;
}

#progress-bar-container {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background-color: #a8d5e8;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
    width: 95%;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  #question-container {
    padding: 10px;
  }

  #question {
    font-size: 1.1rem;
  }
}

.version-select {
  margin-bottom: 15px;
  text-align: center;
}

.version-select input[type="radio"] {
  margin-right: 5px;
}

.version-select label {
  margin-right: 15px;
  cursor: pointer;
}
